Dual boot to flash drive
I had a flash drive at one point in my dim past but cannot recall if I had put Slack on it or Windoz. Anyway I would like to create a test bed for Linuxes on a flash drive and be able to dual boot to it. My question is is it possible to create partitions on the flash drive and treat it as another hard drive and then install Slackware/Fedora/Zenwalk/whatever on it and then dual boot to it using lilo? I have dual booted using lilo with Slackware and Windoz and to other Linuxes.
|
A USB flash drive, at least on modern hardware, is more or less indistinguishable from a traditional HDD. If your BIOS can see it as a bootable device, then you can partition it and setup the bootloader on it however you like.
|
http://www.linuxquestions.org/questi...how-to-919708/
PS - I lack religion but Matthew 7:7 springs to mind. |
I have Slackware installed on my hard drive so I am wondering if it is necessary that the BIOS needs to have provision to boot to a USB since Lilo will be interceding? If so is there a work around as my desktop does not have USB boot capability?
|
If my bios does not have a USB boot option am I dead in the water for trying to install Linuxes in the partitions and for dual booting? Is there a work around that substitutes cdrom/floppy/etc. for a USB boot?
Sorry for the duplication of the query. The original did not show up as usual and I had slid off to check my LQ. |
Quote:
Now you made me rethink, I am probably missing "mount -o bind" the /proc partition before chroot, that may be why I had warnings running lilo? I'll try that again to check. |
@waddles: Your BIOS doesn't need to have USB boot enabled to install lilo on the flash drive, but of course that will be necessary for the target computer to boot the USB key.
|
You can boot to a root on USB without any problems as long as the kernel (and initrd, if any) are copied to the hard drive. This is especially easy if you have a small separate partition for /boot. Just copy kernel to /boot, create an entry in lilo.conf for the installation, run lilo and you're done.
|
If you want to just boot from the USB drive, i.e. not from the MBR to the usb drive, burn PLOP to a CD and boot from the CD. PLOP will then allow you to boot from any device on/in the computer. We have one old Del with old BIOS and if anything goes wrong I use PLOP to boot a rescue USB.
|
Quote:
|
All times are GMT -5. The time now is 07:09 PM. |