Unable to mount root via NFS
Hi
I am trying to mount my embedded linux target(ARM9 with Uboot) via NFS on my host m/c and have been running into multiple issues. My host machine runs Fedora 12. The initial problem I ran into was the following:
bootserver=255.255.255.255, rootserver=192.207.1.2, rootpath=
Looking up port of RPC 100003/2 on 192.207.1.2
Looking up port of RPC 100005/1 on 192.207.1.2
VFS: Mounted root (nfs filesystem).
Freeing init memory: 120K
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
This indicated that it is unable to find the init file under the targetfs(links to the actual buildroot dirs and busybox) /sbin and /bin. I realized that the username I was logged in as did not have permissions setup. So I went ahead and did
chmod 777 (on all files/folders in the targetfs/bin and targetfs/sbin).
Now it no longer complains about the init however it has gone backwards and now gives me the following:
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 262144 mtdblock0 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
I also used chown to change the owner of these files/exes to my login just in case, but I still get the same error. I do notice that the root= option in the bootargs for Uboot is not set, I do not know if it even matters? I did restart NFS services also.
Any help on how to troubleshoot and fix this would be very much appreciated, I have been grappling with this for a whole week and read several posts but haven't found anything yet to make the problem go away.
Thank you!
Deva
|