Why is my Linux kernel not booting over NFS?

Why is my Linux kernel not booting over NFS?

Here is an excerpt from the boot log and my u-Boot session. I’ve enabled nfsrootdebug in the kernel command line but it doesn’t look like it has any effect. journalctl -xe on the NFS server side does indicate attempts to access the directory but the boot log doesn’t print anything at all. What could be causing this?

How does TFTP boot and NFS root filesystem work?

The bootscript provides U-Boot with the TFTP commands to load the image files and to boot the kernel. The bootscript also provides the kernel command line boot parameters ( bootargs) to mount the NFS root filesystem. These override the arguments in the devicetree (see chosen { } ).

What’s the NFS-Unix-Linux stack exchange boot log?

I’m using nfs-kernel-server with this /etc/exports. Here is an excerpt from the boot log and my u-Boot session. I’ve enabled nfsrootdebug in the kernel command line but it doesn’t look like it has any effect. journalctl -xe on the NFS server side does indicate attempts to access the directory but the boot log doesn’t print anything at all.

When to ignore NFSroot in Linux command line?

If the specified file exists and the kernel can execute it, root filesystem related kernel command line parameters, including ‘nfsroot=’, are ignored. To get the kernel into memory different approaches can be used. They depend on various facilities being available:

How to boot the BeagleBone Black kernel over NFS?

I’m trying to boot the 4.13.0-rc2 mainline kernel on the Beaglebone Black (rev C) with omap2plus_defconfig over NFS. I’ve enabled CONFIG_NFS_ROOT along with the following options:

What does nfsrootdebug do in Linux command line?

I’ve enabled nfsrootdebug in the kernel command line but it doesn’t look like it has any effect. journalctl -xe on the NFS server side does indicate attempts to access the directory but the boot log doesn’t print anything at all. What could be causing this? How can I get more debug information to zero in on the cause?

Why does U-Boot not work with NFSv4?

For some reason a lot of boards with u-Boot based bootloader don’t like NFSv4. If you add v3 option to nfs it should work well. Of course, this needs to be investigated further, but due to lack of time I was not able to find the reason for that.