USB Mass Storage Class Devices

From OSDev.wiki
Revision as of 19:18, 3 July 2009 by osdev>Madeofstaples (New page: The contents here were originally located on the USB entry but have been moved here to provide minimal information until replaced with more details. == Booting off of a USB flash disk...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The contents here were originally located on the USB entry but have been moved here to provide minimal information until replaced with more details.

Booting off of a USB flash disk

If the BIOS supports it is it as simple as selecting USB-FDD in the boot order and putting a simple bootloader (grub might do, I rolled my own) into the first 512 bytes of the device. The BIOS will handle all the fancy PCI / USB stuff via int 0x13. Note that there is no need for any specific filesystem or partitions (which means you can just "dd" a 2.2 linux kernel (which used to contain a simple floppy loader) to /dev/sda and it will easily come up).

See Also

Forum Topics

  • USB stick - discusses the feasability of booting from an USB memory stick