
Originally Posted by
soloturn
i tried this with ubuntu 12.04 LTS
sudo kvm -cdrom Downloads/KNOPPIX_V7.0.2DVD-2012-05-30-EN.iso -boot d -m 512 -usb -device usb-host,hostbus=1,hostaddr=7
"Install Knoppix to flash disk" recognizes the memory stick (16GB in size), formats it, and starts writing. the bar goes right before the end, and then it stalls.
I have had success with a simpler command line for qemu (1.1.0), in Knoppix:
Code:
sudo qemu -cdrom Downloads/KNOPPIX_V7.0.2DVD-2012-05-30-EN.iso -hdb /dev/sdb -boot d -m 512
Seems to be something buggy in detailed USB handling in recent qemu versions, but this wholesale "-hdb" way has worked for me. Haven't tried in other distros, as long as Knoppix does the job.. modprobing kvm and kvm-intel and adding "-machine accel=kvm" makes it run much faster -when hardware allows it.