Running a Raspbian (Raspberry Pi) VM in Virtualbox 🌱

  1. Download Oracle Virtualbox Download
  2. Download Raspbian x86 Image Download
  3. Install Oracle Virtualbox
  4. Launch Virtualbox
  5. Install VirtualBox Extension Pack
  6. Create a New VM by selecting Machine > New

    Name: Raspberry Pi
    Machine Folder: C:\VMs
    Type: Linux
    Version: Debian (32-bit)
    Memory Size: 1024 MB
    Hard disk: Create a virtual hard disk now

  7. Click Create
  8. On the Create Virtual Hard Disk dialog

    Name the virtual disk image Raspberry Pi.vdi
    File size: 8 GB
    Hard disk file type: VDI
    Storage on physical hard disk: Fixed size

  9. Click Create
  10. Select the VM and Click Settings
  11. Select Storage
  12. Click on the empty disc drive
  13. Select the disc dropdown to the right > Choose a virtual optical disk file...
  14. Browse to the downloaded Raspbian x86 Image from step 2
  15. Click OK
  16. Select Network
  17. Set Attached to: Bridge Adapter
  18. Click OK
  19. Make sure the Raspberry Pi VM is selected and click Start > Normal
  20. Scroll down to Install using the arrow keys and press enter
  21. Follow the prompts to partition your virtual hard disk and setup the Raspbian environment
  22. Select Yes to install GRUB loader
  23. Select the Virtualbox Virtual hard disk
  24. Press enter to continue
  25. Press enter on Finish the installation
  26. Select Machine > Reset to boot into the Raspbian desktop