All Boards NFS on Slackware

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

All Boards NFS on Slackware

All Boards NFS on Slackware

Network File System (NFS)

Setting the host


1 - Install NFS Service on host typing:

your slackware linux probably already have a version of nfs-utils installed, but if it doesn't you can get it downloading the nfs-utils from:  
[1]
then as root:  

#installpkg nfs-utils-1.0.7-i386-1.tgz


2 - Setup exports typing:

$sudo kedit /etc/exports 

and add the following line:

/tftpboot/ltib/ *(rw,no_root_squash,async) 

3 - Reestart the NFS server:

$sudo /etc/rc.d/rc.rpc restart 
$sudo /etc/rc.d/rc.nfsd restart

Now the host is ready to use NFS.

Setting Target Linux Image to use NFS


1 - Run LTIB configuration typing:

$./ltib -c 


2 - On first page menu, go to "Target Image Generation -> Options" as in the picture below.

Ltib_nfs1.jpg


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

Ltib_nfs2.jpg


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)
%3CLINGO-SUB%20id%3D%22lingo-sub-1103296%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EAll%20Boards%20NFS%20on%20Slackware%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1103296%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CH1%20id%3D%22toc-hId-380576555%22%20id%3D%22toc-hId-380576555%22%20id%3D%22toc-hId-1298525487%22%3E%3CSPAN%20class%3D%22mw-headline%22%3ENetwork%20File%20System%20(NFS)%3C%2FSPAN%3E%3C%2FH1%3E%3CH2%20id%3D%22toc-hId-1071138029%22%20id%3D%22toc-hId-1071138029%22%20id%3D%22toc-hId-1989086961%22%3E%3C%2FH2%3E%3CH2%20id%3D%22toc-hId--736316434%22%20id%3D%22toc-hId--736316434%22%20id%3D%22toc-hId-181632498%22%3E%3CSPAN%20class%3D%22mw-headline%22%3ESetting%20the%20host%3C%2FSPAN%3E%3C%2FH2%3E%3CP%3E%3CSPAN%20class%3D%22mw-headline%22%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E1%20-%20Install%20NFS%20Service%20on%20host%20typing%3A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3Eyour%20slackware%20linux%20probably%20already%20have%20a%20version%20of%20nfs-utils%20installed%2C%20but%20if%20it%20doesn't%20you%20can%20get%20it%20downloading%20the%20nfs-utils%20from%3A%26nbsp%3B%20%0A%3CA%20class%3D%22autonumber%20external%22%20href%3D%22http%3A%2F%2Fwww.linuxpackages.net%2Fredirect.php%3Fid%3D2310%26amp%3Burl%3Dhttp%3A%2F%2Fdigilander.libero.it%2Fzxspectrum%2Fslack-pack%2Fslack8.1%2Fnfs-utils-1.0.7-i386-1.tgz%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3E%5B1%5D%3C%2FA%3E%3C%2FPRE%3E%3CPRE%20class%3D%22jive-pre%22%3Ethen%20as%20root%3A%26nbsp%3B%20%0A%0A%23installpkg%20nfs-utils-1.0.7-i386-1.tgz%0A%3C%2FPRE%3E%3CP%3E%3CBR%20%2F%3E%202%20-%20Setup%20exports%20typing%3A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3E%24sudo%20kedit%20%2Fetc%2Fexports%20%3C%2FPRE%3E%3CP%3Eand%20add%20the%20following%20line%3A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3E%2Ftftpboot%2Fltib%2F%20*(rw%2Cno_root_squash%2Casync)%20%3C%2FPRE%3E%3CP%3E3%20-%20Reestart%20the%20NFS%20server%3A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3E%24sudo%20%2Fetc%2Frc.d%2Frc.rpc%20restart%20%0A%24sudo%20%2Fetc%2Frc.d%2Frc.nfsd%20restart%0A%3C%2FPRE%3E%3CP%3ENow%20the%20host%20is%20ready%20to%20use%20NFS.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CH2%20id%3D%22toc-hId-1751196399%22%20id%3D%22toc-hId-1751196399%22%20id%3D%22toc-hId--1625821965%22%3E%3CSPAN%20class%3D%22mw-headline%22%3ESetting%20Target%20Linux%20Image%20to%20use%20NFS%3C%2FSPAN%3E%3C%2FH2%3E%3CP%3E%3CSPAN%20class%3D%22mw-headline%22%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E1%20-%20Run%20LTIB%20configuration%20typing%3A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3E%24.%2Fltib%20-c%20%3C%2FPRE%3E%3CP%3E%3CBR%20%2F%3E%202%20-%20On%20first%20page%20menu%2C%20go%20to%20%22Target%20Image%20Generation%20-%26gt%3B%20Options%22%20as%20in%20the%20picture%20below.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ltib_nfs1.jpg%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ltib_nfs1.jpg%22%20style%3D%22width%3A%20667px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F37854iD89571BF30BF2979%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Ltib_nfs1.jpg%22%20alt%3D%22Ltib_nfs1.jpg%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%203%20-%20Select%20the%20option%20NFS%20only%20and%20exit%20LTIB%20configuration%20to%20compile%20with%20the%20new%20configuration.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ltib_nfs2.jpg%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ltib_nfs2.jpg%22%20style%3D%22width%3A%20667px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F10236i8A5CBD7B57874D71%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Ltib_nfs2.jpg%22%20alt%3D%22Ltib_nfs2.jpg%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%204%20-%20LTIB%20should%20start%20new%20compiling%20and%20create%20a%20new%20Linux%20image%20on%20%2F%3CLTIB%20instalation%3D%22%22%20folder%3D%22%22%3E%2Frootfs%2Fboot%2FzImage%3C%2FLTIB%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%205%20-%20Copy%20the%20created%20image%20on%20%2F%3CLTIB%20instalation%3D%22%22%20folder%3D%22%22%3E%2Frootfs%2Fboot%2FzImage%20to%20%2Ftftpboot%2FzImage%3C%2FLTIB%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%206%20-%20The%20system%20is%20ready%20to%20run%20with%20NFS.%20The%20root%20%3CSPAN%20style%3D%22text-decoration%3A%20underline%3B%22%3Efile%3C%2FSPAN%3E%20system%20on%20target%20will%20be%20located%20on%20host%20on%20%2F%3CLTIB%20instalation%3D%22%22%20folder%3D%22%22%3E%2Frootfs%2F%3C%2FLTIB%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22mce_paste_marker%22%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
‎09-10-2020 01:48 AM
Updated by: