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

How to boot from usb stick

caracole
wrote 2 years ago


reply
Hello,

I just found Slax after installation and testing under virtualbox / ubuntu.
Now I want to install on a usb bootable.
I unzipped the file on the usb slax.tar
Then I tried to make a bootable but I failed.
What is the solution?
thank you

here is the result ...

pierre@pierre-Aspire-6930:/media/D2AD-F80D/boot$ ls
bootinst.bat dos liloinst.sh slax.cfg vesamenu.c32
bootinst.sh initrd.gz mt86p slax.png vmlinuz
chain.c32 isolinux pxelinux.cfg syslinux
pierre@pierre-Aspire-6930:/media/D2AD-F80D/boot$ sudo bash bootinst.sh

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

This installer will setup disk /dev/sdc1 to boot only Slax.

Warning! Master boot record (MBR) of /dev/sdc will be overwritten.
If you use /dev/sdc 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/sdc...
bootinst.sh: line 53: ./boot/syslinux/lilo: Permission denied
pierre@pierre-Aspire-6930:/media/D2AD-F80D/boot$
 
Ahau
wrote 2 years ago


reply
This appears to be a known issue, see this thread:

http://www.slax.org/forum.php?action=view&parentID=72752&highlight=ubuntu

and give some of those methods a try, and search the board for ubuntu bootinst.sh.

Also, is your device mounted? I believe bootinst.sh needs to be run oun a mounted drive:

mkdir /mnt/sdc1
mount /dev/sdc1 /mnt/sdc1
sudo bash /mnt/sdc1/boot/bootinst.sh

Also, you may have to be the root user (su) rather than just sudo to make changes to a device's mbr. Try logging in as su.

If mounting the device and trying whatever else you can find on the forum doesn't work, then you can download the slax .iso file, burn it to a disk, boot into it, mount your drive, and go from there. That should get you around the permissions issue.
 
caracole
wrote 2 years ago


reply
Hello and thank you for the reply.

That is basically what I did to create my USB key.
my solution here
http://www.slax.org/forum.php?action=view&parentID=72752&anchorid=73024#postid73024

Pierre
 
gofer
wrote 2 years ago


reply
Flushing filesystem buffers, this may take a while...
Setting up MBR on /dev/sdb...
bootinst.sh: 58: ./boot/syslinux/lilo: Permission denied


What i should do?
 
forum
wrote 2 years ago


reply
Probably need to run bootinst.sh as root in order to have permission to write the mbr of a device.
 
stringer7
wrote 2 years ago


reply
If you can find somewhere to boot windows you could try this

http://www.linuxliveusb.com/

I found this was the only way I could create anything that would boot reliably from USB.
 
Deus
wrote 1 year ago


reply
Download WintoFlash make USB drive to become a bootable replacement for the optical drive.

http://goo.gl/uNp5c
 
Derp.
wrote 1 year ago


reply
In Mother Russia, USB Stick boots you!
 

  » 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