Tag Archives: Embedded

Configuring NFS server in Linux

1、 Install services for NFS

sudo apt-get install nfs-kernel-server rpcbind

(by the way, you can start the SSH service sudo apt get install openssh server)

2、 NFS profile

Open profile

sudo vim /etc/exports

Add server folder path

/home/zwz/linux/nfs *(rw,sync,no_root_squash)

As above, my path is/home/ZWZ/Linux/NFS

3、 Restart NFS service

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

4、 Experimental test

1. Copy files to the NFS folder (such as zimage)
2. The client can use the corresponding NFS command to try.

[problem solving] Error:failed to get canonical path of /cow

this blog runs in Ubuntu18.04

problem description:
Error:failed to get canonical path of /cow

solution

use the recovery software boot-repair(after installing the Chinese system, look for “boot repair” in Dash) :

we need to use the system CD or U disk to enter the system, and then click “Try Ubuntu”

to install boot-repair, you need to add Ubuntu’s boot-repair PPA source and update the apt library.

sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update

Cannot add PPA if the error is reported… , can see: https://blog.csdn.net/weixin_44436677/article/details/107133371

below is the installation:

sudo apt-get install -y boot-repair   

use boot-repair to repair:

use boot-repair on the command line or click open in Dash, and then fix automatically in the software window or select advanced mode to set accordingly.

, wait a little, and restart.