1 |
Hello, |
2 |
|
3 |
I am trying to get Gentoo running on a GiveOneGetOne (G1G1) OLPC |
4 |
laptop. |
5 |
|
6 |
I started by installing Gentoo on a generic x86 machine in kvm. The |
7 |
disk image size for the virtual machine is set to 8GB and formatted in |
8 |
ext2 as this corresponds to how I have partitioned and formatted an 8GB |
9 |
Kingston DataTraveler High Speed USB 2.0 Flash drive. I used the 'small' |
10 |
filesystem setting. |
11 |
|
12 |
I understand I could also have used chroot and bypassed the emulator, |
13 |
but this way I could boot the system and check that all required |
14 |
services start, customize the desktop, etc... The OLPC has very modest |
15 |
and slow hardware, doing as much of these things as I could in the |
16 |
emulator would save time. |
17 |
|
18 |
Once a virtual machine was ready, I shut it down, mounted its disk |
19 |
image as a regular directory and copied its files over to the 8GB flash |
20 |
drive. |
21 |
|
22 |
I was able to boot the '/' partition (but NOT the gentoo-sources |
23 |
kernel, yet) by adapting the procedure detailed here: |
24 |
http://icrontic.com/articles/ubuntu_net_remix_olpcxo |
25 |
|
26 |
Basically, you |
27 |
- copy a signed OLPC kernel into the /boot folder of the USB drive. |
28 |
- copy the kernel's modules into the /lib folder of the USB drive. |
29 |
- copy a special /security folder into the / folder of the USB drive. |
30 |
- create a special text file (olpc.fth) in the /boot folder of the USB |
31 |
drive. |
32 |
|
33 |
Once all these things are in place, you insert the USB drive into the |
34 |
OLPC, power the OLPC ON and hold down the 'check' button and your Gentoo |
35 |
installation boots atop the signed OLPC kernel. |
36 |
|
37 |
This works well. Gnome runs, sound works. |
38 |
|
39 |
Once I was able to verify that given a signed kernel the installation |
40 |
would boot, I moved on to getting the gentoo-sources-2.6.26 kernel to |
41 |
boot. |
42 |
|
43 |
To permit this, I had to put a developer key (a file) in the /security |
44 |
folder. Once the key is in place, the OLPC's OpenFirmware sees it and |
45 |
permits booting unsigned kernels. |
46 |
|
47 |
Now my kernel does boot and initializes some of the hardware but it |
48 |
never succeeds in mounting the '/' partition. |
49 |
|
50 |
I have a detailed listing of the run here: |
51 |
http://forums.gentoo.org/viewtopic-t-703724.html |
52 |
|
53 |
If anyone has any idea at all, I would welcome it. |
54 |
|
55 |
Thanks in advance |
56 |
J |