----- Original Message ----
> From: Anthony M Simonelli <[EMAIL PROTECTED]>
> To: [email protected]
> Sent: Wednesday, November 21, 2007 2:50:32 PM
> Subject: [Ltsp-discuss] Multiple Chroot Environments - LTSP5
> 
> 
> Using LTSP 5.0.39 & Ubuntu 7.10.  I've used the kiosk plugin to create
>  a kiosk chroot environment (see this bug first:  
> https://bugs.launchpad.net/ubuntu/+source/ltsp/+bug/163278 )
> 
> Now I have two environments in the /opt directory:
> 
> /opt/ltsp
> /opt/ltsp-kiosk
> 
> and I also have two entries in the inetd.conf file corresponding to the
>  chroot environments:
> 
> 2000               stream  tcp            nowait  nobody /usr/sbin/tcpd
>  /usr/sbin/nbdrootd /opt/ltsp/images/i386.img
> 2001               stream  tcp            nowait  nobody /usr/sbin/tcpd
>  /usr/sbin/nbdrootd /opt/ltsp-kiosk/images/i386.img
> 
> The kiosk chroot is served up on port 2001 by the NBD server, but I
>  can't get the thin client to boot up using the kiosk image.  I
> always
> 
 get
>  this in the syslog:
> 
> nbd_server[29243]: connect from 192.168.0.150, assigned file is
>  /opt/ltsp/images/i386.img
> 
> After running ltsp-update-kernels -b /opt/ltsp-kiosk -d ltsp-kiosk ,
>  I've set the boot file to /ltsp-kiosk/i386/pxelinux.0 and the
> root
> 
 path
>  to /opt/ltsp-kiosk/i386 in the DHCP server but it still doesn't work.
> 
> What do I need to change in order to get the kiosk image served on port
>  2001 of the NBD server to a particular thin client?
> 

I feel stupid.  I found the answer on Launchpad.net:

https://bugs.launchpad.net/ubuntu/+source/ltsp/+bug/127332



  Oliver Grawert
    
    wrote
    on 2007-08-13:
    
  


  
    

    you need to make sure nbdroot="<serverip>:<portnumber>" or 
nbdport="<portnr>" is set in the pxe default config if you change the port so 
initramfs knows about it on boot ...



    
    
  




I have to specify the port in the PXE config file so 
/var/lib/tftpboot/ltsp-kiosk/i386/pxelinux.cfg/default looks like this:

DEFAULT vmlinuz ro initrd=initrd.img quiet splash nbdport="2001"

Sorry for wasting everyone's time, mailbox space, and resources, but hopefully 
this will help anyone else out there who is experiencing a similar problem.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_____________________________________________________________________
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