[meta-freescale] Mounting rootfs via NFS

Fabio Estevam festevam at gmail.com
Tue May 14 09:11:12 PDT 2013

Hi Eric,

On Tue, May 14, 2013 at 1:05 PM, Eric Bénard <eric at eukrea.com> wrote:

> what are your nfs server settings ?

Here is my /etc/exports:

# /etc/exports: the access control list for filesystems which may be exported
#		to NFS clients.  See exports(5).
# Example for NFSv2 and NFSv3:
# /srv/homes       hostname1(rw,sync,no_subtree_check)
# Example for NFSv4:
# /srv/nfs4        gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)
# /srv/nfs4/homes  gss/krb5i(rw,sync,no_subtree_check)
/tftpboot/rfs/ *(rw,no_root_squash,no_subtree_check,async)

sudo /etc/init.d/nfs-kernel-server restart
[sudo] password for fabio:
 * Stopping NFS kernel daemon                                            [ OK ]
 * Unexporting directories for NFS kernel daemon...                      [ OK ]
 * Exporting directories for NFS kernel daemon...                        [ OK ]
 * Starting NFS kernel daemon                                            [ OK ]

In the kernel log I see:

mount: permission denied (are you root?)

Not sure how to overcome this though.


Fabio Estevam

More information about the meta-freescale mailing list