Setup NFS root filesystem

From KoanSoftware Wiki
Revision as of 10:20, 28 January 2013 by Koan (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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:


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)