|Free Software at Schools: Installing and Maintaining a Debian-Edu Network; Also Known as Skolelinux|
|Prev||Appendix K. Contribute to this document and Skolelinux/Debian-edu[id=contribute]||Next|
Get latest version from http://fabrice.bellard.free.fr/qemu/, at the time of writing that is 0.6.0
Unpack, and create a disk that is big enough,
dd of=/tmp/disk1 bs=1024 seek=600000 count=0This will create a 6GB disk; the funny thing is that this size is not "real" before you start filling it up inside qemu. That means you can actually create a bigger qemu-disk than your physical disk. Before you create the qemu-disk, you can check your available space with df -h and do the same after you have created a 6BG qemu-disk, you will see the same space is available. The space is not used before you start installing something into qemu- very nice!
Either download a iso-image to you harddrive,
/usr/local/bin/qemu -m 128 -boot d -cdrom /tmp/skolelinux-i386-release-1.0.iso -hda /tmp/disk1which will start a Skolelinux/Debian-edu install with 128MB ram onto qemu-disk /tmp/disk, if you are going to try a Thinclient install, you will need two network cards in your qemu, add the option -nics 2
/usr/local/bin/qemu -m 128 -cdrom /tmp/skolelinux-i386-release-1.0.iso -hda /tmp/disk1otherwise, it will not boot from the hard drive, but from the CD-ROM again.