Using NFS

From ReactOS Wiki
Jump to: navigation, search

Starting with r75120, ReactOS can handle remote NFS shares. You can use them to expose host files to guest ReactOS (and the other way round). To get them working, follow the following instructions.

Host configuration

On your Linux host, you have to configure your NFS exports as you would do normally.

Specific to VirtualBox

If you are running ReactOS on VirtualBox with NAT network and your host is serving the NFS share, you have to make sure your configuration line contains the following: insecure and that you allow

An example line would look like this: /nfs/ReactOS,sync,no_subtree_check,insecure,all_squash,anonuid=65534,anongid=65534)

This makes the /nfs/ReactOS directory accessible to ReactOS VM.

ReactOS configuration

You must have a DNS name set up for your ReactOS installation. This can me set in System > Computer Name > Change > More > mydomain. The pnfs service will fail to start if there is no domain name.

Start your ReactOS and open a cmd window.

Start the NFS daemon : net start pnfs


Mount your share: net use * \\<ip addr>\share , where ip addr is either the IP address of your NFS server and where share is the full path to your share.

Specific to VirtualBox

Only if you are in a VirtualBox VM with host serving NFS share, find your gateway address by typing: ipconfig

Then, mount your share: net use * \\<gw addr>\share, where gw addr is your gateway IP (found with ipconfig command) and where share is the full path to your share.

If we take previous example, you would type net use * \\\nfs\ReactOS


If your NFS server is: and your ReactOS machine is: and you're exporting directory: /foo/bar with your NFS server.

Your server configuration may look like: /foo/bar,sync,no_subtree_check,all_squash,anonuid=65534,anongid=65534)

On your ReactOS host, you would use a command like: net use * \\\foo\bar