Get Debian running on Qemu

Qemu rocks. To have a running Debian guest system on a Windows host I first prepared a initialized (\”zeroed\”) 600MB image with

mkqemuimage -s 600 debian.img

and then downloaded a Qemu installer for Windows [1], a Qemu GUI [2] for Windows and a Debian ISO image [3].

What followed next was to find ou the appropriate command line to start that installation from the ISO an get into the installation routine. Basically one should get around with this:

qemu.exe -L \”c:\\programme\\qemu\\bios\” -cdrom \”debian-30r2-i386-binary-1_NONUS.iso\” -boot d -m 96 -hda \”c:\\programme\\qemu\\img\\debian.img\” -nics 1 -user-net -localtime -enable-audio

Having finished the installation I did have to close and to reconfigure the command line. There I removed \’-cdrom \”debian-30r2-i386-binary-1_NONUS.iso\” -boot d\’ to \’-boot c\’. From then on, the system boots no longer from the iso file.

If You get bug messages like \”Debian – clock timer configuration lost!\”, then have a look at this proposal (upgrading to kernel 2.4.x) [4].

[1] http://www.freeoszoo.org/ftp/qemu/win32/daily/
[2] http://perso.wanadoo.es/comike/
[3] http://mirror.switch.ch/ftp/mirror/debian-cd/images/current/i386/
[4] http://groups.google.com/groups?selm=20040317223444.71a5da39%40giga.mumblefrotz.org

Update: You may also use a business card ISO from gluck.debian.org, which is only 34.1MB [5].

[5] http://gluck.debian.org/cdimage/testing/sarge_d-i/i386/current

Leave a Reply