NFS-Root not working when booting over PXE
- by Randy
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.
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?