[OLPC-devel] getting started

Teus Benschop teus at teusbenschop.nl
Tue Aug 15 23:25:04 EDT 2006


I don't think there is some official way yet to do this - I've asked 
about it on this list several times.

There is an unofficial way to do it, and that is only possible in the 
"rpm" images, which contain xterm as opposed to the standard ones.

If you mount the image locally, then edit /home/olpc/.xinitrc, and make 
the last two lines to read:

# exec /usr/bin/sugar --test-user $OLPC_USER
exec /usr/bin/xterm

Teus.

PS. Here's a copy of my current mount script:

#!/bin/bash

# /sbin/fdisk -lu olpc-2006_05_23_15_11-ext3.img

# Disk olpc-2006_05_23_15_11-ext3.img: 0 MB, 0 bytes
# 16 heads, 32 sectors/track, 0 cylinders, total 0 sectors
# Units = sectors of 1 * 512 = 512 bytes

#                          Device Boot      Start         End      Blocks
#   Id  System
# olpc-2006_05_23_15_11-ext3.img1   *          32       20479       10224
#   83  Linux
# olpc-2006_05_23_15_11-ext3.img2           20480      839679      409600
#   83  Linux


# Now look at the start number for the second partition down, and multiply
# by 512 bytes; with this image, you'll get 512*20480 = 10485760.

# losetup /dev/loop0 -o 10485760 olpc-2006_05_23_15_11-ext3.img

# mount /dev/loop0 /mnt/olpc

# ls /mnt/olpc
# bin   dev  home  lost+found  mnt  proc  sbin     srv  tmp  var
# boot  etc  lib   media       opt  root  selinux  sys  usr

# sudo mount -o loop,offset=16384 -t ext3 
olpc-stream-development-41-20060712_1438-ext3.img image
# sudo mount -o loop,offset=16384 -t ext3 
olpc-stream-development-42-20060714_1709-ext3.img image
sudo mount -o loop,offset=16384 -t ext3 
olpc-stream-development-59-20060808_1153-rpm-ext3.img image


Erik Blankinship wrote:
> Hello,
>
> I've been able to get the windows emulator working (as described on
> wiki page http://wiki.laptop.org/go/Using_QEMU_on_Windows_XP).
>
> Using a recent img, olpc-stream-development-66-20060815_1158-ext3.img,
> the emulator boots up directly into a cool green web browser.
>
> What is the preferred way to get to a command line?  CTR+ALT+N doesn't
> bring it up.
>
> Thanks,
> Erik
> _______________________________________________
> Devel mailing list
> Devel at laptop.org
> http://mailman.laptop.org/mailman/listinfo/devel
>
>



More information about the Devel mailing list