2.2. NFS SupportΒΆ

barebox has readonly support for NFSv3 in UDP mode.


barebox:/ mount -t nfs /mnt/nfs

The barebox NFS driver adds a linux.bootargs device parameter to the NFS device. This parameter holds a Linux kernel commandline snippet containing a suitable root= option for booting from exactly that NFS share.


barebox:/ devinfo nfs0
linux.bootargs: root=/dev/nfs nfsroot=,v3,tcp

The options default to v3,tcp but can be adjusted before mounting the NFS share with the global.linux.rootnfsopts variable