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
Why would someone moderate this to "5: Informative" ??
SpatchMonkey's comments are:
1. In the article
2. Obvious
FPGA, Wireless, ASIC, Verilog, VHDL, HW, 10yr exp, Team Lead, Ottawa (More? Email above. slashdotusername=dgmartin98 )
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.
You could try a acomact flash to IDE interface in order to boot from CF. I know alot of people are using this for IOpeners. http://www.acscontrol.com/Pages/Products/CompactFl ash/IDE_To_CF_Adapter.htm?=AdSelect
Cheers
Zoid.com
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
... this could be a security risk like the Dreamcast Phone Home project. Just stick a USB drive into the back of a computer where someone is away on vacation and turn the monitor off. That's probably even more "hidden in light" than a dreamcast, plus it would get past efforts to clamp down on such attacks that involve allowing only certain MAC addresses.
Has anybody experience using these usb-stick with sun solaris on non-intel hardware? does it work?
USB was designed for simple, low throughput devices. You should use firewire
That defeats the purpose. Not all PC motherboards have integrated SCSI or FireWire controllers. (Most Macs have one or the other, but this article is about intel PCs.) By the time you've opened the case to install a 1394 or SCSI card, you could have re-arranged the ATA cables to boot from an ATA hard disk. The OP wanted a solution that worked without having to open the case.
Will I retire or break 10K?
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?
Use grub!!! I use my laptop to modify my firewall OS installation through a PCMCIA/CF adapter. (8MB card) and then a nice IDE to CF adapter in the firewall itself. Using grub it was *very* easy to get the bootloader installed on the CF card.
This would be enough for me , as an alternative to booting directly from the USB. Does anyone know if this is easier, or even possible? It would -seem- to be easier, since the USB driver and fs could be modloaded instead of needing to be statically linked.
Anyone have any experience with 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?
why not replace your floppy drive with an internal pcmcia or compact flash reader? it would only take up a 3.5 bay in your computer, and it would be recognized as an ide device. this would make botting from it much easier, even with an older bios. this may be a problem if you are using a laptop, but for desktops this would be your best bet.
"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.