Fedora 9 nfs, which may be unknown to some friends. Here we will introduce the installation process in detail. We hope to provide you with a reference and help you. This morning, I installed Fedora 9 nfs on the hard disk and found a lot of references on the Internet. In fact, the installation is still very good.
1. First download the fedora image file Fedora-9-i386-DVD from the Internet put in the FAT32 partition cannot put in the NTFS partition). The partition is best to have 20 GB of space. URL: http://fedoraproject.org/zh_CN/get-fedora
2. Extract the two files initrd. img and vmlinuz in the isolinux folder and put them in the C root directory.
3. Download grub4dos and extract three grldr grub.exe and menu. lst files and put them in the C root directory.
4. Use notepad to Open menu. lst and add the following:
Title Install Fedora 9 nfs kernel (hd00)/vmlinuz initrd (hd00)/initrd. img
5. Use notepad to open the system hidden file boot. ini under the root directory of the C drive, and add the following content: c: grldr = "GRUB"
6. restart, select "GRUB", and then select "Install Fedora 9" to go to the installation page. when selecting the partition of the image file, you can try it one by one if you are not in trouble. you can install the step-by-step method later, but you need to pay attention when selecting the installation partition. select "create custom partition structure" -- next step. Select the 20 GB partition left for LINUX. You need to set three partitions:
1. Boot Partition
New -- add partition: mount point/boot size is fixed, 500 M to M, format ext3. this can also be absent, I do not have this partition during installation.
2. Swap partitions
Same as above. The format is swap, which is twice the memory size.
3. Root partition:
Add partition, Mount click/, ext3 format
Write the modification to the disk.
In the following configuration of the nfs of Fedora 9, if it is all installed, portmap should be automatically run at startup. the nfs of Fedora 9 is not started and needs to be started manually.
1. Modify/etc/exports. If not, create a new one.
/Pub 192.168.10.0/255.255.255.0 (rwasyncno_root_squash). All Hosts in this subnet can access
2. Modify/etc/hosts. allow
Sshd: ALL
Portmap: 192.168.10.0/255.255.255.0: allow
Portmap: ALL: deny
Nfsd: 192.168.10.0/255.255.255.0
3. Start the nfs server of Fedora 9
[Root @ localhost v2.0] # service nfs start. If you need to modify exports after startup, you can use exportfs-rv to output the file again.
4. You can test [root @ localhost v2.0] # mount-t nfs 192.168.10.6:/pub/var/nfs on the local machine.
5. Run on the target board. The following is the result of my first running on the target board. I found it was a firewall problem.
[Root @ falinux ~] $ Mount-t nfs-o nolock 192.168.10.6:/home/leffy/edfa/v2.0/mnt/win
Mount: RPC: Unable to receive; errno = No route to host
Mount: nfsmount failed: Bad file descriptor
Mount: Mounting 192.168.10.6:/home/leffy/edfa/v2.0 on/mnt/win failed: Bad file descriptor
6. Disable the Firewall [root @ localhost v2.0] # service iptables stop [root @ localhost v2.0] # service iptables statusiptables: Firewall is not running.
We can see that the firewall has been half-closed and the above introduction to the nfs ora 9 nfs system.