Comment 24 for bug 1954716

Revision history for this message
Stephen Winnall (winnall) wrote :

Done it! I've managed to boot my RPi4 with Ubuntu Jammy off an NFSv4 share using the workaround from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=409272#14 .

I created the file in the attachment and compiled it with klcc. If anyone else wants to use it they'll have to edit the file, put their own share address in, and recompile.

I then copied the file to /usr/lib/klibc/bin/nfsmount, replacing the version installed with Ubuntu.

After that I ran update-initramfs -u (ignoring the errors - update-initramfs seems blissfully unaware of network booting with NFS of any flavour).

After ensuring that /boot/initrd.img did in fact contain my version of nfsmount (lsinitramfs -l /boot/initrd.img) I rebooted the RPi. It came up so cleanly that I thought I must have made a mistake :-)

But df -hT showed that the root was mounted with NFSv4. Now for the next problem... :-)