I managed to boot SystemRescueCD 2.4.1 over NFS version 4 like this:pxelinux.cfg/default
LABEL SRCD - NFS
MENU LABEL SystemRescueCD 2.4.1 - NFS
append netboot=nfs initrd=srcd/initram.igz nfsboot=a.b.c.d:/srcd ro dodhcp quiet --
Please note the difference from booting over tftp: netboot=tftp://a.b.c.d/srcd/sysrcd.dat
With NFS you don't point toward sysrcd.dat
anymore! The boot process finds sysrcd.dat by itself.
note: a.b.c.d is the IP of the NFS server.
Note: Version 4 uses authentication.
According to the http://docs.slackware.com/howtos:networ ... _nfs_howto
the nfs uses the hostname.
Also, in /var/log/messages i Discovered these error messages:
Nov 20 22:17:52 filefire rpc.mountd: refused mount request from a.b.c.db for /srcd (/): unmatched host
If you did setup NFS to use any kind of authentication, you might want to replace the IP with its hostname. Do that if you see in /var/log/messages error messages about NFS requests from an UNMATCHED HOST - for me it solved the access.
But you have to have the host defined in /etc/hosts/etc/exports
It works also if you add option fsid=0
(= this is "/")
My NFS server does not work with multiple level directories in /etc/exports. So I've simulated for the NFS server a directory under "/". (search for pseudofilesystem concept in NFS4)
In my case the srcd
folder is located under /var/tftpboot/srcd. But if I put the whole path in /etc/exports
, the client (SystemRescueCD 2.4.1) tells me "No directory". Using pseudofilesystem functionality build in NFS version 4 I can access srcd folder if /etc/exports contains an export for /srcd.
The trick I used is to create a symbolic link in "/", link that points to the srcd folded
ln -s /var/tftpboot/srcd /srcd
Replace /var/tftpboot/srcd with the actual location of SystemRescueCD 2.4.1 files.
Do not forget to allow access to portmap and nfsd (/etc/hosts.allow
NFS server used: 1.2.7 from ipFIRE implementation.
Hope that it helps.
PS: extra documentation used to reach above configuration.http://nfs.sourceforge.net/nfs-howto/ar01s03.htmlhttp://www.netapp.com/us/communities/te ... -0408.aspx