Results 1 to 2 of 2

Thread: Running the OLPC XO Image Under Qemu

  1. #1
    Join Date
    Nov 2005
    Beans
    185
    Distro
    Ubuntu 6.06

    Lightbulb Running the OLPC XO Image Under Qemu

    Emulating the OLPC XO On Ubuntu
    This guide is to emulate the OLPC XO operating system on Ubuntu Dapper Drake, it should convert to Edgy and beyond easily, although you may run into a few problems.

    Programs Needed:

    Qemu v0.8.1 or greater
    GCC 3 or greater

    Installing The Programs:

    The easiest way to get the newest version of Qemu is to download the binary distribution from http://fabrice.bellard.free.fr/qemu/download.html

    Save the file into the root director and open a terminal and issue the following commands:
    Code:
    cd /
    tar xzvf qemu-0.8.2-i386.tar.gz
    This will extract the files into their neccessary directories and thats it!

    Downloading the OLPC XO Image:
    Open a web browser and navigate to http://wiki.laptop.org/go/OS_images, under the section entitled " Latest Stable Build" there will be a link to the latest stable version. Follow the link and navigate into the ext3 folder. Iniside there will be severl files, the one we want to download is the one ending in img.bz2. Once you download the file, extract the image to anywhere you want, and then go back to your terminal.

    In our example we extracted our image to the desktop, so we need to issue the following commands:
    Code:
    cd ~/Desktop
    qemu -hda olpc-redhat-stream-development-build-182-20061114_2135-devel_ext3.img
    Depending on which version of the image you get, you will need to change the image name. After you issue the command, a black window will pop-up and the boot process will begin.

    Using the Desktop:
    Excerpt and photos from: http://www.osnews.com/permalink.php?...ment_id=182482
    Here is a screenshot from QEMU image interface:

    Top left screen:
    - Virtual mode mode, group mode, individual mode and recent ccess

    Top right:
    - Shutdown button, wireless status and window switcher

    Bottom left:
    - Etoys: educational programming language that is part of the Squeak Smalltalk language.
    - Chat: a simple chat interface
    - Browser: gecko based using xulrunner

    - Memory games
    - Penguin TV: to view multimedia
    - Abiword:

    - Tam-Tam: a music synthesis tool


    Notes and Thoughts:
    The build used in this tutorial is Build 182, later builds may appear different. From what I've seen so far, i believe a regular linux desktop would be more effective than what is shown here. By looking at the mockups on the OLPC wiki page, theres great things in the future. However from the current setup, they have a long way to go.
    Last edited by spyke01; November 22nd, 2006 at 03:39 PM.

  2. #2
    Join Date
    Feb 2006
    Beans
    32

    Re: Running the OLPC XO Image Under Qemu

    More tip - if you want internet... on load in grub press "a" and add "2" at the end and you'll boot to init 2 mode.
    Then run command dhclient
    Test if there is internet by ping www.google.com

    Then you can go to init 5 as work as usual.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •