Home > Cannot Open > Vfs: Cannot Open Root Device "nfs" Or Unknown-block(2,0)

Vfs: Cannot Open Root Device "nfs" Or Unknown-block(2,0)

Contents

The mount point is properly exported from the server, as I can mount it manually from other machines. Product of Infinite series cubes Is Area of a circle always irrational more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6 Please append a correct "root=" boot option; here are the available partitions: Kernel panic - not syncing: VFS: Unable to mount Just starting out and have a question? have a peek here

The boot process stops like this: Looking up port of RPC 100003/2 on 10.0.0.136 Looking up port of RPC 100005/1 on 10.0.0.136 Root-NFS: Server returned error -22 while mounting /opt/eldk/ppc_6xx VFS: Where does \thepage kick in? Using NFSv3 for NFS Root Filesystem Question: My NFS server only allows the protocol in version 3. The remote device is set to boot from an NFS share and the kernel is told as so: Code: console=ttyO0,115200n8 root=/dev/nfs rw nfsroot=10.0.0.1:/home/nick/Dev/git-rootfs ip=10.0.0.3:::::eth0,nfsvers=3 I booted my desktop this morning after http://stackoverflow.com/questions/21012340/vfs-cannot-open-root-device-nfs-or-unknown-block0-255

Vfs: Cannot Open Root Device "nfs" Or Unknown-block(2,0)

I've read several threads about this topic (at least very similar), but none, as far as I've seen so far, has addressed mounting a nfs drive. Is this Business or Tourism? When booking a cruise, how can I find a list of all the fees in advance? Pen Tester's Programming Style Why is looping over find's output bad practice?

I do have root access to the data. –johnmadrak Aug 23 '14 at 5:50 The conversation doesn't look right to me. Why are angular frequencies used when studying crystal vibrations, over normal frequencies? keep getting error -6. Kernel Panic - Not Syncing: Vfs: Unable To Mount Root Fs On Unknown-block(2,0) The time now is 05:47 AM.

Your kernel parameters have "kernel=192.79.143.131:/linuxboot,192.168.100.14". Cannot Open Root Device Nfs Or Unknown-block(0 0) This site is not affiliated with Linus Torvalds or The Open Group in any way. printk+0x4a/0x52[ 96.852059] [] ? https://archlinuxarm.org/forum/viewtopic.php?f=29&t=2550 I've only seen topics talking about local hard drives.

xode View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by xode View Blog 08-06-2014, 12:10 PM #8 mcha LQ Newbie Registered: Feb Why are LEDs in my home unaffected by voltage drop? Converting the weight of a potato into a letter grade Hyper Derivative definition. Draw a hollow square of # with given width Why do the cars die after removing jumper cables Converting the weight of a potato into a letter grade Are there continuous

Cannot Open Root Device Nfs Or Unknown-block(0 0)

How to decide between PCA and logistic regression? According to the kernel docs, the nfs options go on the nfsroot= parameter, not the ip= one. Vfs: Cannot Open Root Device "nfs" Or Unknown-block(2,0) They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Please Append A Correct Root= Boot Option It turned out that there is not support for nfs server v2 in kernel 3.15.6.

in the config file of the client kernel, i also enabled :network support->network options->ip : kernel level autoconfiguration-> turnon everything under this option Then file system->network file system->root file system on navigate here Compare elements iteratively Advisor professor asks for my dissertation research source-code Inequality caused by float inaccuracy How do fonts work in LaTeX? Topic on Gentoo forums share|improve this answer answered Feb 25 '14 at 12:17 pera 16512 add a comment| up vote 0 down vote I believe you aren't loading "initrd.img". Google™ Search FedoraForum Search Red Hat Bugzilla Search
Search Forums Show Threads Show Posts Tag Search Advanced Search Go to Page... Unable To Mount Root Fs Via Nfs

Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name If you'd like to contribute content, let us know. Thanks for the reply though - it helped me focus a bit on what it could be. 17twenty View Public Profile Find all posts by 17twenty Tags boot, device, fedora, kernel, Check This Out You might open that in wireshark and see what it's trying to do.

mcha View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by mcha 08-03-2014, 01:36 AM #2 xode Member Registered: Aug 2003 Distribution: Mandrake I'd replace the Raspberry Pis with small VPS nodes. –Michael Hampton Aug 23 '14 at 4:27 Can't tell from your output if the mount is succeeding or not. class_dev_iter_next+0x2a/0x50[ 96.852059] [] mount_block_root+0x199/0x230[ 96.852059] [] mount_root+0xf1/0xfa[ 96.852059] [] prepare_namespace+0x137/0x16f[ 96.852059] [] kernel_init_freeable+0x1cf/0x1df[ 96.852059] [] ?

How to decline a postdoc interview if there is some possible future collaboration?

FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc. Product catalog Is adding the ‘tbl’ prefix to table names really a problem? When I try to boot the client I get the following error message: VFS: Cannot open root device "nfs" or unknown-block(0,255) Please append a correct "root=" boot option Kernel panic - Click Here to receive this Complete Guide absolutely free.

This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. This is my pillow "Carrie has arrived at the airport for two hours." - Is this sentence grammatically correct? one of these 2 actions probably fixed the problem. this contact form share|improve this answer answered Apr 10 '14 at 6:44 user3518186 1 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign

Last edited by wtx (2014-11-18 09:40:56) Offline #2 2014-11-18 09:40:41 wtx Member Registered: 2014-06-09 Posts: 73 Re: [SOLVED] qemu - starting system from nfs-root Ok, I'll answer myself. The kernel is loaded and start executing, but hits the above error eventually. VFS: Cannot open root device "nfs" or unknown-block(2,0) Answer: In addition to the kernel support, you need to specify the "nfsvers=3" option to use NFS protocol version 3 as a rootfilesystem. Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding MembersPowered by vBulletin Copyright 2000 - 2012, vBulletin Solutions, Inc.

But for now it seems the server doesn't want to respond to the client about the mount. Registration is quick, simple and absolutely free. If that is the case and it were my server, I would not try to override that and instead find another setup that would work in its place. So include something like the following in your kernel commandline: nfsroot=[:],nfsvers=3 ----- Revision r1.3 - 12 Aug 2009 - 08:34 - DetlevZundel Copyright © 2002-2016 by DENX Software Engineering Home Forums

xode View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by xode View Blog 08-04-2014, 05:05 AM #5 keefaz LQ Guru Registered: Mar Register All Albums FAQ Today's Posts Search Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc. the client can boot up if rootfs is built into the kernel. Here is the tcpdump (tcdump -vv 'port not 22') during the process: tcpdump: listening on venet0, link-type LINUX_SLL (Linux cooked), capture size 65535 bytes 02:27:49.396600 IP (tos 0x0, ttl 50, id

i also removed rdinit=/sbin/init from the kernel command line. The server does not boot up at all: is that correct? You are currently viewing LQ as a guest. The export configuration is: /fake/path (rw,no_root_squash,insecure,no_subtree_check) On the NFS Server (an OpenVZ Container), the output I see in the /var/log/messages is: Aug 22 23:24:01 vps-4178 rpc.mountd[928]: authenticated mount request from :783

Could you please post the contents of your server's /etc/exports file (it shows what nfs shares are currently being exported by the server)? Quote: console=ttyO0,115200n8 root=/dev/nfs rw nfsroot=10.0.0.1:/home/nick/Dev/git-rootfs,nfsver=3 ip=10.0.0.3:::::eth0 So I imagine the kernel is trying to mount nfsv4 and failing b/c you didn't spec the version correctly. You need to add a line, and it should look something like this : kernel=192.79.143.131:/linuxboot,192.168.100.14 append initrd=initrd.img. Not clear why you get permission denied.

mcha View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by mcha 08-05-2014, 02:55 PM #7 xode Member Registered: Aug 2003 Distribution: Mandrake I am able to mount the share /nfs_qemu manually, but Linux under qemu is not.Here is part of logs from qemu linux:[ 1.259318] 8139cp 0000:00:03.0 eth0: link up, 100Mbps, full-duplex,