Hi all,

I am a long time LTSP user (since 3.0). Now I am tring to integrate LTSP
in a "universal boot server" that helps all workstations of the network
to boot. This server provide LTSP, classical Diskless, local Windows AND
"partimage diskless" (to restore the Windows (because Windows s...
))
The user choose what he wants via a network enabled grub. So, my dhcp
serveur has filename option set to "nbgrub" or pxegrub". But I can't set
a root-path before I know what the user chose because my /etc/exports
look like this :

  #LTSP
/var/lib/vservers/ubuntu/opt/ltsp/i386
192.168.0.0/255.255.255.0(ro,no_root_squash,async)
/var/lib/vservers/ubuntu/var/opt/ltsp/swapfiles
192.168.0.0/255.255.255.0(rw,no_root_squash,async)
  #Diskless
/var/lib/vservers/ubuntu/opt/diskless/default/root/
192.168.0.0/255.255.255.0(rw,no_root_squash,async)
/var/lib/vservers/ubuntu/var/lib/diskless/default/
192.168.0.0/255.255.255.0(rw,no_root_squash,async)
  #Diskless
/var/lib/vservers/ubuntu/opt/diskless/partimage/root/
192.168.0.0/255.255.255.0(rw,no_root_squash,async)
/var/lib/vservers/ubuntu/var/lib/diskless/partimage/
192.168.0.0/255.255.255.0(rw,no_root_squash,async)

So there is at least 3 different "root-path". The solution is to use the
"nfsroot=" append option in grub like this :

title LTSP 4.1 Terminal
kernel (nd)/lts/2.6.9-ltsp-3/bzImage-2.6.9-ltsp-3 init=/linuxrc2 rw
root=/dev/ram0
nfsroot=192.168.0.5:/var/lib/vservers/ubuntu/opt/ltsp/i386
initrd (nd)/lts/2.6.9-ltsp-3/initrd-2.6.9-ltsp-3.gz

And using a modified linuxrc script, like the one I made for 4.1 ltsp
(just swaped rootpath and nfsroot in the script and that works (tested))

But, (there is allways a but) I can't open the new inramfs.gz thing to
add my linurc2 in LTSP 4.2.
 
My idea is that we should modify the linuxrc script in all LTSP so that
LTSP could work with classical rootpath AND nfsroot so LTSP will work
better in networks where he is not alone. (This can also be usefull if
you want to have ltsp 4.1 and 4.2 on the same server at the same time)

I can provide this script if Jim is interested. If not, can someone help
me to open that initramfs.gz thing ?

Thanks reading my long an poor english message.

If someone else has this kind of problems with LTSP please tell me.

--
Julien
  







-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to