Setting up NFS

Instructions on how to set up a network file system (NFS) for RHINO.

Using an NFS eases RHINO development, moving files onto the RHINO is as simple as dragging and dropping into a shared directory.

The following steps assume default values, set up in [prepping the rhino].


set up link to “prepping the rhino”


RHINO <—usb cable + ethernet cable—>HOST PC


point to “prepping the rhino/console” for now, look at: the old docs

Host PC

  1. Install NFS server
$ sudo apt-get install nfs-kernel-server
  1. Create NFS directory
$ sudo mkdir /opt/rhinofs
$ sudo chmod 777 /opt/rhinofs


need to recursively change permissions of /opt/rhinofs

  1. Point NFS server to RHINO filesystem
$ sudo chmod 666 /etc/exports
$ sudo echo "/opt/rhinofs       *(rw,nohide,insecure,no_subtree_check,async,no_root_squash)" >> /etc/exports
  1. Download the RHINO-filesystem


investigate problems when trying to download + extract using wget/curl

  1. Extract the filesystem into the NFS directory
$ sudo tar -xf rhinofs.tar.gz -C /opt/rhinofs
  1. Start NFS server
$ sudo service nfs-kernel-server start


  1. Power on RHINO and interrupt autoboot by pressing any key
  2. (optional) Set NFS as default boot mode
RHINO # setenv run nfsboot
RHINO # saveenv
  1. Boot from NFS
RHINO # run nfsboot
  1. Wait for a new SSH key to be generated