Talk:Emulating the XO/Quick Start/Mac
Got it running the first time but my XO is missing ALL the activities. It comes just with Journal. I really need Terminal and Browse at least. I don' think networking is working since when I go to Neighborhood, I don't see any other machines.
I used xo-1-olpc-stream-update.1-build-708-20080604_1540-devel_ext3.img.bz2 as my image. If I use the image that Bcbc used below, I get a few activities, but no Terminal.
Paul, August 20, 2008
I updated the page for the steps it took to emulate the latest joyride build (277 Nov-14; development build 625 of Nov-1 did not work) in Qemu on my Intel MacBookPro (OS X 10.4.10)
I did not need to drop into GRUB. --IanOsgood 14:33, 15 November 2007 (EST)
Got it up and running, but can't get the networking to work over the wireless connection in my MacBookPro... Any ideas anyone?
I have a MacBook running 10.5.1. Here's how I got the emulator running. It's Dec 29, 2007.
- Here's the Q app I downloaded: http://www.kju-app.org/kju/index.php?p=dd&build=Q-0.9.0a89.dmg (You want to go to the webpage http://www.kju-app.org/kju and click on "Download latest STABLE build.")
- I dragged Q into /Applications, as suggested.
- Here is the disk image I downloaded: http://xs-dev.laptop.org/cscott/olpc/streams/ship.2/latest/devel_ext3/olpc-redhat-stream-ship.2-devel_ext3.img.bz2
- Then I double-clicked the disk image (which is in the "Downloads" folder), and Archive Utility decompressed it. Then I discarded the .bz2 file, since it is not needed.
- Then I l configured a Virtual XO by doing the following:
- Launch Q by double-clicking it.
- Click the Yellow Plus Sign, supplied the name "Virtual XO" and clicked "Create PC."
- In the following configuration window, I changed only the following things, leaving everything else alone.
- Clicked "Hardware" and then set RAM to 256,
- Unchecked "NE2000 PCI Network Adapter" and checked "rtl8139 PCI Network Adapter"
- Checked "Sound Card Ensoniq AudioPCI ES 1370"
- Selected the menu "Hard Disk" and the item "Choose Disk Image." An Open panel will drop down.
- Now go BACK to the FINDER and open the "Downloads" folder, and drag the disk image into the center of the panel. The Panel will change to show the Downloads folder in the center part of the window. Scroll down to find olpc-redhat-stream-ship.2-devel_ext3.img, and double-click it. The open panel will go away, and the "Hard disk" menu will show the beginning part of "/Users/yourusername/Downloads/olpc-redhat-stream-ship.2-devel_ext3.img". (yourusername will be replaced by your user name, of course).
- Clicked "Create PC".
- Now I started the Virtual XO by clicking the "Circle with a Triangle Inside" icon, which starts the PC.
Once you've completed this configuration, you start your Virtual XO by double-clicking Q and then clicking the "Circle with a Triangle Inside icon.
- Here is a command line I used that started the VIrtual XO successfully:
/Applications/Q.app/Contents/MacOS/i386-softmmu.app/Contents/MacOS/i386-softmmu -m 256 -soundhw es1370 -net user -net nic,model=rtl8139 -hda /Users/yourusername/Downloads/olpc-redhat-stream-ship.2-devel_ext3.img
Note that the path at the beginning might vary depending on where you installed Q.app, and also might vary if you have a PPC processor and not a 386 processor.
IMPORTANT NOTES:
- When you start up, you'll see a bluish screen with some light white lettering. Just wait for it to go away. Then you will get black screen with lots of scrolling text. Keep waiting. Eventually, the XO will show the Sugar HOME screen.
- The first time you start up, you will asked to enter your name, and then asked to click the "XO" icon until it matches the color of your computer. Since this is a virtual computer, pick whatever color you want. Once that's done, the Sugar HOME screen will appear.
- Once you click in the Virtual XO window, your Macintosh mouse pointer will disappear until you tap "ctrl" and "alt/option" at the same time. This will not pause the Virtual XO computer.
- The window will not fit on your screen very well. Some pixels will "hang off the bottom." To fix this, click the lozenge-shaped icon in the upper right of the title bar of the window. This will make the Q "control icons" disappear" and the window will now (just barely) fit. You can make the Virtual XO take over your entire computer screen with one of those control icons, or by pressing COMMAND-F. Note that COMMAND-F will also turn full screen mode. Don't forget!
- In Full Screen, the image is stretched so round things are "fat," and the pixels occasionally "wiggle."
- I was able to hit internet web sites in the browser, but I was not able to get sound to come out of Tam Tam Jam. I haven't tried too much else yet.
- To shut down your Virtual XO, go to the Home page and click in the XO icon in the middle, then hit "Shut Down" and wait for all the scrolling text to come to a stop. The last line will say "System Halted." Then you can click on the Close Icon on the top-left of the window title bar, and click "Shutdown," and then Quit Q.
--Bcbc 23:37, 29 December 2007 (EST)
The process described by Bcbc worked for me. Thanks! I think the main problem is to know which image works and which not. I tried os656.img (form http://download.laptop.org/xo-1/os/official/latest/jffs2/) first and it didn't work...
pfiguero April 10th, 2008
Paul Barchilon:
Hi Walter,
That was exactly the right question to ask! I was trying the LiveCD method with XO-LiveCD_080919.iso, which didn't work. When I created a "new PC" in Qemu and told it to use olpc-redhat-stream-ship.2-devel_ext3.img then it worked.
Still trying to figure out how to get the screen size to the appropriate dimensions, and now I have to figure out how to use your OS. From there I will load PlayGo and get back to all of you. Thanks for the help, I am glad I got in finally!
--Walter 21:15, 12 October 2008 (UTC)