nfsroot boot problems

fai amd faiamd64 at yahoo.com
Mon Feb 27 19:27:39 CET 2006


hi,

i am trying to set up an amd64 fai server.would appreciate some help.


when i try to boot a client from the server i get the following error

VFS: Cannot open root device "nfs" or unknown-block (0,255)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown
block (0,255)

I am using DHCP+DNS+PXE

DHCP works as the client is able to get the ip address. PXE works as
the client is able to get the kernel image to boot. 

the kernels i tried to use:

a rebuilt version of 2.6.15 and 2.6.8 to include NFS support built into
the kernel.

from config file of 2.6.15

CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
#CONFIG_NFS_V3_ACL is not set
CONFIG_NFS_V4=y
CONFIG_NFSD=y
CONFIG_NFSD_V3=y
#CONFIG_NFSD_V3_ACL is not set
CONFIG_NFSD_V4=y
CONFIG_NFSD_TCP=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=y
CONFIG_SUNRPC=y
CONFIG_SUNRPC_GSS=y
CONFIG_SUNRPC_GSS_KRB5=y




/boot/fai/pxeclinux.cfg/default

label amd64
kernel vmlinux-install
append ip=dhcp FAI_ACTION=install root=/dev/nfs
FAI_FLAGS=verbose,sshd,syslog,debug,createvt 

tried the above and tried appendig info about nfsroot

append ip=dhcp FAI_ACTION=install root=/dev/nfs
FAI_FLAGS=verbose,sshd,syslog,debug,createvt
nfsroot=192.168.0.100:/usr/lib/fai/nfsroot


/etc/exports:

/usr/lib/fai/nfsroot *(async,ro,no_root_squash)
/usr/local/share/fai *(async,ro)


from automount:

showmounts -e 

/usr/local/share/fai *
/usr/lib/fai/nfsroot *



hardware: Dell 1850 (Xeon processor)

from dhcp.master (included from dhcp.conf)

option root-path
"192.168.0.100:/usr/lib/fai/nfsroot,rsize=8192,wsize=8192,acregmin=1800,acregmax=1800,acdirmin=1800,acdirmax=1800";

thank you,

john.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the linux-fai mailing list