Users online right now: 120 - Login  » search  » forum index  

Problem with slax installation

michi78
wrote 4 years ago


reply
Dear all,
I'm sorry for my english, but I need to solve a problem.

I tried to install slax, after I unpacked slax for USB (.tar) I went in /boot/ directory and I run bootinst.sh. This is the result:

Michela@kubuntu:~/Documenti_linux/boot$ sh bootinst.sh
Can't find device to install to.
Make sure you run this script from a mounted device.

I tried with this command, too:

Michela@kubuntu:~/Documenti_linux/boot$ ./bootinst.sh
Can't find device to install to.
Make sure you run this script from a mounted device.

but the result is the same.

What can I do to install slax? Someone can help me, please?

Thank you
michi
 
fundamental
wrote 4 years ago


reply
Can't find device to install to.
Make sure you run this script from a mounted device.


Judging by the looks of your setup this response is valid.
1) Do you have a usb device inserted into the computer?
2) Where is it mounted? (guessing not to ~/Documenti_linux )

You will want to have a device mounted (in your system it should end up being at something like /media/LABEL/ ).
You will want to extract the tar to that location.
You will want to (as root if I remember correctly (you can become root with su )) then execute the bootinst.sh file from the boot directory created by extracting the tar to the device.
 
michi78
wrote 4 years ago


reply
There's something that I don't understand.
I have to install slax because I want to use airdump. As indicated (http://www.gnukhole.com/2008/05/16/aircrack-ng-con-una-scheda-wireless-intel-3945-abg/) the Intel PRO/Wireless 3945ABG card can't be setting at "Mode Monitor", so I have to replace the divers with that supplied from aircrack-ng website (ipwraw-ng). When I run the commands there are many errors:

Michela@kubuntu:~/Documenti_linux$ tar -xjf ipwraw-ng-2.3.4-04022008.tar.bz2
Michela@kubuntu:~/Documenti_linux$ cd ipwraw-ng
Michela@kubuntu:~/Documenti_linux/ipwraw-ng$ make

WARNING: $SHELL not set to bash.
If you experience build errors, try
'make SHELL=/bin/bash'.

make -C /lib/modules/2.6.22-14-generic/build M=/home/Michela/Documenti_linux/ipwraw-ng modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'

WARNING: $SHELL not set to bash.
If you experience build errors, try
'make SHELL=/bin/bash'.

CC [M] /home/Michela/Documenti_linux/ipwraw-ng/ipwraw.o
/home/Michela/Documenti_linux/ipwraw-ng/ipwraw.c:43:27: error: net/ieee80211.h: Nessun file o directory
/home/Michela/Documenti_linux/ipwraw-ng/ipwraw.c:44:36: error: net/ieee80211_radiotap.h: Nessun file o directory
...

So I try with this http://forums.remote-exploit.org/showthread.php?t=7260. But to use the command lzm2dir I need slax. Is this the same prblem as above? I don't run the commands in the right place?

My usb devices are mounted in /dev/bus/usb (001, 002, 003, 004, 005, 006, 007). I have to extract the tar in /dev/bus/usb? Or in /dev/bus/usb/001? Or in which other location?

If it can be usefull, I connect to internet with the ONDA TIM USB modem (model: MT503HS), but I don't know exactly which device I use.

Can you help me please?
Michela
 
fundamental
wrote 4 years ago


reply
1) You really should try to tackle one problem at a time (get Slax running, then make modules).
2) Once inside of a running Slax there is a chance the command will run properly or you can follow the advice ofWARNING: $SHELL not set to bash.
If you experience build errors, try
'make SHELL=/bin/bash'.
 
michi78
wrote 4 years ago


reply
fundamental wrote:
1) You really should try to tackle one problem at a time (get Slax running, then make modules).
2) Once inside of a running Slax there is a chance the command will run properly or you can follow the advice ofWARNING: $SHELL not set to bash.
If you experience build errors, try
'make SHELL=/bin/bash'.




I can't understand if slax running:

root@kubuntu:/dev/bus/usb/boot# ./bootinst.sh
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Welcome to Slax boot installer
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This installer will setup disk udev to boot only Slax.

Press any key to continue, or Ctrl+C to abort...



Flushing filesystem buffers, this may take a while...
Setting up boot record for udev...
./bootinst.sh: line 61: ./boot/syslinux/syslinux: Nessun file o directory
root@kubuntu:/dev/bus/usb/boot#

I think Slax dosn't run. i try to run the command

lzm2dir ipraw-ng.lzm /

but the result is always the same:

-su: lzm2dir: command not found

Which is the problem? what can i do?
Help me, please!
 
fundamental
wrote 4 years ago


reply
Try running ./boot/bootinst.sh from /dev/bus/usb/
 
michi78
wrote 4 years ago


reply
fundamental wrote:
Try running ./boot/bootinst.sh from /dev/bus/usb/


The result is:

root@kubuntu:/dev/bus/usb# ./boot/bootinst..sh
-su: ./boot/bootinst..sh: Nessun file o directory

:((
 
fundamental
wrote 4 years ago


reply
you typed it wrong according to your post

./boot/bootinst..sh is not ./boot/bootinst.sh
 
michi78
wrote 4 years ago


reply
fundamental wrote:
you typed it wrong according to your post

./boot/bootinst..sh is not ./boot/bootinst.sh


You are right! But the result is the same:


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Welcome to Slax boot installer
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This installer will setup disk udev to boot only Slax.

Press any key to continue, or Ctrl+C to abort...





Flushing filesystem buffers, this may take a while...
Setting up boot record for udev...
./boot/bootinst.sh: line 61: ./boot/syslinux/syslinux: Nessun file o directory
root@kubuntu:/dev/bus/usb#


uff uff!
 
khronos one
wrote 4 years ago


reply
i have the same problem. downloaded the USB version, copied into the device, and run bootinst.sh :

khro-debianized:/media/1GB KHRO/boot# ls
bootinst.bat dos liloinst.sh slax.png vmlinuz
bootinst.sh initrd.gz mt86p syslinux
chain.c32 isolinux slax.cfg vesamenu.c32
khro-debianized:/media/1GB KHRO/boot# ./bootinst.sh
Can't find device to install to.
Make sure you run this script from a mounted device.
khro-debianized:/media/1GB KHRO/boot#

what's the solution? ^^
 
anang
wrote 4 years ago


reply
Mine solved with change the flashdisk label. previously it contain a space. After I removed the space, the bootinst.sh worked.
 
Sam
wrote 4 years ago


reply
Please Help
I'm trying to install Slax from a MP3 Player as the web site says its possible.
I have downloaded the TAE file and extracted it to my MP3 player. I can't make the bootinst.sh executable from properties so instead I'm trying to run it from a terimal.
I am logged in as root.
i type in: cd /media/MP3_Player/boot - and I get that far OK. But when I type ./bootinst.sh i get:
bash: ./bootinst.sh: Permission denied

I have tried the same to SD card. What am I doing wrong?

Thanks in advance
Sam
 
fundamental
wrote 4 years ago


reply
You could try to use 'sh ./bootinst.sh' , as that should get around the issue of running a non-executable file.
If you still have trouble, you may wish to check the mount options of the device (it could be mounted with the noexec flag).
 
Sam
wrote 4 years ago


reply
Thanks for your help Fundamental.. It has gotten me abit further
now i get:
Flushing filesystem buffers, this may take a while...
Setting up MBR on /dev/sdd...
./bootinst.sh: line 53: ./boot/syslinux/lilo: Permission denied
linux:/media/MP3_Player/boot #

I have also tried running sh ./liloinst.sh but the same happens.
 
markds
wrote 4 years ago


reply
From the terminal, in the boot/ directory, just do a "chmod -R 755 *"
Then do ./bootinst.sh

See if that fixes your problem.

Sam wrote:
Thanks for your help Fundamental.. It has gotten me abit further
now i get:
Flushing filesystem buffers, this may take a while...
Setting up MBR on /dev/sdd...
./bootinst.sh: line 53: ./boot/syslinux/lilo: Permission denied
linux:/media/MP3_Player/boot #

I have also tried running sh ./liloinst.sh but the same happens.
 
teo
wrote 4 years ago


reply
Must we assume that you are running those scripts from Slax itself? I'm aware of some trouble with permissions that sounds like yours, when running them from Ubuntu and not being root.
 
Sam
wrote 4 years ago


reply
Still the same result.
Sorry, something I should have perhaps mentioned before, I'm running Linux Novell Suse 10.1

Thanks
Sam
 
burninbush
wrote 4 years ago


reply
Sam, I don't know how you boot Suse, but I'll bet it's grub. With your usbstick plugged in, boot like you were going to boot suse, when the first grub screen comes up do an Esc, then enter a 'c' to get to command mode [looks like grub>] and at that prompt you can enter the kernel and initrd commands to boot the slax on your usbstick. That will have no problem executing the bootinst.sh script

Search the board on booting slax with grub, and look at the example menu.lst files -- you could add an item to your existing /suse/boot/grub/menu.lst to boot slax on the usbstick.
 
teo
wrote 4 years ago


reply
Perhaps the issue installing Slax from Ubuntu happens with Suse as well. My friend solved it in the end by temporarily turning permissions 777 in boot and grub folders. You could give it a try.
 
Simak
wrote 4 years ago


reply
I think you extracted slax into a folder on the flash disk. Try copying boot/ and slax/ to your disk's root folder.
 
shadow1013
wrote 4 years ago


reply
To help Michaela I would like to point out that someone might want to edit bootinst.sh to directly execute syslinux, The error message that was posted last seems like the script can't find the executable "syslinux".
 
markds
wrote 4 years ago


reply
Why aren't you just run backtrack?
 
Drake
wrote 2 years ago


reply
The problem you're having is because you'r partition is formatted as FAT. Once I formatted as EXT4, I was able to alter the file execution rights. But, then I had to use the lilo installer which although may not be as pretty, it does the job.
 
12yekdu
wrote 2 years ago


reply
hi.. i guess this title best macthes with my problem.
i need help cause i'm not a good computer user.
i've a install problem at the very beginning of the process..
i downloaded the slax for usb. then extraced it to usb with 7zip.. and run bootinst.bat..
(i use win xp) after all i restarted computer and try to boot from usb.. but it didn't. just saying "system couldn't find the way. press any key to continue" ( it is turkish so i directly translate)..

and than noting happens.. xp runs after i disconnect the usb disk..

if anyone can help i'll be greatful :)

thanks..

(sorry for my english)
 
jayflood
wrote 2 years ago


reply
You need to have 'administrator' rights in XP to run the bootinst.bat file.

Plug in your USB and remember the drive letter it is assigned (e.g f:). Then open a command prompt by pressing 'start/run' and typing in 'cmd'.

f:
cd boot
start bootinst.bat

Follow the prompts on the screen until it has finished.

You also need to make sure your BIOS is setup to boot from the USB device. Search the internet for instructions on how to get into your BIOS to check the setting.
 
12yekdu
wrote 2 years ago


reply
thanks :)
it worked..
 
brycenesbitt
wrote 1 year ago


reply
Same problem here, I can't get past it:

1) Started with an EXT2 partition but got '/dev/sde1: this doesn't look like a valid FAT filesystem'
2) Reformatted usb stick as VFAT
3) Extracted files to usb stick
4) CD'ed to /media/usb_stick/boot
5) Ran "sudo bash bootinst.sh" and got:
Flushing filesystem buffers, this may take a while...
Setting up MBR on /dev/sde...
bootinst.sh: line 53: ./boot/syslinux/lilo: Permission denied

Because this is VFAT I can't change the execute bit on lilo.

So I tried lilo install, which booted up to "livecd.sgn Fatal error occured - slax data not found... this should never happen... maybe you are using an unsupported boot device (SCSI or PCMCIA)."
 
burninbush
wrote 1 year ago


reply
Because this is VFAT I can't change the execute bit on lilo. >brice

++++++++++++++

What about creating a real root user, and try again from that?

$ sudo passwd root
(enter new pw twice)
$ su
(enter new pw)
# now you are root -- try bootinst.sh or liloinst.sh again.

Or, if you can get it plugged into a windows box, logon to that as administrator, and then run bootinst.bat from a cmd window.
 

  » search  » forum index  

Post your reply

Your name (Login):

Message:

These HTML tags are allowed: <quote>, <b>, <u>, <i>, <pre>, <code>, <small>, <h1>, <h2>, <h3>, <li>



Slax is generously supported by: P&P Software GmbH and wisol technologie GmbH