[debian-lan-devel] Bug#774033: debian-lan-config: diskless clients do not work: workaround

Andreas B. Mundt andi at debian.org
Mon Feb 16 19:12:46 UTC 2015


Hi,

On Sat, 27 Dec 2014 20:35:52 +0100 "Andreas B. Mundt" <andi.mundt at web.de> wrote:
> currently diskless machines seem not to work.  On login, the user is
> authenticated successfully, but the machine kind of "deadlocks"
> immediately (perhaps on mounting the home directory?) and no prompt is
> shown.

To work around the issue, switch back to serving the diskless' root
file system with nfs3.

Add the line:

    /opt/live          10.0.0.0/16(ro,no_subtree_check,no_root_squash)

to '/etc/fstab' on the mainserver and run 'exportfs -ra'.  Then modify
the pxe boot file for the corresponding machines in
'/srv/tftp/fai/pxelinux.cfg/'.  Comment the original 'append'-line and
add the second line:

   #append initrd=initrd.img ip=dhcp root=nfs4:/live aufs
   append initrd=initrd.img ip=dhcp root=/dev/nfs nfsroot=/opt/live aufs

(To do that for all diskless machines, modify line 104 in
'/usr/local/sbin/debian-lan-chroots' and run the script again.)

Do the same in '/etc/di-netboot-assistant/pxelinux.HEAD' (line 38) and
recreate the pxe-menu: 'di-netboot-assistant rebuild-menu'.

After that, diskless machines should work again.  (#759544 is another
problem that happens at least with my VMs).

Best regards,

     Andi



More information about the debian-lan-devel mailing list