Boot USB Drive in QEMU under Windows

04-15-09

Hooray! I did it!
I have managed to boot my bootable usb pendrive (BackTrack 3) under QEMU within Windows XP.

For those of you who want the magic one liner here you are:

qemu.exe -L . -m 512 -std-vga -hda \\\\.\\PhysicalDrive2 -soundhw all -localtime -M pc -kernel ../../boot/vmlinuz -initrd ../../boot/initrd.gz -append "root=/dev/ram0 rw initrd=../../boot/initrd.gz ramdisk_size=6666 vga=0x317"

  • This gives you TextMode with 512 MB Ram and Mouse Support!!
  • You will need to change PhysicalDrive2 to what ever drive number your USB key is. (Hint look under the DiskManagment snap-in)
  • You require administrative rights also
  • My Qemu directory lives under USBDriveLetter\BT3\QEMU FYI
  • QEMU Version Win32 PreCompiled 0.9.1

Hopefully this saves you a few hours :-)

Tags: , , , , , , ,

This entry was posted on Wednesday, April 15th, 2009 at 7:40 pm and is filed under linux, operating-systems, rant, tips, windows. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

2 Responses to “Boot USB Drive in QEMU under Windows”

  1. Hmm is anyone else encountering problems with the images on this blog loading? I’m trying to find out if its a problem on my end or if it’s the blog. Any feedback would be greatly appreciated.

  2. hmmm firstly I can’t tell if your spam or not. Either way I have just moved VPS hosts, but it should all be working now.

Leave a Reply