Mounting root filesystem via nfs
This document (3321720) is provided subject to the disclaimer at the end of this document.
SUSE Linux Enterprise Desktop 11
SUSE Linux Enterprise Desktop 10
SUSE Linux Enterprise Server 11
SUSE Linux Enterprise Server 10
CONFIG_NFS_ROOTis not set in the SUSE kernel. So the kernel itself is not configured to support mounting the root filesystem from a NFS share.
On SLES systems it is not necessary, that the kernel itself has the CONFIG_NFS_ROOT option set. Instead you can add NFS-root support to the INITRD (initial ramdisk) to mount the root filesystem from NFS.After you have installed the client system on the NFS server machine, chroot into the installed system and call up the mkinitrd command with the following options:
mkinitrd -m "nfs e1000" -D eth0From SLE 11 on, the following command has to be used:
mkinitrd -f nfs -m e1000 -D eth0
In this example the command adds NFS-root support plus a network driver (e1000) plus a DHCP client to the INITRD. The DHCP client will fetch the IP-adress via eth0.
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:3321720
- Creation Date: 26-Feb-2007
- Modified Date:04-Mar-2021
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: email@example.com