Download the Knoppix iso image from http://www.knoppix.net/
We need to create a disk image file that we can use to load an OS image on. The command used to create these images file is called qemu-img. The qemu-img binary supports multiple formats including raw, cow, qcow and ["vdmk2] between others. Raw format appears to be the most platform neutral and independent, while the most versitile format appears to be qcow, which supports compression and encryption, as well as copy-on-write (COW). To create our image file to load Knoppix onto, run the commands:
qemu-img create -f qcow knoppix.img 4G
You can verify that it built out the image the way you expected to by invoking the command:
qemu-img info
The information provided by the command: knoppix.img
image: knoppix.img file format: qcow virtual size: 4.0G (4294967296 bytes) disk size: 17K
The first thing to do is to boothe Knoppix image off of CDROM or ISO image, yet add in the virtual disk image defined by "-hda knoppix.img". Because we're stil specifying "-boot d", QEMU will boot off the KNOPPIX CD or ISO image first.
qemu -cdrom /vol/dev/rdsk/c1t0d0/knoppix -user-net \ -enable-audio -pci -m 512 -k en-us -boot d -hda knoppix.img
And Knoppix is booted.
See http://qemu-buch.de/d/Gast-Systeme/_x86-Architektur/_Linux for further information.
Hosted by http://qemu-buch.de