Note 1 : Instructions include Image Resize from the default to 3Gb.
Note 2 : Instructions include removal of 'raspi-copies-and-fills' package, which causes O/S upgrade issue in QEMU (Bug #1573473)


  1. Download QEMU RaspberryPi from http://sourceforge.net/projects/rpiqemuwindows/
  2. Extract "qemu.zip" to your preferred location (i.e. D:\QEMU\)
  3. To resize QEMU image, Open Command Prompt and type the following commands. If successful "Image resized." will be displayed

  4.  cd D:\QEMU\qemu\
     qemu-img.exe resize 2012-07-15-wheezy-raspbian.img +3G

  5. In Windows Explorer navigate to D:\QEMU
  6. Double click "run.bat" to start QEMU RaspberryPi
  7. In Raspi-config tool, Select "" to exit
  8. Type "sudo fdisk -l", it should 2 partitions, second beginning 122880
  9. Type "sudo fdisk /dev/sda"
  10. In FDisk type the following commands...

  11. d    (to delete a partion)
    2    (to select the second partion)
    n    (to create a new partion)
    p    (to select primary partition type)
    2    (to select the second partion)
    122880    (first sector)
    10080255    (default last sector)
    w    (save settings, if you made a mistake select 'q' and restart step)

  12. Warning messages will be displayed, Type "sudo reboot" to reboot O/S
  13. Enter RaspberryPi credentials at login prompt...

  14. Username : pi
    Password : raspberry

  15. Type "sudo resize2fs /dev/sda2"
  16. Type "df -h" to check disk size is now 3Gb
  17. Type "sudo apt-get update"
  18. Type "sudo apt-get purge raspi-copies-and-fills" to remove the raspi-copies-and-fills package
  19. Type "Y" at continue prompt
  20. Type "sudo apt-get autoclean" to perform a APT Cache Clear
  21. Type "sudo apt-get upgrade -f" to perform a APT Upgrade and Fix Dependencies
  22. Type "Y" at continue prompt
  23. Type "N" at bashrc prompt (Default)
  24. Select "Yes" to restart services during package upgrades
  25. Type "sudo reboot" to reboot O/S
  26. Enter RaspberryPi credentials at login prompt
  27. Type "startx" to launch a graphical session
  28. DONE.