http://en.wikibooks.org/wiki/QEMU/Images
1. create a blank disk image
qemu-img create -f qcow2 winxp.img 3G
2. install a guest OS into the bank disk image (from ISO file or CD-ROM)
qemu -m 256 -hda winxp.img -cdrom winxpsp2.iso -boot d
or
qemu -m 256 -hda winxp.img -cdrom /dev/cdrom -boot d
more info:
http://en.wikibooks.org/wiki/QEMU/Images
No comments:
Post a Comment