Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:nfs [2013/05/08 12:49] – [Configuration] niebelen:nfs [2016/06/07 15:52] ernst
Line 7: Line 7:
 user@ubuntu:~$ sudo apt-get install nfs-kernel-server user@ubuntu:~$ sudo apt-get install nfs-kernel-server
 </code> </code>
 +
 +After installation create an NFS share in file /etc/exports and add the rootpath to /etc/exports. In this example we used the BSP for TQMa6x:
 +
 +<code>
 +/home/embedded/workspace/TQMa6x-BSP-REV.0109/platform-MBa6x/root       *(rw,async,no_subtree_check,no_root_squash)
 +</code>
 +
 +After editing the file /etc/exports the NFS Server needs to be restarted.
  
 ===== Configuration ===== ===== Configuration =====
Line 20: Line 28:
 This path must match the variable ''rootpath'' of the U-Boot on the target. This variable is added to the boot parameter ''nfsroot='' and defines the source for the NFS rootfs. This path must match the variable ''rootpath'' of the U-Boot on the target. This variable is added to the boot parameter ''nfsroot='' and defines the source for the NFS rootfs.
  
-<note>+<WRAP round info>
 After this file was changed the NFS server should be restarted: After this file was changed the NFS server should be restarted:
 <code bash> <code bash>
 user@ubuntu:~$ sudo service nfs-kernel-server restart user@ubuntu:~$ sudo service nfs-kernel-server restart
 </code> </code>
-</note>+</WRAP>
  
 ===== Test the configuration ===== ===== Test the configuration =====
  • Last modified: 2022/08/04 15:02