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.
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
...
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.
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'.
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:
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#
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#
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?
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).
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.
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.
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, 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.
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.
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".
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.
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..
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.
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)."