[Server-devel] Debugging booting problems with F9 on SD card...
Alexander Boström
abo at stacken.kth.se
Mon Apr 13 08:44:47 EDT 2009
Maybe something is missing from the initrd. The process of creating it
is a bit of a mystery to me, but making sure /dev/root is set up right
before generating the initrd seems to work. Try this:
Boot the XO into the regular Sugar system.
Insert SD card, open a root shell.
mount -o remount,dev /media/something
cd /media/something
Create a proper /dev/root:
stat /dev/mmcblk0p1 - stat outputs major/minor in hex
mknod b dev/root X Y - mknod wants decimal
stat /dev/mmcblk0p1 dev/root - make sure they're the same
mount --bind /sys sys
mount --bind /proc proc
mount --bind /dev/pts dev/pts
chroot .
new-kernel-pkg --package kernel --mkinitrd --depmod \
--install 2.6.27.19-78.2.30.fc9.686
exit
sync
And yes, it would be great if new-kernel-pkg could be made to update
olpc.fth.
/abo
More information about the Server-devel
mailing list