For OpenSlug 2.7, on first Initialization
After installing the firmware, and running
Check that you are running from the NFS export by creating a file on the slug, and checking the exported directory on the exported machine.
Note that the NFS root will not be used if there is a file
For the Unslung-4.x family of firmware. To transfer the system to an NFS drive
To prepare for this you will need to have setup a few things.
Then, you will need to copy the jffs2 rootfs to the new NFS rootfs. If your NFS Server is 220.127.116.11; the steps are similar to this on the nslu2.
Then you'll need to tell switchbox that you wish to use the nfsroot option.
Other nfs options might be desireable, but this is the bare minimum required to make it work.
My fstab looks like this:
For the Unslung-6.8 beta firmware:
The linuxrc shipped with Unslung-6.8 beta does not support root file systems on nfs. So first you need to install a new linuxrc. Connect to the NSLU2 and execute the following commands:
Then you need to tell switchbox about the nfs root file system. Assuming that your nfs server is 18.104.22.168 and you exported /home/slugroot, the following commands will do it:
Watch out for the quotes in the last command! It's different from the command used in version 4.x!
Now it's time to copy the root file system to the nfs mount:
If you're getting errors while copying /dev.state to the nfs mount, you're probably using root_squash on your linux nfs server (or -maproot on FreeBSDs nfs server).