Talk:Emulating the XO

From OLPC
Revision as of 19:17, 27 May 2007 by MitchellNCharity (talk | contribs) (Wiki maintenance - how to build needed images)
Jump to navigation Jump to search

Xen Player

Is anybody doing such an emulation? Nitpicker 21:59, 5 October 2006 (EDT)

Moved from abandoned Talk:OS_images_for_emulation. MitchellNCharity 03:04, 24 May 2007 (EDT)

Temporary summary of current state

currently: quickstart is a "choice of livecd/sound/no-library/read-only or qemu/non-devel.img/no-sound/library/read-write". and devel is "mix of qemu/livecd.iso/sound/ro and qemu/-devel.img/no-sound/rw". MitchellNCharity 13:06, 24 May 2007 (EDT)

Wiki maintenance - how to build needed images

The two flavors of iso/img's we really want to give visitors are not regrettably generated automatically. Here is how to create them.

Modified .iso LiveCD - adding the olpc library

The LiveCd is intended for development, and thus doesn't include the olpc library. One wants the library when demo'ing sugar to visitors. Here is how to add it.

The LiveCD is currently created manually every month or two. Holger is working to make it automatic and daily. Perhaps we can make this part of that process.

Getting /home/olpc/Libary

Sigh. You would think there was a tar somewhere. But no.

Approaches:

wget -r http://dev.laptop.org/pub/content/library

and then grovel over dev.laptop.org/pub/content/library/sidebar.html to obtain the sections.

perl -ne 'next if !m#(\w+)/index.html#;print "http://dev.laptop.org/pub/content/library/$1/\n";' < dev.laptop.org/pub/content/library/sidebar.html|sort -u > deleteme
cat deleteme | xargs -n 1 wget -r

But, then you would need to chase after more directories. Punt.

  • Snarf a copy from an xo disk image (the ext3.img variety).
    The -devel_ext3.img's don't have it. An ext3-tree tar I tried didn't have it.You should be able to do the following as root:
mkdir tmpdir
mount -o loop,offset=32256 olpc-redhat-stream-development-ext3.img tmpdir

But I can't. :/

Get the livecd:

wget http://olpc.download.redhat.com/olpc/streams/sdk/latest/livecd/olpc-redhat-stream-sdk-livecd.iso

...

qemu .img version of the LiveCd+Library