GRUB-MKNETDIR(1)
π NAME π
This is the GRUB-MKNETDIR(1) page from the User Commands corner of the manual, and grub-mknetdir is literally here to prepare a GRUB netboot directory. That's the whole NAME moment, bestie. π
π¦ SYNOPSIS π¦
grub-mknetdir [OPTION...]
π DESCRIPTION π
Okay so picture this: grub-mknetdir prepares GRUB network boot images at net_directory/subdir, assuming net_directory is the TFTP root. That's the main character energy of the whole page. β¨
Here's the full option buffet β every flag, no skips, fr fr:
--compress=no|xz|gz|lzoβ compress GRUB files [optional]. Pick fromno,xz,gz, orlzo, bestie.--disable-shim-lockβ disable shim_lock verifier. That's the whole assignment.--dtb=FILEβ embed a specific DTB. One specific DTB, no cap.-d,--directory=DIRβ use images and modules underDIR[default=/usr/lib/grub/<platform>]. That default path is doing a lot, honestly.--fonts=FONTSβ installFONTS[default=unicode]. Fonts, but make it GRUB.--install-modules=MODULESβ install onlyMODULESand their dependencies[default=all]. Dependencies come along too β the way that works is iconic.-k,--pubkey=FILEβ embedFILEas public key for signature checking. Signature-checking bestie behavior. π--locale-directory=DIRβ use translations underDIR[default=/usr/share/locale]. Locale directory said slay.--locales=LOCALESβ install onlyLOCALES[default=all]. Choose your locale crew.--modules=MODULESβ pre-load specified modulesMODULES. Pre-loading is lowkey the vibe.--sbat=FILEβ SBAT metadata. That's it, periodt.--themes=THEMESβ installTHEMES[default=starfield]. Starfield default is giving main character. β-v,--verboseβ print verbose messages. Use it when you want the tea. π--core-compress=xz|none|autoβ choose the compression to use for core image.xz,none, orautoβ pick one.--net-directory=DIRβ root directory of TFTP server. Root directory duties.--subdir=DIRβ relative subdirectory on network server. Relative subdirectory, not absolute β iykyk.-?,--helpβ give this help list. Helpful icon behavior. π«Ά--usageβ give a short usage message. Short and sweet.-V,--versionβ print program version. Version check, bestie.
Heads up: mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. The way that rule follows you around is iconic. π«
And yes, the page says it twice:grub-mknetdirprepares GRUB network boot images atnet_directory/subdir, assumingnet_directoryis the TFTP root. Not me repeating myself β the manpage did it first. π
π REPORTING BUGS π
Report bugs to <bug-grub@gnu.org>. Please be nice to the GRUB girlies. π«Ά
π«Ά SEE ALSO π«Ά
grub-mkimage(1)β another icon, go say hi. π¦
The full documentation for grub-mknetdir is maintained as a Texinfo manual. If the info and grub-mknetdir programs are properly installed at your site, the command
info grub-mknetdir
should give you access to the complete manual. Periodt. π
π Later, bestie β this glow-up is from GRUB 2.12-1ubuntu7.3, March 2025. π
π¦ where this page comes from
- ubuntu noble: grub-common 2.12-1ubuntu7.3 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms