Booting from USB Drives?
GilesP asks: "With so many USB flash drives around (like the pendrive, Targus Go-Anywhere, and others), and with the demise of the floppy disk, I began to wonder if it would be possible to boot from a USB drive? So your BIOS is going to need to support booting from a USB device, but what else would be involved? I'm primarily thinking about Linux here, but other OSes would be interesting too. These devices come in a range of sizes from 8Mb up to 1Gb, so there is plenty of room to hold a Linux installation. Has anybody done anything like this?"
All you need to do is to tell your bios to boot
from USB, as long as your bios allows this.
Then just install a system on the pendrive,
kernel and all, usb support compiled in.
That should be sufficient. rdev/lilo as needed
-Fallen
I just bought a new Amptron MOBO and the BIOS supports this.
The BIOS also has some network features built in, but I haven't checked them out yet.
Go try one out, they're pretty cheap.
A mac maybe?
It can boot from Firewire and USB and even the net with standards, no s**ty pxe, just bootp/dhcp and tftp and nfs (or afp or any other network file system).
I think Sun also have this capitable.
On macs with os X, the OF reads from the devices and then the os sends messages to the of to read particular blocks from the device to get the driver and then loads the drive and lets the driver take over. In fact this is how they do scsi and ide. The OF(BIOS) contains generic drivers to load the kernel and also to read from the device.
I know, stupid question, but I'm missing it.
The man who trades freedom for security does not deserve nor will he ever receive either. - Benjamin Franklin
Use a flash memory to IDE converter like this.
Then you realize flash memory costs more per MEG than hard drives per GIG and is SLOW.
Skip the fancy stuff unless you are just looking for toys.
If voting were effective, it would be illegal by now.
I have an IDE-CF bay, a PCMCIA-CF adaptor and a USB-CF adaptor. Now linux sees the CF in the USB adaptor as a scsi disk but the others are straight IDE.
I cannot for the life of me get lilo to correctly install on CF when in my laptop, and then boot in another computer. The CF reports itself as the same CHS whether it is in my PCMCIA slot or in the final computer's primary master CF-IDE bay. I've tried linear, lba32, with and without compact.
Example setup: install CF into PCMCIA adaptor, install adaptor into laptop. Laptop sees /dev/hde. mount /dev/hde1. /mnt/sbin/lilo -b /dev/hde -r /mnt. Lilo says it installs fine. umount, remove from laptop and place CF into CF-IDE adaptor on final computer. Boot. Disk is detected with same CHS as it was in the PCMCIA-CF adaptor but lilo will either say "LI" or "LI 0x01 0x01..." (0x07 is another common one.)
According to the LILO documentation that's illegal command and invalid initialization. Fun. Boot from a floppy on the target machine, run lilo from there, all is well. Unfortunately that isn't an option for me in all cases.
groups.google.com suggests that this is a longstanding problem with LILO (booting CF) but has no suggestions. Other than Grub which seems to be an excercise in bloat, has anyone got a solution to this?
Grub, eh? It looked like a huge time sink last time I looked at it, but perhaps it's time for a new look. :-) Thanks.
BTW have you ever tried to set the media write-lock on CF?
"USB was designed for simple, low throughput devices."
:P
Yeah, stick to ultra-fast devices like floppy drives.
Hmm......
>>I think Sun also have this capitable.
Uh... I don't think so. Even in the fairly new Solaris 9, support for USB and 1394 hard drives is fairly sketchy.