是否有可能从NFS v4启动Debian Wheezy?
使用NFS v3的Bootwing工作得很好。 NFS v4没有。
这是在我的/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包含Web服务器的根目录。
命令行是:
rootfstype=nfs4 root=/dev/nfs4 nfsroot=192.168.100.1:/root/www
mount call failed - server replied: Permission denied.
从busybox挂载到initrd失败:
mount -t nfs4 192.168.100.1:/nfs/root/www /root mounting .. failed: Invalid argument
我需要修改initrd吗?
我认为你必须创build一个initrd与nfs4挂载utils在它。 或者也许试试这个: http : //packages.debian.org/squeeze/dracut 。