Setup NFS root filesystem: Difference between revisions
Jump to navigation
Jump to search
(Created page with "= Setup NFS root filesystem = This setup assumes the following: * the target system has Ethernet support built into the kernel * the target system is on the same network as a L…") |
No edit summary |
||
| Line 1: | Line 1: | ||
= Setup NFS root filesystem = | = Setup NFS root filesystem = | ||
This setup assumes the following: | This setup assumes the following settings and static addressing: | ||
* the target system has Ethernet support built into the kernel | * the target system has Ethernet support built into the kernel | ||
* the target system is on the same network as a Linux workstation | * the target system is on the same network as a Linux workstation | ||
=== Kernel Support === | === Kernel Support === | ||
| Line 11: | Line 10: | ||
Make sure you have the following options turned on in the kernel: | Make sure you have the following options turned on in the kernel: | ||
CONFIG_ROOT_NFS=y | CONFIG_ROOT_NFS=y | ||
Then, add the following to your kernel CMDLINE: | 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 === | === Workstation Setup === | ||
Latest revision as of 10:20, 28 January 2013
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)