Blog
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 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 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 Emulator

  • Open the LXTerminal
  • Enter the following command
cd debian
./launchDebian
  • Enter password for the password
  • You should see this
[email protected]:~/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 154429 times Last modified on Wednesday, 04 March 2015 17:19

19 comments

  • Comment Link admin Tuesday, 19 April 2016 14:26 posted by admin

    It is very easy to check if your Emulator is connected to the internet.

    Open the LXTerminal from Emulator and enter the following command:
    ping google.com

    Check the Network Settings of your Virtual Machine if the Internet is not working.

  • Comment Link PalladAlpha Monday, 18 April 2016 19:04 posted by PalladAlpha

    How can i download packages for the Pi? It says error 404, i think the pie is not connected to the internet yet or something like that. I am using a Macbook Air with Virtual Machine.

  • Comment Link admin Saturday, 09 April 2016 11:28 posted by admin

    I have one copy of this in my hard disk. I can upload it to Google Drive if you really need it.

    Anyway, you can download this file from baidu.com which require you to install their Download Manager software in your computer before you can download it.

    http://wangpan.baidu.com/share/link?uk=3256339686&shareid=3422620990&third=0&adapt=pc&fr=ftw

  • Comment Link flo Friday, 08 April 2016 15:25 posted by flo

    Torrent doesn't work anymore...
    Is there an other link to download this file?

  • Comment Link Aleey Monday, 18 January 2016 06:27 posted by Aleey

    Work under NAS4Free (FreeBSD-10.2) Virtualbox

  • Comment Link admin Saturday, 16 January 2016 17:44 posted by admin

    I have no idea on ipv6

  • Comment Link A3PO Thursday, 14 January 2016 00:44 posted by A3PO

    xtightvncviewer localhost
    does not work due to ipv6

    Please advise - how to connect ?

  • Comment Link admin Sunday, 03 January 2016 00:48 posted by admin

    Hi, sahmada
    The password is "password" (without quote).

  • Comment Link sahmada Friday, 01 January 2016 14:27 posted by sahmada

    BTW , what is the ROOT password of the linux?

  • Comment Link sahmada Friday, 01 January 2016 12:50 posted by sahmada

    Dear ADMIN
    I imported ova into VMWare and it runs the Virtual Machine well.
    But I have the problem when I want to run ./launchDebian :
    It gives the following message after running VNC server :
    VNC Server running on `::1:5900'
    I know it's an IPv6 for localhost, but VNC does not connect to this or even localhost.

  • Comment Link admin Thursday, 31 December 2015 20:06 posted by admin

    Hi, sahmada
    I'm not sure. You should try Docker.
    https://docs.docker.com/

  • Comment Link sahmada Thursday, 31 December 2015 12:34 posted by sahmada

    Can I import OVA file into VMWare?

  • Comment Link Admin Thursday, 13 June 2013 19:43 posted by Admin

    It won't run on MS Windows. That why you have to use VirtualBox.

  • Comment Link Michael Wednesday, 12 June 2013 17:52 posted by Michael

    Is this Virtual Machine Work in Windows x32 or Windows 64 Bit Only

  • Comment Link user Thursday, 18 April 2013 02:41 posted by user

    this is not a true raspberry pi, this is only linux (x86) virtual machine, raspberry is ARM machine.

  • Comment Link Cumpanasu Florin Saturday, 13 April 2013 20:02 posted by Cumpanasu Florin

    User is rpi and password is password

  • Comment Link Rostislav LIBER Tuesday, 26 March 2013 16:15 posted by Rostislav LIBER

    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.

  • Comment Link langga Saturday, 02 March 2013 14:33 posted by langga

    Work Fine on CentOS 6.3

    Thanks

  • Comment Link Loren Sunday, 10 February 2013 23:13 posted by Loren

    Regarding:

    Prerequisite
    VirtualBox running in Ms Windows

    this also works fine with VirtualBox running on Mac OS X

Leave a comment