Netboot Debian (wheezy) from NFS v4

Posted by bara on Server Fault See other posts from Server Fault or by bara
Published on 2012-04-14T16:12:05Z Indexed on 2012/04/14 17:31 UTC
Read the original article Hit count: 336

Filed under:
|
|
|
|

Is it possible to boot Debian Wheezy from NFS v4?

Bootwing with NFS v3 works just fine. NFS v4 not.

This is in my /etc/exports:

/nfs 192.168.100.0/24(ro,sync,insecure,no_root_squash,no_subtree_check,fsid=0)
/nfs/root 192.168.100.0/24(ro,nohide,sync,insecure,no_root_squash,no_subtree_check)

/nfs/root/www contains the root of the webserver.

The commandline is:

rootfstype=nfs4 root=/dev/nfs4 nfsroot=192.168.100.1:/root/www

fails with mount call failed - server replied: Permission denied.

Mounting from the busybox in the initrd fails:

mount -t nfs4 192.168.100.1:/nfs/root/www /root
mounting .. failed: Invalid argument

Do I need to modify the initrd?

© Server Fault or respective owner

Related posts about debian

Related posts about nfs