Advertisements

Latest comments

Saturday, 19 January 2013 20:28

Virtualbox Raspberry Pi Emulator

Would like to have Raspberry Pi experience before you own one of the boards? This article show you how to use VirtualBox as a emulator of Raspberry Pi
 
 
Prerequisite
VirtualBox running in Ms Windows

Download

  • Download the zip file and extract the included torrent file to any folder
  • Open the torrent file with any torrent client. I'm using flashget to open the torrent file.
  • The download should start.
  • You will have a 658,763KB ova file upon completion of downloading
 

Installation
The ova file (RaspberryPi.ova) that you downloaded is a virtual machine file, it cannot open directly from VirtualBox. You must import the ova to VirtualBox before you can use it.
  • Run VirtualBox
  • Select File>Import Appliance as shown in figure below

Import OVA file from VirtualBoxImport OVA file from VirtualBox

  • Click on Choose button
  • Choose the RaspberryPi.ova file
  • Click on Next button and you will see a list of the import settings
  • Click on Import button to start importing, it takes about one or two minutes to complete the importing.
  • A RaspberryPi VM is created as shown in figure below
Raspberry PiRaspberry Pi 
  • Double click the RaspberryPi icon to star the VM
  • Enter rpi for login user
  • Enter password for login password. You will see the Linux Ubuntu screen as shown in figure below

Raspberry Pi EmulatorRaspberry Pi Emulator

  • Open the LXTerminal
  • Enter the following command
cd debian
./launchDebian
  • Enter password for the password
  • You should see this
rpi@RaspberryPi:~/debian$ ./launchDebian
[sudo] password for rpi:
oss: Could not initialize DAC
oss: Failed to open `/dev/dsp'
oss: Reason: No such file or directory
oss: Could not initialize DAC
oss: Failed to open `/dev/dsp'
oss: Reason: No such file or directory
audio: Failed to create voice `lm4549.out'
VNC server running on `127.0.0.1:5900'
  • This will start the VNC server
  • Open another LXTerminal
  • Enter the following command
xtightvncviewer localhost
  • The raspberry-pi login is root
  • The login password is password
  • You are now logged into the emulated Raspberry Pi
 
 
Read 58885 times Last modified on Monday, 07 October 2013 23:37

Comments  

343Modding
#10 343Modding 2014-09-28 00:47
rubbish emulator

it says raspberry pi in the QEMU console but none of the rpi commands work
not even startx
Quote
Ben
#9 Ben 2014-09-16 08:55
This is pretty cool, but how do I us an SD card image on my virtual raspberry pi? If I can practice installing an actual image as if it was an SD card in a real raspberry pi I don't see the point.
Quote
Huw
#8 Huw 2014-09-15 22:11
Using Window 7 laptop, how do you get the virtual pi's Ethernet to work? I just get "can't resolve hostname" if I try an connect
Quote
Admin
#7 Admin 2013-06-13 19:43
It won't run on MS Windows. That why you have to use VirtualBox.
Quote
Michael
#6 Michael 2013-06-12 17:52
Is this Virtual Machine Work in Windows x32 or Windows 64 Bit Only
Quote
user
#5 user 2013-04-18 02:41
this is not a true raspberry pi, this is only linux (x86) virtual machine, raspberry is ARM machine.
Quote
Cumpanasu Florin
#4 Cumpanasu Florin 2013-04-13 20:02
User is rpi and password is password
Quote
Rostislav LIBER
#3 Rostislav LIBER 2013-03-26 16:15
Hi,

Is Virtual Box really able to emulate ARM CPU ? I would like to setup my own virtual computer with Raspbian image due to using of the Pi Store.

I use Virtual Box on Linux Mint 13.
Quote
langga
#2 langga 2013-03-02 14:33
Work Fine on CentOS 6.3

Thanks
Quote
Loren
#1 Loren 2013-02-10 23:13
Regarding:

Prerequisite
VirtualBox running in Ms Windows

this also works fine with VirtualBox running on Mac OS X
Quote

Add comment


Security code
Refresh