Hi all,
I am developing a Linux OS for an embedded chip, and am using a guest Ubuntu 8.04 as well as my host XP for my developing environment. I would like to be able to create an NFS server on my Ubuntu host, and connect to it from an outside Linux machine. (My device only supports NFS protocol, and I can't put a linux filesystem to boot from on my Windows drive)
I am using a NAT connection and set up port forwarding, but it doesnt seem to be working.
I'm using port 2049 for NFS and 52964 for mountd.
I get the following error from the client when trying to connect:
Looking up port of RPC 100003/2 on 137.167.205.122
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 137.167.205.122
Root-NFS: Unable to get mountd port number from server, using default
Root-NFS: Server returned error -5 while mounting /home/joe/arm_root
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:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
I assume this is failing because it can't talk to the portmapper utility on port 111.
Has anyone had any experience in setting up an NFS server on a Linux guest which outside machines could connect to?
Are there other ports that NFS need to have open? Can I force port 111 to forward? (I'm not worried about security, its physically isolated from the web) Is there a better connection option than NAT for this?
Thanks a bunch,
Joe
NFS server on Ubuntu Linux guest
Re: NFS server on Ubuntu Linux guest
You need to use Bridge networking for this, see the Manual.
[This space is intentionally left blank]
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
-
twist
- Posts: 1
- Joined: 28. Aug 2009, 16:03
- Primary OS: MS Windows XP
- VBox Version: OSE other
- Guest OSses: Ubuntu
Re: NFS server on Ubuntu Linux guest
Hi Joe,
I an getting the same error you mentioned and I have my Virtual Box set up in bridge mode. What did you end up doing to fix your problem?
Thanks,
Matt
I an getting the same error you mentioned and I have my Virtual Box set up in bridge mode. What did you end up doing to fix your problem?
Thanks,
Matt