fai-make-nfsroot(8)
π fai-make-nfsroot β the manual page, but make it make sense π
okay bestie, so this is fai-make-nfsroot(8), from the System Manager's Manual. yes it's a section 8 admin page, yes it's about building an entire root filesystem, and yes we're gonna have fun with it. grab a snack π
β¨ NAME β¨
fai-make-nfsroot β create the FAI nfsroot directory
πΈ SYNOPSIS πΈ
fai-make-nfsroot [options]
π DESCRIPTION π
So what this does is: it creates the FAI nfsroot directory, and it takes the location straight from $NFSROOT in the config_file. This directory is literally necessary for installing Debian on remote clients using the FAI package. and where does config_file live, you ask? that's discussed down in OPTIONS, bestie, keep scrolling. π«Ά
Exit code tea β: it returns 0 if all the commands to build the root directory exited successfully, and >0 if an error occurs. no in-between, no drama, just vibes.
π OPTIONS π
-aβ Adjust a generic nfsroot. Addresolv.conf, add host entries, and/or set the root password.-BBASETGZ β Use the specified file as base file (can bebase.tar.zst,base.tzst,base.tar.xz,base.txz) for the nfsroot. This avoids callingdebootstrapand therefore reduces the buildtime for the nfsroot. it's giving speedrun energy. π₯-c,--classCLASS[,CLASS] β Add these classes to the internal list of classes. This is usually not necessary.-CCFDIR β Use CFDIR as configuration directory. Default is/etc/fai. You can also set the environment variableFAI_ETC_DIR.-fβ Force overwriting an existing nfsroot. By defaultfai-make-nfsrootaborts if the configuration variableNFSROOTpoints to a directory which already exists. To force overwriting (and therefore rebuilding) the existing nfsroot use this option. Note: to update and therefore preserve an existing nfsroot see option-k. yes bestie,-fis the "no thoughts, delete it" option π-gβ Create a generic nfsroot. Remove most install server specific data from nfsroot. See also-a.-Kβ Remove all kernels fromNFSROOT.-kβ Install additional packages defined in/etc/fai/NFSROOTinto the nfsroot. Also copies all kernels from the nfsroot to the directory$TFTPROOT. You can use this option, to upgrade all packages inside the nfsroot. glow-up for your whole nfsroot β¨-Nβ Additionally install non-free packages defined in theNONFREEsection of/etc/fai/NFSROOT.-Pβ Preserve ssh configs including the keys of the root account and also the ssh host keys from inside the nfsroot when creating a new nfsroot.-pβ Preserve ssh configs including the keys of the root account. This will not preserve the ssh host keys inside the nfsroot when creating a new nfsroot.-sβ Create a smaller nfsroot. Do not install packages defined in/etc/fai/NFSROOTin theFULLsection. tiny nfsroot, tiny carbon footprint, iconic.-vβ Create verbose output on stdout.-hβ Show simple help.-zβ Usezstdfor compressing thebase.tarfile which is much faster thanxz. Default is to usexz.
π¦ NOTES π¦
If you do not use NFS, you may still use the NFSROOT directory as a staging point for building the base installation tarball. no NFS, no problem, the directory still eats. π
π SEE ALSO π
exports(5), nfsd(8), fai-setup(8)
This program is part of FAI (Fully Automatic Installation). See the FAI manual for more information on how to use fai-make-nfsroot. The FAI homepage is https://fai-project.org.
π§ FILES π§
/etc/fai/fai.confβ The FAI configuration file./etc/fai/nfsroot.confβ The configuration file forfai-make-nfsroot./etc/fai/nfsroot-hooks/β Directory containing shell scripts (using LSB namespaces) to be sourced at the end offai-make-nfsrootfor additional configuration of the nfsroot. Can be changed withNFSROOT_HOOKS./etc/fai/apt/sources.listβ Copy this file to theNFSROOT./etc/fai/apt/keys/*.gpgβ Repository keys in.gpgformat found here will be installed into theNFSROOT./var/log/fai/variablesβ The script will write the values ofFAI_VERSIONandNFSROOTto this file.
π AUTHOR π
Thomas Lange <lange@cs.uni-koeln.de>
and that's the whole page, bestie. shoutout to FAI 5.9, dated July 2020, for giving us this absolute classic. go build that nfsroot. periodt. πβ¨π
π¦ where this page comes from
- debian trixie: fai-server 6.4.3
- ubuntu resolute: fai-server 6.4.3ubuntu1
- ubuntu stonking: fai-server 6.6ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms