LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 03-18-2009, 07:18 PM   #1
jg167
Member
 
Registered: Jun 2004
Posts: 40

Rep: Reputation: 15
problems attempting to use nfsroot with FC10


I am trying to boot a server using a root partition on NFS. There are many web hits on this topic, but none seem very recent, and none that I found addressing this particular issue. The problem is that the last thing that comes out on the console is

nfsmount: error mounting /dev/nfs on /sysroot as nfs: No such file or directory

But a few more details on just what it can not find (host, file, ..) woluld be helpful. I could not find a kernel param that offered more logging (debug does not help here).

What I did was
1) add nfs support to the kernel ( CONFIG_NFS_FS=y ... ) and put it in /boot
2) make the root an nfs mount in /etc/fstab (on the nfs root)
3) mkinitrd --fstab=<the above file> for a new initrd... in /boot, and this seems to have done the right stuff (i.e. looking into the init script).
4) put an entry into /boot/grub/menu.lst that says
kernel /vmlinuz-2.6.27.20_nfs.x86_64 ro root=/dev/nfs nfsroot=10.3.1.222:/perf_linux_share/diskless_roots/poc06 rhgb quiet

The share 10.3.1.222:/perf_linux_share/diskless_roots/poc06 does in fact exist, thout /perf_inux_share is what is exported not the sub-directory, is that ok? (I am not restricting sub-dir mounts). If I just cut and past the nfsroot=<arg> into a mount -t nfs <nfsroot arg> /mnt it works fine.

I tired adding all the ip= (aka nfsaddr=) stuff but that did not help. I get the same error even if the target root on nfs is in fact missing (i.e. renamed) so I'm guessing it can not find it, but I don't see why.

Anyone know how to get more info on what is going wrong?
-jrg
 
  


Reply

Tags
fc10


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
nfsroot problem jnreddy Linux - Desktop 0 10-08-2008 04:44 PM
[SOLVED] Problems attempting to install and use a SD card reader/writer Flywelder Linux - Newbie 3 04-27-2007 08:34 PM
nfsroot question the_alexx Linux - Networking 0 05-13-2005 01:36 AM
Attempting to compile software - GTK+ problems vasudevadas Mandriva 2 11-24-2003 01:59 PM
nfsroot problem nilwer Linux - Networking 0 09-15-2003 11:17 AM


All times are GMT -5. The time now is 02:48 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration