Mounting NFS root FS

From: William Estrada
Date: Sat Dec 02 2006 - 14:03:55 EST


Hi guys,

I have been trying to make FC5's kernel do a boot with an NFS root file system. I see
the support is in the kernel(?). I have tried this:

[root@Server ~]# cat /tftpboot/pxelinux.cfg/0A0101
SERIAL 0 9600
Say

SAY Hello

SAY Trying NFS
SAY ramdisk_size=10000 debug ip=dhcp initrd=NFS/initrd.gz lang=us apm=power-off console=ttyS0,9600 console=tty0 quiet root=/dev/nfs nfsroot=10.1.1.12:/tftpboot/NFS/Root_FS init=/bin/bash

Default NFS/vmlinuz

append ramdisk_size=10000 debug ip=10.1.1.50 initrd=NFS/initrd.gz lang=us apm=power-off console=ttyS0,9600 console=tty0 quiet root=/dev/nfs nfsroot=10.1.1.12:/tftpboot/NFS/Root_FS init=/bin/bash

I get "mount: could not find file system: '/dev/root'" and then a kernel panic.

I am using the FC5 kernel and the FC5 initrd.gz as you can see above.

[root@Server ~]# ls -lrt /tftpboot/NFS/
total 2636
drwxr-xr-x 4 root root 4096 Nov 26 18:41 SAVE
-rwxr-xr-x 1 root root 932077 Nov 26 18:51 initrd.gz
drwxr-xr-x 13 root root 4096 Nov 26 19:18 Root_FS
-rwxr-xr-x 1 root root 1732515 Nov 26 19:37 vmlinuz

I tried to build a new kernel many times, but that process failed.

Am I missing something? Do I need to change linuxrc? Does someone have a simple example
of how to do an NFS Root FS?

Would appreciate any points.

--
Thanks for your time.

William Estrada

Email : MrUmunhum at popdial dot com
Resume : www.Mt-Umunhum-Wireless.net/resume/william_estrada.html
HTTP : www.Mt-Umunhum-Wireless.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/