Scroll to navigation

GRUB-MKNETDIR(1) User Commands GRUB-MKNETDIR(1)

NAME

grub-mknetdir - prepare a GRUB netboot directory.

SYNOPSIS

grub-mknetdir [OPTION...]

DESCRIPTION

?Prepares GRUB network boot images at net_directory/subdir assuming net_directory being TFTP root.

Add a note segment reserving SIZE bytes for an appended signature
compress GRUB files [optional]
disabled command line interface access
disable shim_lock verifier
embed a specific DTB
use images and modules under DIR [default=/usr/share/grub2/<platform>]
install FONTS [default=unicode]
install only MODULES and their dependencies [default=all]
embed FILE as public key for signature checking
[default=/usr/share/locale]
install only LOCALES [default=all]
pre-load specified modules MODULES
SBAT metadata
install THEMES [default=starfield]
print verbose messages.
embed FILE as an x509 certificate for appended signature checking
choose the compression to use for core image
root directory of TFTP server
relative subdirectory on network server
-?, --help
give this help list
give a short usage message
print program version

Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.

Prepares GRUB network boot images at net_directory/subdir assuming net_directory being TFTP root.

REPORTING BUGS

Report bugs to <bug-grub@gnu.org>.

SEE ALSO

grub-mkimage(1)

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.

February 2026 GRUB2 2.14