NFS on Slackware

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

NFS on Slackware

NFS on Slackware

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 - Restart 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".     

        

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)
%3CLINGO-SUB%20id%3D%22lingo-sub-1103057%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ENFS%20on%20Slackware%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1103057%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CH2%20id%3D%22toc-hId--1416376849%22%20id%3D%22toc-hId--1416376849%22%20id%3D%22toc-hId--499320625%22%3E%20%3CSPAN%20class%3D%22mw-headline%22%3ESetting%20the%20host%3C%2FSPAN%3E%3C%2FH2%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%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%22utils%20installed%2C%20but%20if%20it%20doesn't%20you%20can%20get%20it%20downloading%20the%20nfs-utils%20from%3A%26nbsp%3B%20%3CA%20class%3D%22jive-link-external-small%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%20%3C%2FPRE%3E%3CPRE%20class%3D%22jive-pre%22%3Ethen%20as%20root%3A%26nbsp%3B%20%23installpkg%20nfs-utils-1.0.7-i386-1.tgz%20%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%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%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%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%3E3%20-%20Restart%20the%20NFS%20server%3A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3E%24sudo%20%2Fetc%2Frc.d%2Frc.rpc%20restart%20%24sudo%20%2Fetc%2Frc.d%2Frc.nfsd%20restart%20%3C%2FPRE%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%3ENow%20the%20host%20is%20ready%20to%20use%20NFS.%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CH2%20id%3D%22toc-hId-1071135984%22%20id%3D%22toc-hId-1071135984%22%20id%3D%22toc-hId-1988192208%22%3E%3CSPAN%20class%3D%22mw-headline%22%3ESetting%20Target%20Linux%20Image%20to%20use%20NFS%3C%2FSPAN%3E%3C%2FH2%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%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.%3CSPAN%20style%3D%22font-size%3A%2010pt%3B%20line-height%3A%201.5em%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%3E3%20-%20Select%20the%20option%20NFS%20only%20and%20exit%20LTIB%20configuration%20to%20compile%20with%20the%20new%20configuration.%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%3E4%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%3CSPAN%20style%3D%22font-size%3A%2010pt%3B%20line-height%3A%201.5em%3B%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSPAN%3E%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%20file%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%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22mce_paste_marker%22%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22mce_paste_marker%22%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%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:47 AM
Updated by: