GRUB-MKNETDIR(1)
π GRUB-MKNETDIR π
okay bestie, so this is a page from the User Commands manual β it's grub-mknetdir, and no cap, it's the little helper that gets your GRUB netboot situation together. π
πΈ NAME πΈ
grub-mknetdir β prepare a GRUB netboot directory. that's it, that's the whole job, and she does it gorgeously π
β¨ SYNOPSIS β¨
grub-mknetdir [OPTION...]
π¦ DESCRIPTION π¦
She prepares GRUB network boot images at net_directory/subdir, assuming net_directory is the TFTP root. that's the vibe. the whole vibe. π₯
π the options (yes, all of them, we don't skip, we don't gatekeep) π
--appended-signature-size=SIZEβ adds a note segment that reservesSIZEbytes for an appended signature.--compress=no|xz|gz|lzoβ compress the GRUB files. optional, if you feel like it. β¨--disable-cliβ disables command line interface access. like, the CLI said "not today" π--disable-shim-lockβ disables theshim_lockverifier.--dtb=FILEβ embed one specific DTB. just the one. her one and only π-d,--directory=DIRβ use the images and modules underDIR.[default=/usr/lib/grub/<platform>]--fonts=FONTSβ installFONTS.[default=unicode]--install-modules=MODULESβ install onlyMODULESand their dependencies.[default=all]-k,--pubkey=FILEβ embedFILEas a public key for signature checking. π--locale-directory=DIRβ use translations underDIR.[default=/usr/share/locale]--locales=LOCALESβ install onlyLOCALES.[default=all]--modules=MODULESβ pre-load the specified modulesMODULES. π--sbat=FILEβ SBAT metadata.--themes=THEMESβ installTHEMES.[default=starfield]-v,--verboseβ print verbose messages. she will literally tell you everything, main character energy π-x,--x509key=FILEβ embedFILEas an x509 certificate for signature checking.--core-compress=xz|none|autoβ choose the compression to use for the core image.--net-directory=DIRβ root directory of the TFTP server.--subdir=DIRβ relative subdirectory on the network server.-?,--helpβ give this help list. π«Ά--usageβ give a short usage message.-V,--versionβ print program version.
β heads up bestie: mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. so like, don't think the short one is exempt, fr fr.
and one more time for the people in the back: she prepares GRUB network boot images at net_directory/subdir, assuming net_directory being the TFTP root. π iconic behavior honestly
π REPORTING BUGS π
found a bug? report it to <bug-grub@gnu.org>. be nice, they're doing their best π«Ά
π SEE ALSO π
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. go read it, i believe in you πβ¨
mwah π that was GRUB 2.12, dated April 2026, and you just read the GRUB-MKNETDIR(1) page β ty for coming to my ted talk, go make some netboot images bestie ππ¦π
π¦ where this page comes from
- fedora 43: grub2-tools-extra 1:2.12-43.fc43 Β· GPL-3.0-or-later
- fedora 44: grub2-tools-extra 1:2.12-56.fc44 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms