ltsp-update-image

Oliver Grawert ogra at ubuntu.com
Fri Jan 4 12:47:32 GMT 2008


hi,
On Fr, 2008-01-04 at 12:52 +0100, Anton Kaser wrote:
> I still keep trying to get changes from the ltsp-nbd into the Client-Image
> 
> I did the following:
> 
> change the /opt/ltsp/i386/usr/share/initramfs-tools/scripts/ltsp-nbd
right ...

> copied it to and as  /opt/ltsp/i386/initrd/nfs
> ran     mkinitramfs -o nfs
wrong ...

the changes you made to the ltsp-nbd script above will be pulled in by
the command:

sudo chroot /opt/ltsp/i386 update-initramfs -u

dont call mkinitramfs directly... 
whats the particular reason for copying it to be called nfs (which wont
be executed without further changes to the initramfs setup that defaults
to ltsp-nbd) ?

> then    ltsp-update-kernels
right ...
that copies the kernel and initramfs in the tftp dir ...

> then    ltsp-update-image
ltsp-update-image insnt needed here your initramfs gets pulled by tftp
before the image is even available ...

> 
> But I think the ltsp-update-imgae did not use the ltsp-nbd yet!
> 
as i said above, the initramfs isnt used from the image but only fom the
tftp dir :)

> And after the command "ltsp-update-image" I get at the end:
> Info: port 2000 is already defined with /opt/ltsp/image/i386.img in
> inetd.conf
> info: taking no action
i should probably change the messages here if it confuses you, the
"info:" should have told you something though :) it means that there is
no need to add the image to the inetd.conf since it is already there
with the exact same config the script would add. since there is no
"error:" you can rely on it having finished properly :)

> 
> if i command out the last line in /etc/inetd.conf (2000.....) then the
> ltsp-update-image command runs to the end and says:
> Info: updating inetd config
right, and adds an identical line ;)

> 
> any further suggestions???
> To which place and under which name should the ltsp-nbd script be copied??
just keep the name and use the update-initramfs and ltsp-update-kernels
scripts as described above, keep a backup of a working copy of the
script so you are not screwed if the clients dont boot anymore and can
roll back :)

ciao
	oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/edubuntu-users/attachments/20080104/74801715/attachment.pgp 


More information about the edubuntu-users mailing list