Let's start from Official Debian image downloadable from Raspberry Pi download page.
After the download is complete, extract the debian6-17-02-2012.img image from the .zip
Now we need to download a tool called windows dd from the official site)
extract dd.exe inside the dd-0.6beta3.zip in the same folder where you put debian6-17-02-2012.img image file.
Now go in command prompt go to the img+dd folder and run this command:
dd.exe if=debian6-17-02-2012.img of=rootfs_debian6_rpi.ext4 skip=157696 count=3256320
Now we have to prepare the QEMU emulator for Raspberry Pi board:
1) Download zImage_3.1.9 (the compiled kernel image 3.1.9 for Raspberry Pi) here or here and copy it in the same folder of dd.exe and debian6-17-02-2012.img image file
2) Download QEMU 0.15.1 (just this version, the other have some problem with networking) for Windows here from the official site and extract all the file inside the Qemu-0.15.1-windows-Medium folder in the same folder of dd.exe and debian6-17-02-2012.img image file
Now you will see:
now we have to start our Debian SO ARM in QEMU:
go to the command prompt and write:
qemu-system-arm -M versatilepb -cpu arm1136 -m 256 -hda rootfs_debian6_rpi.ext4 -kernel zImage_3.1.9 -append "root=/dev/sda"
just wait for the boot...
now at the prompt you have to use as user:pi password:suse
let's modify a bit the screen resolution, by defaul is only 640x480...
pi@raspberrypi:~$ sudo vi /etc/X11/xorg.conf
insert into xorg.conf file (doesn't exist) those lines:
Identifier "Default Screen"
# Viewport 0 0
Then change the runlevel to autostart x:
pi@raspberrypi:~$ sudo vi /etc/inittab
change the line from
#The default runlevel.
now reboot & waiting for system restart
pi@raspberrypi:~$ sudo reboot
as before use pi/suse as user/password