[lfs-support] NFS root booting fails...

Michael Robinson plug_1 at robinson-west.com
Sat Aug 25 20:12:55 PDT 2012

[root at goose64 etc]# cat fstab 
# Begin /etc/fstab

# file system	mount-point	type	options		dump	fsck order
goose64.robinson-west.com:/nfsroot/lfs/lfsx86_64/eagle64	/	nfs	rw,_netdev,rsize=8192,wsize=8192	1	1
goose64.robinson-west.com:/nfsroot/lfs/lfsx86_64/usr		/usr	nfs	ro,_netdev,rsize=8192			0	0
goose64.robinson-west.com:/nfsroot/lfs/lfsx86_64/home		/home	nfs	rw,_netdev,rsize=8192,wsize=8192	0	0

proc		/proc		proc		nosuid,nodev,noexec	0	0
sysfs		/sys		sysfs		nosuid,nodev,noexec	0	0
devpts		/dev/pts	devpts		gid=4,mode=620		0	0
tmpfs		/run		tmpfs		defaults		0 	0
devtmpfs	/dev		devtmpfs	mode=0755,nosuid	0	0

goose64.robinson-west.com:/backup/eagle64	/backup		nfs	rw,_netdev,rsize=8192,wsize=8192	0	0
goose64.robinson-west.com:/md0/eagle64		/backup/more	nfs	rw,_netdev,rsize=8192,wsize=8192	0	0

# End /etc/fstab
[root at goose64 etc]# 

The above is the fstab on the NFS exported root filesystem, system is LFS 7.1 based.

Two problems, tmpfs doesn't mount on /run and /run doesn't get created.
The /usr and /home filesystems don't mount and wc which is under /usr/bin is not found.

If I didn't know any better, I'd say that the fstab is never getting read.

I seem to be able to mount all of the shares that are needed under Fedora 17 no problem.

I know that the root file system is mounting via NFS because the boot scripts are trying to run.

As far as I can tell, tmpfs and devtmpfs are compiled into the kernel.

More information about the lfs-support mailing list