init=/bin/bash to the kernel command linemount -o remount,rw /nano /etc/fstabsudo apt-get install nfs-kernel-serversudo service nfs-kernel-server restart/data/share-osx as alias /share-osx:
sudo mkdir -m 000 /share-osxsudo chmod 777 /data/share-osxsudo mount --bind /data/share-osx /share-osx to mount automatically after booted, add the following to /etc/fstab:
/data/share-osx /share-osx none bind 0 0/etc/exports:
/share-osx 192.168.56.0/24(rw,insecure,all_squash,anonuid=1000,anongid=1000,sync,no_subtree_check)
# anonuid, anongid: userId/groupId (numberic) to assign to all files in the sharesudo apt-get install nfs-commonsudo mkdir -m 000 /nfs-sharesudo mount 192.168.56.1:/share-osx /nfs-share
o resvport arugment/etc/fstab:
192.168.56.1:/share-osx /nfs-share nfs rw,async,noatime 0 0
resvport if on OSX