NFS on Ubuntu

Showing results for 
Search instead for 
Did you mean: 

NFS on Ubuntu

No ratings

NFS on Ubuntu

Network File System (NFS)


Setting the host


1 - Install NFS Service on host typing:


$sudo apt-get install nfs-kernel-server 


2 - Create symbolic link to ltib/rootfs


$sudo ln -s <ltib instalation folder>/rootfs /tftpboot/rootfs 


3 - Setup exports typing:


$sudo gedit /etc/exports 


and add the following line:


/tftpboot/rootfs/ *(rw,no_root_squash,no_subtree_check,async) 


4 - Restart the NFS server:


$sudo /etc/init.d/nfs-kernel-server restart 


Now the host is ready to use NFS


Setting Target Linux Image to use NFS


1. Run LTIB configuration by typing:

$cd <ltib instalation folder>


$./ltib -c


2 . On first page menu, go to "Target Image Generation -> Options"      

3. Select the option NFS only and exit LTIB configuration to compile with the new configuration.


4. LTIB should start new compiling and create a new Linux image on /<ltib instalation folder>/rootfs/boot/zImage


5. Copy the created image on /<ltib instalation folder>/rootfs/boot/zImage to /tftpboot/zImage


6. The system is ready to run with NFS. The root file system on target will be located on host on /<ltib instalation folder>/rootfs/


Tags (2)

Hello, I try to create NFS Server on LS104ARDB,

however, I  run Restart the NFS server:

$sudo /etc/init.d/nfs-kernel-server restart 

device show:
Restarting nfs-kernel-server (via systemctl): nfs-kernel-server.serviceA dependency job
for nfs-server.service failed. See 'journalctl -xe' for details.

Do you know how I can figure out this issue?

Thanks you
Version history
Revision #:
2 of 2
Last update:
‎09-10-2020 02:20 AM
Updated by: