Hey all, I'm trying to set up USB key in Ubuntu to boot Slax, but I can't run the boot installer. I extracted the tar to the drive, so now it has the folders "boot" and "slax." I opened the boot folder in a terminal. my prompt looks like this: ninjaaron@ninjaaron:/media/D03F-FB2A/boot$
then I try "sudo ./bootinst"
"command not found"
so...
"chmod +x bootinst.sh; sudo ./bootinst"
"command not found"
I also tried it with the ".sh" suffix, and then without the "./" operator.
I tried running it in sh instead of bash.
I don't know what else I ought to try. I don't normally have any problems running scripts.
well, it kinda worked when I used the 'bash' command. It started to work, at least. I got this screen:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Welcome to Slax boot installer
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This installer will setup disk /dev/sdb1 to boot only Slax.
Warning! Master boot record (MBR) of /dev/sdb will be overwritten.
If you use /dev/sdb to boot any existing operating system, it will not work
anymore. Only Slax will boot from this device. Be careful!
Warning!
When you are installing Slax on writable media (usb stick/hard drive)
with FAT or NTFS filesystem, please consider using slaxsave.dat container
to avoid posixvol compatibility issues which are leading to filesystem
corrupition in case of Slax hang or crash. Info about usage of the changes
cheatcode you will find in /slax/cheatcodes.txt file. You have been warned!
Press any key to continue, or Ctrl+C to abort...
So I hit enter, but I got but then I got this
Flushing filesystem buffers, this may take a while...
Setting up MBR on /dev/sdb...
bootinst.sh: line 60: ./boot/syslinux/lilo: Permission denied
then I figured... "well, if I had to change the syntax before..."
so I opened the script in a text editor and changed the line with a "sudo" first, which gave me a "command not found," so then I added the "bash" too. Then I got the echo "cannot execute a binary."
So now I'm stuck again.
ps: also tried mounting the disk image on the drive, which looked like it worked, but it didn't boot.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Welcome to Slax boot installer
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This installer will setup disk /dev/sdb1 to boot only Slax.
Warning! Master boot record (MBR) of /dev/sdb will be overwritten.
If you use /dev/sdb to boot any existing operating system, it will not work
anymore. Only Slax will boot from this device. Be careful!
Press any key to continue, or Ctrl+C to abort...
Flushing filesystem buffers, this may take a while...
Setting up MBR on /dev/sdb...
bootinst.sh: línea 53: ./boot/syslinux/lilo: Permiso denegado
root@itcompany:/media/3454-6102/boot# bootinst.sh