Wednesday, January 07, 2009

USB flash drive boot test on VM

There is a good idea to use the USB flash drive under virtual machine and don't boot it on real hardware when testing. I did try to find solution but have found only QEMU. The VMware doesn't have any possibility to boot by USB now - only floppy. So, back to QEMU. I use it on Linux openSuSE11.0

To boot USB flash drive I use such command under root:

# qemu -hda /dev/sdb -boot c -usb -usbdevice disk:/dev/sdb

My USB flash as /dev/sdb

No comments: