I am doing a PXE boot via NFS root. while booting, following messages shows and stays there:
VFS: Cannot open root device "nfs" or unknown-block(0-255)
Please append a correct "root=" root option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0-255)
Here are my configuration files:
PXE server IP: 192.168.1.1
client: 192.168.1.200
I have started NFS server using yast.
/pxelinux.cfg/default
==============================
default NFSROOT
timeout 1000
# NFSROOT
label NFSROOT
kernel bzImage
append console=ttyS0,9600,8n1 init=/sbin/init root=/dev/nfs rw nfsroot=192.168.1.1:/nfsroot ip=192.168.1.200:192.168.1.1:255.255.255.0:
ff noapic acpi=off
/etc/exports
===============================
/nfsroot *(rw,no_all_squash,no_root_squash)
/etc/dhcp.conf
===============================
option routers 192.168.1.1;
allow booting;
allow bootp;
ddns-update-style ad-hoc;
default-lease-time 2592000;
subnet 192.168.1.0 netmask 255.255.255.0 {
filename "pxelinux.0";
range 192.168.1.100 192.168.1.200;
default-lease-time 1209600;
max-lease-time 31557600;
next-server 192.168.1.1;
}
Kernel version is 2.6.24.4 and it is compiled with the following configuration options:
CONFIG_NFS_FS (NFS filesystem spport)
CONFIG_ROOT_NFS (root file system on NFS)
CONFIG_NET_ETHERNET (10 OR 100Mbit)
CONFIG_IP_PNP (kernel level autoconfiguration)
CONFIG_IP_PNP_BOOTP (BOOTP support)
any help is much appreciated.
regards
-Fardad