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 from no, xz, gz, or lzo, 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 under DIR [default=/usr/lib/grub/<platform>]. That default path is doing a lot, honestly.
  • --fonts=FONTS β€” install FONTS [default=unicode]. Fonts, but make it GRUB.
  • --install-modules=MODULES β€” install only MODULES and their dependencies [default=all]. Dependencies come along too β€” the way that works is iconic.
  • -k, --pubkey=FILE β€” embed FILE as public key for signature checking. Signature-checking bestie behavior. πŸ”
  • --locale-directory=DIR β€” use translations under DIR [default=/usr/share/locale]. Locale directory said slay.
  • --locales=LOCALES β€” install only LOCALES [default=all]. Choose your locale crew.
  • --modules=MODULES β€” pre-load specified modules MODULES. Pre-loading is lowkey the vibe.
  • --sbat=FILE β€” SBAT metadata. That's it, periodt.
  • --themes=THEMES β€” install THEMES [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, or auto β€” 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-mknetdir prepares GRUB network boot images at net_directory/subdir, assuming net_directory is 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 🫢

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