NFS-Root not working when booting over PXE

Posted by Randy on Server Fault See other posts from Server Fault or by Randy
Published on 2012-10-30T11:31:48Z Indexed on 2012/11/11 23:03 UTC
Read the original article Hit count: 384

Filed under:
|
|
|
|

I am desperately trying to get a diskless client running over PXE-Boot using a NFS-Share as a root file system. I did this before some years ago but for some reason I am stucked at this since days.

The TFTP-Server itself is running fine and booting a netinstaller works also fine. The kernel and initrd are loaded also but the bootprocess stops with this (screenshot) kernel panic.

http://dl.dropbox.com/u/57649457/kernel-panic.png

I'm using the squeeze standard i386-Kernel and I have prepared the initrd with this config:

MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
BOOT=nfs
DEVICE=
NFSROOT=auto

I also tried

MODULES=netboot

with the same outcome.

My PXE-configuration looks like this:

LABEL linux
KERNEL diskless/debian-default/vmlinuz-2.6.32-5-686
APPEND root=/dev/nfs initrd=diskless/debian-default/vmlinuz-2.6.32-5-686 nfsroot=192.168.140.2:/storage/nfs-boot-images/default-squeeze ip=dhcp rw

Furthermore I have captured the network communication of the client via tcpdump and learned that the client isn't even trying to connect to the NFS-share.

Does anybody has got an idea what is going wrong here?

© Server Fault or respective owner

Related posts about nfs

Related posts about debian-squeeze