Jump to content











Photo
- - - - -

WDS with LTSP

wds ltsp pxechain

  • Please log in to reply
1 reply to this topic

#1 pigdog

pigdog
  • Members
  • 2 posts
  •  
    South Africa

Posted 17 June 2012 - 05:31 PM

Good day,

I am trying to integrate a WDS server and an Ubuntu LTSP server on the same network.
At this point if I have the MS DHCP Server active the WDS Server boots fine and works as expected
If I have the Ubuntu DHCP server active LTSP boots fine and works as expected.

When trying to integrate the two systems I have an issue
Here are my config files
WDS Server (Set up with pxelinux) /pxelinux.cfg/default file:

DEFAULT	  vesamenu.c32

PROMPT	   0

NOESCAPE	 0

ALLOWOPTIONS 0

# Timeout in units of 1/10 s

TIMEOUT 300

MENU WIDTH 40

MENU MARGIN 0

MENU ROWS 18

# MENU TABMSGROW 21

MENU TIMEOUTROW 26

MENU USHIFT 5

MENU VSHIFT 2

MENU COLOR BORDER 30;44 #00000000 #00000000 none

MENU COLOR TABMSG 1;36;44 #00000000 #00000000 none

MENU COLOR TITLE 1;36;44 #00000000 #00000000 none

# MENU COLOR SCROLLBAR 30;44 #20ffffff #00000000 none

# MENU COLOR SEL   30;47 #40000000 #20ffffff

MENU BACKGROUND DeploymentBackground.png



MENU TITLE PXE Boot Menu

#---

LABEL wds

MENU	   LABEL Windows Deployment Services

KERNEL	 pxeboot.0



LABEL local

MENU	   DEFAULT

MENU LABEL Boot from Harddisk

LOCALBOOT 0



LABEL maverickubuntudesktop64

MENU LABEL Deploy Ubuntu Desktop 10.10 64 bit

KERNEL /maverick/64/linux

append vga=769 initrd=/maverick/64/initrd.gz ksdevice=eth0 ks=http://192.168.1.11/ubuntu10/kickstart/ksx64.cfg



LABEL lucidserver32

MENU LABEL Ubuntu 10.04 LTS Server 32 Bit

kernel /lucid/32/linux

append vga=normal initrd=/lucid/32/initrd.gz ksdevice=eth0 ks=http://192.168.1.11/ubuntu-svr32/ks/ks.cfg -- quiet



LABEL lucidserver64

MENU LABEL Deploy Ubuntu 10.04 LTS Server 64 Bit

kernel /lucid/64/linux

append ks=http://192.168.1.11/ubuntu-server/ks/ksx64.cfg vga=normal initrd=/lucid/64/initrd.gz ramdisk_size=32768 root=/dev/ram rw --



LABEL mini

#MENU PASSWD P@ssw0rd

MENU LABEL Deploy Linux Mini x64

KERNEL /mini/linux

append boot=mini initrd=/mini/initrd.gz ramdisk_size=16417 root=/dev/ram rw apt-setup/security_host= mirror/http/proxy= -- ks=http://192.168.1.11/kickstart/Ubuntu_Desktop_64.cfg



LABEL pangolin

MENU LABEL Deploy Ubuntu Desktop 12.04 64 bit

KERNEL /pangolin/64/linux

append vga=769 initrd=/pangolin/64/initrd.gz ksdevice=eth0 ks=http://192.168.1.11/ubuntu12/ks/ksx64.cfg



label GParted Live

MENU LABEL GParted Live

kernel /gparted/vmlinuz

append initrd=/gparted/initrd.img boot=live config union=aufs noswap noprompt vga=788 fetch=http://192.168.1.11/gparted/filesystem.squashfs



label Password Changer

MENU LABEL Password Changer

kernel /password/vmlinuz

append rw vga=1 initrd=/password/initrd.cgz,/password/scsi.cgz



label System Rescue

MENU LABEL System Rescue

kernel rescue/rescuecd

append initrd=rescue/initram.igz ramdisk_size=9216 scandelay=1 setkmap=us dostartx vga=791 boothttp=http://192.168.1.11/rescue/sysrcd.dat



LABEL linuxpxe64

  MENU LABEL Ubuntu 64 Thin Client...

  KERNEL pxechain.com

  APPEND 192.168.1.11::/ltsp/amd64/pxelinux.0



LABEL linuxpxe32

  MENU LABEL Ubuntu 32 Thin Client...

  KERNEL pxechain.com

  APPEND 192.168.1.11::/ltsp/i386/pxelinux.0


LTSP Server /var/lib/tftboot/ltsp/amd64/pxelinux.cfg/default

default ltsp





label ltsp

kernel vmlinuz

append ro initrd=initrd.img root=/dev/nbd0 init=/sbin/init-ltsp vt.handoff=7 nbdroot=:ltsp_amd64

#quiet splash plymouth:force-splash


note: I have disabled the quiet splash and plymouth options to see what is happening during boot.

Now the problem is as follow in this configuration ALL items defined in the WDS server's default file work fine with the exception of the LTSP entries when I boot these it actually starts booting from the Ubuntu LTSP server but I keep getting nbd timeouts when LTSP tries to mount the NBD device I have tried with a couple of other strings and options but do not seem to be getting anywhere, it would appear that for some reason the nbd-server cannot be contacted (or I saw once it tries to find the nbd-server on the wds server)

If anyone can point me in the right direction I would really appreciate it.

Thanks in advance

#2 pigdog

pigdog
  • Members
  • 2 posts
  •  
    South Africa

Posted 18 June 2012 - 04:52 AM

I got it working after reverting LTSP back to NFS by using this guide https://help.ubuntu..../LTSPWithoutNFS
  • Nuno Brito likes this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users