Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 10-05-2007, 01:58 AM   #1
LQ Newbie
Registered: Oct 2007
Posts: 1

Rep: Reputation: 0
Root-NFS: Server returned error -13 while mounting /home/aravindb/RFS/rootfs

Hi i am trying to mount NFS file system on the target board from the Linux(fedora)Host server.

i have my RFS folder in /home/aravindb/RFS/rootfs of Host server.

i changed the /etc/exports file to

/home/aravindb/RFS/rootfs *(rw,sync,no_root_squash)

then i have given bootargs for kernel as

setenv bootargs console=ttyS0,115200,n8 noinitrd ip= root=/dev/nfs rw nfsroot= nolock mem=128M

where is target board ip address
and is server ip address.

when i tried to boot the system with this parameters i am getting error like
Root-NFS: Server returned error -13 while mounting /home/aravindb/RFS/rootfs
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: No root yet, retrying to mount root on nfs (unknown-block(2,0))
VFS: No root yet, retrying to mount root on nfs (unknown-block(2,0))

please tell me what went wrong???
Old 10-14-2007, 10:35 AM   #2
LQ Newbie
Registered: Oct 2007
Posts: 1

Rep: Reputation: 0
RE: Root-NFS: Server returned error -13 while mounting /home/aravindb/RFS/rootfs


I have faced d same problem & after some trials able to solve,hope so help u also.
I have done d same way i.e. some changes in /etc/exportfs file & then started my target board,but linux kernel was unable to mount the NFS,so i follow the foll. steps at bash shell:-

exportfs -a
service nfs restart
service network restart

& then restarted my target board.

Hope this may also solve ur problem or may be u have already got the solution,but i wanted to help others new bies in linux,which are going to face this problem definitely.
Reply if dis info help u at

Rodrex Lee
Old 09-09-2008, 11:32 PM   #3
LQ Newbie
Registered: Aug 2008
Posts: 3

Rep: Reputation: 0
If the above solution didnt work....

In my case, there was a domain problem, that is, there was some change with the domain that was assingning gateway,netmask and other network addresses. kindly do look at the /etc/hosts file and make sure whatever domain that was mentioned there is applicable. If not, add the current domain in that file and try again. It worked for me... Im pasting the contents of the file just for reference(with the actual contents removed )


# Do not remove the following line, or various programs
# that require network functionality will fail.
xx.xx.xx.xx SomeServer localhost
xx.xx.xx.xx currentdomainname localhost

P.S: after changing these contents, do perform the restarts as mentioned in the previous reply. Manytimes, just restarting the services does the magic ....
Old 05-31-2011, 08:45 AM   #4
LQ Newbie
Registered: May 2011
Posts: 1

Rep: Reputation: Disabled
A New Problem

I have also a embedded board where NFS server is running on the PC and when iam trying to boot the board from flash its working, but when i am trying to boot the same board via NFS its prompting the following error:
VFS : Mounted Root (nfs file system)
Freeing init memory : 104k
Warning : Unable to open an initial console
Kernel panic - not syncing : No init found. Try passing init = option to kernel.

I have bootargs set as follows
bootargs= console=ttyS0 root=/dev/nfs rw nfsroot= ip=
where HostIP =
target board ip =

or should i have to change my bootcmd along with bootargs so as to boot the board via NFS? if yes, then what is the command for bootcmd?
Please let me know the solution???
Any help is appreciated
Old 06-16-2011, 07:15 AM   #5
Robin Thankachan
LQ Newbie
Registered: Jun 2011
Location: Kollam, Kerala/ Hyderabad, AP, India
Posts: 3

Rep: Reputation: Disabled
Smile what is the use of /etc/export file????????

i also had the same problem. then i edit /etc/export file and now the problem is solved...... but pls tel me what is the use of that file and what is that "sync" option in the file


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting /home via nfs farmorg Linux - Networking 1 07-28-2007 08:39 PM
How would I mounting /home as an nfs share before gnome starts Nemus Linux - Networking 2 05-23-2007 11:07 AM
nfs: RPC call returned error 101 alphalzw Linux - Networking 1 08-31-2006 06:11 PM
Root-NFS: Server returned error -13 while mounting Lindahl Linux - Software 1 06-21-2006 10:56 AM
Problem mounting Root FS over NFS Amitha Linux - Software 0 02-08-2002 12:07 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:29 PM.

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