Clarification for NFSROOT ?
Thomas Lange
lange at informatik.uni-koeln.de
Tue Jan 7 11:38:58 CET 2014
>>>>> On Sat, 04 Jan 2014 15:35:02 -0500, George VerDuin <gfv2008-home at yahoo.com> said:
> Let's start with the content of pxelinux.cfg/file. My FAI is 4.0.8. In
> the boot string is found the parm.:
> nfsroot=192.168.2.12:/srv/fai/nfsroot:vers=3
> The above works fine for my LAN.
> BUT: In order to obtain this parm requires manual editing to insert
> both the ip and vers into the text following creation of the file by
> fai-chboot. I'm searching for a better approach.
You can create a PXE config template file by hand, and then use
fai-chboot -vc to copy this template to a certain host configuration.
> The way I find that nfsroot.conf file works is:
> A) NFSROOT=/srv/fai/nfsroot
> works correctly for fai-setup while creating nfsroot per the
> fai-guide
> B) NFSROOT=192.168.2.12:/srv/fai/nfsroot:vers=3
> works correctly for fai-chboot while building a pxelinux.cfg/file.
Do not use B, because in nfsroot.conf the variable NFSROOT is used for
creating the nfsroot. It's not the same as nfsroot= in the
pxelinux.cfg files.
You should also use root= instead of nfsroot= in the pxelinux.cfg
files when using dracut, which is default for FAI 4.
--
regards Thomas
More information about the linux-fai
mailing list