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
- Recognition of USB hard drive
- Booting from said hard drive
It is the BIOS that needs this because it is the last code to be run before booting into an OS.Most PC have sh*t bios, they have no concept of booting from any device than the ide bus.
Intel and AMD should go out and implement an OF base bios then companies could make one card for ia32, ppc, and sparc base machines without writing different bios for the card, they would write in forth.
There is a project somewhere that is writing an open source base OF bios.
I also wish the BIOS manufacturers would get their heads out of the 80's and add firewire boot support. OHCI-compliant boot support would allow us to ditch IDE (and maybe even SCSI) for good. Anyone heard of such a thing?
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.
Couldn't the person asking the question have pressed 'del' on boot, check to see if USB is deemed bootable by the bios?
What does the os have to do with the bios anyhoo?
Couldn't they have asked google about this?
Next ask slashdot, oh wait my dumb unresearched question has already been asked before, shucks did ziff davis by VA linux?
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
USB was designed for simple, low throughput devices. You should use firewire or external scsi.
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.
Open Firmware is not in all PPC machines. It's in PCI and AGP Macs. I might be mistaken on this next part, but a Mac with Open Firmware can also be referred to as a NewWorld Mac (any non-beige Mac).
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.
Everyday almost. We image the machines and then also do fresh (boring long) installs from the 512MB Pen Drives. Your current mother board BIOS just needs to be recent (AKA no P2 or old systems). this way of fixing our machines has become quite useful and cheaper than burning cd's or trying to find the buggers.