NFS is successfully mounted to Ubuntu In the VM and the YAFFS2 file system is installed for arm11.

Source: Internet
Author: User
In order to mount nfs successfully in Ubuntu, many problems were encountered. After mounting is successful today, I feel that many of these problems can be avoided. However, from another perspective, you may be exercising your abilities. Let's talk about the main steps first, and then let's talk about the key points for successful mounting. If your mounting is unsuccessful, it is likely that these key points are not well done. The first step is to burn uboot and kernel for the Development Board. 1. format the SD card in FAT32 format. Solidify the startup code to SD

In order to mount nfs successfully in Ubuntu, many problems were encountered. After mounting is successful today, I feel that many of these problems can be avoided. However, from another perspective, you may be exercising your abilities.

Let's talk about the main steps first, and then let's talk about the key points for successful mounting. If your mounting is unsuccessful, it is likely that these key points are not well done.

The first step is to burn uboot and kernel for the Development Board.

1. format the SD card in FAT32 format. Solidify the startup code into the SD card.

Possible problems: 1 volume erro and so on.

Solution: Re-unplug the SD card. In some cases, try another SD card.

2. Download Uboot to nandflash and set Uboot parameters. Note that the serial port and baud rate must be set correctly.

Possible problems: 1. ARNING: OEMMultiBINNotify: Invalid BIN region descriptor (s ).
Don't support raw image

Solution: in this case, select USB Port> UBOOT. Select Uboot instead of transmit.
2. Unable to write uboot into nandflash

Solution: Press ENTER until OK appears. (This is generally because nand erase is not clean and must wait until OK appears. If it does not appear, it indicates that it is not erased)

3. Burn the Kernel.

The possible problems are generally the same as above 2. Pay attention to the points I mentioned.

4. Installing the root file system is also an important step. Www.linuxidc.com if you want to install the yaffs2 file, it will also involve mounting NFS.

Suppose we want to install the yaffs2 file.

First step: Install NFS

Install the NFS service software on the host (I am using Ubuntu in the virtual machine), because Debian/Ubuntu is not installed by default.

1. Install port er portmap (optional)
$ Sudo apt-get install portmap

2. Enter the following command at the terminal prompt to install the NFS server:
$ Sudo apt-get install nfs-kernel-server

3. Install the NFS client (optional)
$ Sudo apt-get install nfs-common

Note: Both nfs-kernel-server and nfs-common depend on portmap. In addition, in some documents, www.linuxidc.com suggested that apt-get should be used to manually install the NFS client nfs-common and port er portmap. However, this is not necessary, this is because apt automatically installs nfs-kernel-server.

In this way, the host is equivalent to the NFS Server. Similarly, if the target system is an NFS client, you must install the NFS client program. For Debian/Ubuntu systems, install nfs-common (step 1 ).

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.