Your machine should be unlocked and you must have copied your developer key to the /security folder on the OLPC's internal nand-flashdrive already. Your key is only usable on your OLPC.
Format the flashcard or USB disk with ext2, preferrably.
| Code Listing: Formating flashcard or USB disk with ext2 |
| mkfs.ext2 -T small -L gentooxo /dev/sda1 |
Extract the GentooXO archive you downloaded (assuming your flashcard/USB key is mounted at /media/gentoo).
| Code Listing: Extracting |
| tar xvzf gentooxo-2.0.tar.gz -C /media/gentooxo |
As root, open the file named /media/gentooxo/boot/olpc.fth in a text-editor.
If you are booting from a flashcard, change the lines to
| Code Listing: Boot script for flashcard |
| " ro root=/dev/mmcblk0p1 rootwait noapic console=ttyS0,115200 console=tty0 fbcon=font:SUN12x22" to boot-file unfreeze memory-limit to linux-memtop boot sd:\boot\kernel-2.6.31-gentoo-r6 |
If you are booting from a USB key, change the lines to
| Code Listing: Boot script for USB key |
| " ro root=/dev/sda1 rootwait noapic console=ttyS0,115200 console=tty0 fbcon=font:SUN12x22" to boot-file unfreeze memory-limit to linux-memtop boot disk:\boot\kernel-2.6.31-gentoo-r6 |
I tried booting from an actual external USB drive, but I was unable to get it to work. If anyone has managed to do this, please let me know.
Plug the flashcard/USB flash hard drive into your OLPC.
Power on the OLPC.
If you are not logged in automatically as the user OLPC and are instead brought to the login screen, enter the login and password (olpc / olpc).
Note that GentooXO will NOT modify your OLPC's current install. GentooXO (as presented here) runs entirely off of the USB Key/Flashcard it is installed to. It can be used as a recovery boot disk if you are trying to repair your Sugar installation.
As root, enter mount /mnt/internal_flash to enable read-access access of OLPC's internal flash drive.
What doesn't work:
To know more about this project, write to me at info@gentooxo.org.