LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-25-2012, 03:44 PM   #1
5883
Member
 
Registered: Aug 2004
Posts: 173

Rep: Reputation: 0
VFS: Unable to mount root fs via NFS, trying floppy.


this is an embedded board,

if i nfs boot from /home/user1/fs, it boots fine.

Then i "sudo cp -R /home/user1/fs /home/5883",
then try to nfs boot from /home/5883/fs, it says


VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00 128 mtdblock0 (driver?)
1f01 1664 mtdblock1 (driver?)
1f02 256 mtdblock2 (driver?)
1f03 3072 mtdblock3 (driver?)
1f04 3072 mtdblock4 (driver?)
1f05 65536 mtdblock5 (driver?)
1f06 65536 mtdblock6 (driver?)
1f07 4096 mtdblock7 (driver?)
1f08 380928 mtdblock8 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
[<c0039d78>] (unwind_backtrace+0x0/0xec) from [<c033f668>] (panic+0x54/0x178)
[<c033f668>] (panic+0x54/0x178) from [<c0008ec0>] (mount_block_root+0x1d0/0x210)
[<c0008ec0>] (mount_block_root+0x1d0/0x210) from [<c0008fa0>] (mount_root+0xa0/0xc0)
[<c0008fa0>] (mount_root+0xa0/0xc0) from [<c0009128>] (prepare_namespace+0x168/0x1c0)
[<c0009128>] (prepare_namespace+0x168/0x1c0) from [<c0008440>] (kernel_init+0x108/0x148)
[<c0008440>] (kernel_init+0x108/0x148) from [<c00355f8>] (kernel_thread_exit+0x0/0x8)


this is the only change, any suggestions ?
 
Old 04-25-2012, 04:36 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,374

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
home/5883/fs
and
home/5883

are not the same. Not same permissions maybe, not same nfs mount, also dunno about how this boots, any comments to some folder?


Has nothing to do with floppy, just correct access to the data.
 
Old 04-25-2012, 05:27 PM   #3
5883
Member
 
Registered: Aug 2004
Posts: 173

Original Poster
Rep: Reputation: 0
i've changed the group/owner recursively, they should be the same.

panic ....


Quote:
Originally Posted by jefro View Post
home/5883/fs
and
home/5883

are not the same. Not same permissions maybe, not same nfs mount, also dunno about how this boots, any comments to some folder?


Has nothing to do with floppy, just correct access to the data.
 
Old 04-25-2012, 06:04 PM   #4
alglin
LQ Newbie
 
Registered: Apr 2012
Posts: 1

Rep: Reputation: Disabled
/etc/exports

Have you updated the /etc/exports file to reflect the change in the filesystem to be mounted?
 
Old 04-25-2012, 06:14 PM   #5
5883
Member
 
Registered: Aug 2004
Posts: 173

Original Poster
Rep: Reputation: 0
cannot use cp, have to use tar, learned sth. today ...

Quote:
Originally Posted by alglin View Post
Have you updated the /etc/exports file to reflect the change in the filesystem to be mounted?
 
  


Reply


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
VFS: unable to mount root via NFS... gireya Linux From Scratch 0 09-05-2008 07:29 PM
VFS: Unable to mount root fs via NFS, trying floppy aleksanteri Linux From Scratch 0 10-26-2007 01:00 AM
VFS: Unable to mount root fs pappsynz Linux - Newbie 10 10-07-2005 08:02 AM
VFS Unable to mount root fs on 00:00 thelandrew Linux - Newbie 9 03-30-2004 02:25 AM
VFS: unable to mount root fs -Dice Linux - Newbie 20 11-04-2003 02:05 PM


All times are GMT -5. The time now is 10:52 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration