Setup NFS root filesystem
From KoanSoftware Wiki
Setup NFS root filesystem
This setup assumes the following settings and static addressing:
- the target system has Ethernet support built into the kernel
- the target system is on the same network as a Linux workstation
Kernel Support
Make sure you have the following options turned on in the kernel:
CONFIG_ROOT_NFS=y
Then, add the following to your kernel CMDLINE:
root=/dev/nfs nfsroot=<nfs server IP>:/path/to/nfsroot ip=<target IP>:<server IP>:<gateway IP>:<netmask>
Workstation Setup
Don't forget to setup your workstation
(edit /etc/exports to contain something like the following)
/path/to/nfsroot *(rw,no_root_squash,async)