Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

this is wrong;

initrd=diskless/debian-default/vmlinuz-2.6.32-5-686

you are trying to load as initrd what in fact is the KERNEL; see the kernel line. That's why when the kernel tries to mount a kernel copy as the initial ram disk it panics... correct that line and you'll be fine

share|improve this answer
    
Thank you very much! That did the trick. Seems as if I was blind on both eyes ... –  Randy Nov 17 '12 at 20:23
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.