I have done this successfully on other machines (and recently too) but for whatever reason, I am having problems correctly mounting an NFS drive over the network from a PXE boot client.
In the end, I get a kernel panic, so first, here is the relevant error output on the client machine:
---
IP-Config: Got DHCP answer from 10.0.0.5, my address is 10.0.0.6
IP-Config: Complete:
device=eth0, addr=10.0.0.6, mask=255.255.255.0, gw=10.0.0.5,
host=slave, domain=, nis-domain=(none),
bootserver=10.0.0.5, rootserver=10.0.0.5, rootpath=/diskless
Looking up port of RPC 100003/2 on 10.0.0.5
Looking up port of RPC 100005/1 on 10.0.0.5
VFS: Mounted root (nfs filesystem) readonly.
nfs_stat_to_errno: bad nfs status return value: 45
mount_devfs_fs(): unable to mount devfs, err: -5
Freeing unused kernel memory: 220k freed
nfs_stat_to_errno: bad nfs status return value: 45
Warning: unable to open an initial console.
nfs_stat_to_errno: bad nfs status return value: 45
nfs_stat_to_errno: bad nfs status return value: 45
nfs_stat_to_errno: bad nfs status return value: 45
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
---
I assume the problem is due to the fact that the root filesystem is being mounted readonly. The other concern I have is that while the client has "rootpath=/diskless" in the above message, my actual root is at "/diskless/10.0.0.0". My client kernel arguments are:
kernel /bzImage ip=dhcp root=/dev/nfs \ nfsroot=10.0.0.5:/diskless/10.0.0.0
and my /etc/exports entry is:
/diskless/10.0.0.0 10.0.0.6(sync,rw,no_root_squash,no_all_squash)
so I am a little unclear as to how to proceed. Anyone have suggestions?
_k
-- [email protected] mailing list
