Unable to mount root fs via NFS

Help with booting MiniMyth

Moderator: Pablo

Post Reply
Astrolabe
New Member
Posts: 2
Joined: Sun Jul 11, 2010 7:35 am

Unable to mount root fs via NFS

Post by Astrolabe » Sun Jul 11, 2010 9:40 pm

Hello

My problem seems to be common enough but I haven't been able to find a fix that works. My Myth backend also runs DHCP and DNS services. My MiniMyth diskless box boots successfully but is unable to mount the root file system.

I am able to mount the exported MiniMyth shared directory from another linux box so I believe this is correctly set up.

My server is Mythbuntu 10.04 (2.6.32-23-generic #37-Ubuntu SMP)

The various directories and files are:

tftpboot is /var/lib/tftpboot

find .
./PXEClient
./PXEClient/conf
./PXEClient/conf/minimyth.conf
./PXEClient/minimyth-0.22.0-72
./PXEClient/minimyth-0.22.0-72/kernel
./PXEClient/pxelinux.cfg
./PXEClient/pxelinux.cfg/default
./PXEClient/pxelinux.0

nfsroot is /var/lib/nfsroot and contains the rootfs directories and files from the release tarball.

/var/lib/tftpboot/PXEClient/pxelinux.cfg/default:
DEFAULT minimyth-nfs

LABEL minimyth-nfs
KERNEL minimyth-0.22.0-72/kernel
APPEND debug ro root=/dev/nfs ip=dhcp nfsroot=gandalf:/var/lib/nfsroot/minimyth-0.22.0-72

The diskless box boots off the given kernel but then halts on:

Root-FS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device: “nfs” or inknown-block(2, 0)
Please append a correct “root=” boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
Pid: 1, com: swapper tainted G W 2.6.31.6 #1
Call Trace:
[<..... 7 lines of stuff. I can copy it in if it helps.
…...>]

I am not sure what else to add but hopefully I have given enough to show the step(s) I have missed.

Cheers,

Alan

Astrolabe
New Member
Posts: 2
Joined: Sun Jul 11, 2010 7:35 am

Re: Unable to mount root fs via NFS

Post by Astrolabe » Mon Jul 12, 2010 10:24 am

After spending a few more hours on this project, I have just noticed that the problem is probably related to the network driver. On the debug screen I can see:

IP-Config: No network devices available.

The driver I would expect to use is SIS 900 and I see this should be included in the kernel.

I would really appreciate some help here.

TIA

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: Unable to mount root fs via NFS

Post by Pablo » Fri Jul 30, 2010 6:28 pm

Could you try the latest test build as it should have the SiS 900 driver?
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

Post Reply