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 reserves SIZE bytes 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 the shim_lock verifier.
  • --dtb=FILE β€” embed one specific DTB. just the one. her one and only πŸ’–
  • -d, --directory=DIR β€” use the images and modules under DIR. [default=/usr/lib/grub/<platform>]
  • --fonts=FONTS β€” install FONTS. [default=unicode]
  • --install-modules=MODULES β€” install only MODULES and their dependencies. [default=all]
  • -k, --pubkey=FILE β€” embed FILE as a public key for signature checking. πŸ”
  • --locale-directory=DIR β€” use translations under DIR. [default=/usr/share/locale]
  • --locales=LOCALES β€” install only LOCALES. [default=all]
  • --modules=MODULES β€” pre-load the specified modules MODULES. πŸš€
  • --sbat=FILE β€” SBAT metadata.
  • --themes=THEMES β€” install THEMES. [default=starfield]
  • -v, --verbose β€” print verbose messages. she will literally tell you everything, main character energy πŸ‘‘
  • -x, --x509key=FILE β€” embed FILE as 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