new debxo images

DebXO allows you to install Debian (lenny) and Gnome easily on your XO. It's a bit rough around the edges, but it's perfectly usable (I'm typing this email from within claws on it).

It can be downloaded from here:

http://lunge.queued.net/~dilinger/debxo-latest/images/ext3/

The git repository can be downloaded via:

git clone git://lunge.mit.edu/git/xodist/

Full installation instructions are in DebXO on wiki.laptop.org

ToDo

Installing Debian from Fedora

This is originally described in Debian as upgrade on wiki.laptop.org.

In a root shell enter:

olpc-update -r -f -v debian

or

olpc-update -r -f -v debian-big

You need network access for this to work.

This is described in detail at http://wiki.laptop.org/go/Installing_Debian_as_an_upgrade

tgz_url="http://dev.laptop.org/~cscott/xo-debian.tgz"
cd /versions/pristine
mkdir debian
cd debian
# wget -O- "$tgz_url" | tar xz
wget -q -O- "$tgz_url" | tar xvz
cp /etc/{hosts,fstab} /versions/pristine/debian/etc/
cp -r /lib/modules/* /versions/pristine/debian/lib/modules
cp -r /lib/firmware/* /versions/pristine/debian/lib/firmware
mkdir -p /versions/pristine/debian/{versions,security,var/cache/apt/cache}
rm -rf /versions/pristine/debian/boot
cp -r /boot /versions/pristine/debian
cat <<END > /versions/pristine/debian/etc/rcS.d/S00unfreeze.sh
#! /bin/sh
mount -t sysfs /sys /sys
echo 0 > /sys/devices/platform/dcon/freeze
umount /sys
END
chmod a+rx /versions/pristine/debian/etc/rcS.d/S00unfreeze.sh
echo 'tmpfs   /var/cache/apt/cache  tmpfs defaults 0 0' >> /versions/pristine/debian/etc/fstab
cat <<END > /versions/pristine/debian/etc/apt/apt.conf.d/00-tmpfs-cache
 Dir {
  Cache "var/cache/apt/" {
   srcpkgcache "cache/srcpkgcache.bin";
   pkgcache "cache/pkgcache.bin";
  };
 };
END
cd /versions/boot
rm -rf alt
ln -s /versions/pristine/debian alt
cp -rl /versions/pristine/debian /versions/run/debian
/usr/sbin/setattr -R --iunlink /versions/run/debian
echo 'Debian is installed!  Reboot and hold down the game key labelled "O"'

modprobe usb8xxx
iwconfig eth0 essid <your-access-point>

Installing Debian from a USB-Stick

Boot should now proceed to a blue-background login screen. Log in as user 'olpc' with password 'olpc' -- that user has sudo access. Give XFCE a bit of time to load, and voila! Use the keyboard shortcuts below for some of the most useful options. Note that Firefox can take up to 15-20s to load after you start it, and you won't see a progress indication on the screen; that's expected. Also, you don't need to hold the 'O' key to boot into Debian next time; it'll be the default. Holding the key will get you back to the regular Sugar build.

Keyboard shortcuts

Thanks to Ivan Krstić < krstic@solarsail.hcs.harvard.edu > for this!

Native Debian

It is possible to install sugar doing

 apt-get install sugar

Note: This packaging is still under heavy development.

Debian on a B2

This is a bit older: