[LB-XO-LiveCD] XO Live CD Persistence Issues

wolfgang mail at rohrmoser-engineering.de
Mon Jan 19 02:48:01 EST 2009


Hi,

this issue looks interesting to me. I am currently preparing
a new XO-LiveCd release and it would be nice to get the
installation working for you first. I would like to
include all necessary fixes and to improve the documentation. 

On Monday 19 January 2009, kristian paul peñaranda rojas wrote:
> hi again list
>
> Resuming my work, i got working to put a XO Live CD on persistence on
> both hard disk and usb pen. But there are some issues.
>
> But first a fast review:
>
> Steps followed to install XO Live on hard disk:
>
> - Copying cdrom content to /olpc

ok, I assume  /dev/sda5 is mounted on / at this time.

>
> - Copying from /olpc/boot initrd and vmlinux to my /boot directory
>

Hmm, you defined in your menu.lst grub configuration:

root            (hd0,4)
kernel          /opt/olpc/boot/vmlinuz-2.6.26.6-lb-i386 

which means that grub will search on partition sda5 grub  for the
directory /opt/olpc/boot

How does that fit together? ( opt/ ??)

Maybe it is better NOT to make a copy of initrd and vmlinux and
define the path to the copy of the cdrom content immediately . 
In your case:

/dev/sda5   is mounted on /    (ext3)
/dev/cdrom is mounted on /cdrom

mkdir /olpc
rsync -a --exclude=TRANS.TBL /cdrom/*  /olpc/ 

and in menu.lst:

root            (hd0,4)
kernel         /olpc/boot/vmlinuz-2.6.26.6-lb-i386 .....
initrd          /olpc/boot/initrd-2.6.26.6-lb-i386

> - Create a ext3 formated partition (/dev/sda1) to save all work and use
> lb_aufs to make sugar persistence

OK

>
> my grub:
> -------------------------------------------------------------------------
> title           OLPC Sugar Desktop
> root            (hd0,4)
> kernel          /opt/olpc/boot/vmlinuz-2.6.26.6-lb-i386 quiet vga=0x317
> video=vesafb:ypan splash=silent lb_hwdetect lb_policyfile=XO-LiveCD.pdf
> lb_toram=no lb_config=8.2 lb_system=build-8.2-767 lb_country=2
> lb_device=/dev/sda5:ext3:/olpc lb_aufs=/dev/sda1
> initrd          /opt/olpc/boot/initrd-2.6.26.6-lb-i386
> boot
> -------------------------------------------------------------------------
>


> Issues:
>
> The first time this system boot all looks (no issues here) ok, then i
> did some activities, write and paint about a tree, play on tamtamjam
> too :-P
>

very nice? I see you use the Spanish language setting :)

> At the second boot (after shutdown thes system  )on the sugar, on boot i
> get and error about a no detection of my sound card, then i type 3 to
> ignore and continue.

This is strange and I will try to reproduce this problem. It seems that you do 
not have any kernel modules at this time. Please can you check that

   /lib/modules/2.6.26.6-lb-i386 

exists. To get more information you can add the boot option "lb_debug"
in menu.lst and follow the boot procedure step by step. I assume the problem
will be in  "_kmodules".


> then my name is asked again to start sugar (issue #1)
>  
> when i try to move the mouse it dint respond (missing driver?  issue #2)
>
> sugars stared, i figureout to use the keyboard and typing F4 go to the
> Journal/Diary to check for my previous activities. And i founded, good !
> but i cant move the mouse and plays sounds :-(
>
> There is similar setup on my usb pen (two partition) and the same result
> is gotten. Also i tested on my laptop and desktop with no diferences



More information about the LiveBackup-xo-cd mailing list