Hi,

I posted this question on the Ubuntu forum earlier, no reply.

How would I configure/build LTSP client if the boot server is not the
same as LTSP server?

Given a 64-bit computer (host) which runs several 32-bit VMs (with
kvmadm); Ubuntu (8.04 fresh internet install with mini.iso) ltsp
server is on one of these VMs. The host computer provides bridging, so
all VMs are on the same subnet. The host computer also runs TFTP and
DHCP servers. Diskless client is of course a separate PC, plugs into
host's ethernet card which is on the same bridge with VMs.

In the boot server's dhcpd.conf there is the following:

      host <thin client host name> {
        hardware ethernet <thin client MAC>;
        fixed-address <thin client host name with domain>;
        option root-path "<IP of Ubuntu VM>:/opt/ltsp/i386";
      }

The Ubuntu VM exports /opt/ltsp/i386 via nfs. DHCP server is disabled
on Ubuntu VM. I wouldn't really want to use the Ubuntu VM as DHCP
server.

I copied ltsp client's Linux kernel and initrd from Ubuntu VM
(/opt/ltsp/i386/boot, vmlinuz-2.6.24-16-generic and
initrd.img-2.6.24-16-generic)to the tftpboot directory of the host
computer as vmlinuz-ltsp and initrd-ltsp resp. I added these lines to
the host computer's pxelinux.cfg/default (similarly to those in the
ltsp's pxelinux.cfg/default):

label Ubuntu LTSP
kernel vmlinuz-ltsp
append initrd=initrd-ltsp ro quiet splash

If I select this item in the client's PXE boot menu, the image starts
booting, I see Ubuntu splash screen, but it cannot mount root because
it tries to do that with the boot server (connection refused, as the
host does not provide anything for this). I tried to append the "ip"
parameter with IP if the Ubuntu VM as the second field: no effect.
Same with "nfsroot" parameter.

ifconfig shows correct IP address on client's eth0.

When booting the client, I get to the shell prompt with messages that
it cannot mount root. IP configuration shows that root server IP is
host's IP (instead of desired Ubuntu VM's IP), and root path is as in
dhcpd.conf, but still root cannot be mounted. I can manually mount the
Ubuntu VM's NFS share from client's shell prompt, so there is
connectivity.

Basically all I need is to tell the client that root server is Ubuntu
VM rather than the host. Is this DHCP deficiency, or just not assumed
in LTSP design?

Any ideas?

-- 
Dimitry Golubovsky

Anywhere on the Web

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_____________________________________________________________________
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