Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to boot usb pendrives using grub.

An example is using a VirtualBox VM with a minimal install of Debian (Just the console).

Debian will install GRUB by default, i would like to use the grub console to boot an USB Thumb drive attached to the machine.

How could this be possible?

GRUB doesn't list the partitions on usb thumb drive. I used

insmod uhci
insmod usbms

But GRUB doesn't detect any partitions from usb.

Is there a way to force the usb detection?

PD: SuperGrubDisk didn't work for me.

share|improve this question

I have had much better results with grub4dos than with Linux grub. If you have a windows box or a vm, then all you need is just unpack the files from the archive, and then run grubinst_gui.exe - this will write the USB drive boot sector and make it bootable. There is a grub4dos walkthrough available with an example menu.lst.

I use this setup for a multiboot USB flash stick, that can book directly from some ISO images (memory-mapped or disk file-based), any bootable floppy image, and things like supergrubdisk, partedmagic, BartPE, etc.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .