← Back to team overview

edubuntu-bugs team mailing list archive

[Bug 485709] Re: /etc/init/mountall.conf fails when root is mounted using NFS instead of NBD

 

After the mountall bug #537133 was fixed, the method that was described
previously in the
https://help.ubuntu.com/community/UbuntuLTSP/LTSPWithoutNFS wiki page
again works for me. Does anyone still experience this? Marking as
incomplete...

The patch cannot be accepted in the LTSP code as it breaks nbd booting. Instead, maybe /opt/ltsp/i386/usr/share/initramfs-tools/conf.d/ltsp can be modified so that it automatically detects the BOOT variable:
MODULES="netboot"
BOOT="ltsp_nbd"
for p in $(cat /proc/cmdline 2>/dev/null); do
    case $p in
        boot=*)
            unset BOOT
            break
        ;;
    esac
done
COMPCACHE_SIZE="25%"

When unset, init will set BOOT=nfs if root=/dev/nfs is passed in the
kernel command line. So this way that file doesn't need to be modified
when one wants to boot an LTSP client with NFS.

-- 
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to ltsp in ubuntu.
https://bugs.launchpad.net/bugs/485709

Title:
  /etc/init/mountall.conf fails when root is mounted using NFS instead of NBD