Re: Please help testing Ubuntu's future LTSP
Alkis Georgopoulos <[email protected]> Sun, 12 Feb 2012 09:12:00 +0200
| Newsgroups | gmane.linux.terminal-server.devel |
|---|---|
| Message-ID | <[email protected]> |
Στις 11/02/2012 10:45 πμ, ο/η Alkis Georgopoulos έγραψε:
> To use the new initramfs-scripts.d system, we either need
> ...
> * or to temporarily patch ltsp_nbd so that it calls the
> initramfs-scripts.d scripts itself.
The current situation is:
We want to move to the new initramfs-scripts.d system, but in Ubuntu
we're not ready yet to remove ltsp_nbd, udhcpc etc, and rely only on the
local-top/nbd, $NBD_CLIENT wrapper and init-bottom/ltsp scripts. (or
should we try to do that now too?)
So we can't yet switch to the nbdroot=ip:port/path syntax, which will be
handled by local-top/nbd. We can only use nbdserver, nbdport and nbdname
for now, which are handled by ltsp_nbd.
And init-bottom/ltsp won't be used currently, and it may never will, if
we use an alternate init= syntax:
instead of launching the initramfs-scripts from the initramfs, and
passing "ltsp" in the kernel command line to specify that we do want the
initramfs-scripts to run, we can put
init=/usr/share/ltsp/initramfs-scripts in the kernel command line.
initramfs-scripts will then `run_parts initramfs-scripts.d`, and `exec
/sbin/init`.
At that point we're on the real file system, with /proc, /dev etc
already mounted, and before the real init starts executing startup
services, which is exactly when we want to run those scripts.
We can use the same technique now too, so that we don't have to modify
ltsp_nbd to run `chroot "$rootmnt" /usr/share/ltsp/initramfs-scripts`.
So to boot ltsp using NBD, the kernel command line would look like:
append ro initrd=initrd.img boot=ltsp_nbd nbdname=ltsp_i386
init=/sbin/ltsp-init
..where ltsp-init is the current initramfs-scripts executable from
trunk, just renamed. If we indeed do that then we should probably rename
initramfs-scripts.d to ltsp-init.d too.
One small problem is that plymouth in Ubuntu disables the graphical
plugins if it detects an alternate init=, but that can be bypassed with
"plymouth:force-splash". Relevant bug report:
https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/930865
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_____________________________________________________________________
Ltsp-developer mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-developer
For additional LTSP help, try #ltsp channel on irc.freenode.net