grub2-mkconfig
# grub2-mkconfig -h
Usage: grub2-mkconfig [OPTION]
Generate a grub config file
-o, --output=FILE output generated config to FILE [default=stdout]
-h, --help print this message and exit
-v, --version print the version information and exit
# yum provides grub2-mkconfig
Last metadata expiration check: 2:40:26 ago on Wed Jan 26 09:04:53 2022.
grub2-tools-1:2.02-73.oe1.aarch64 : tools package for grub2
Repo : @System
Matched from:
Filename : /usr/sbin/grub2-mkconfig
其他命令
# rpm -ql grub2-tools-2.02-73.oe1.aarch64 | grep bin
/usr/bin/grub2-editenv
/usr/bin/grub2-file
/usr/bin/grub2-fstest
/usr/bin/grub2-glue-efi
/usr/bin/grub2-kbdcomp
/usr/bin/grub2-menulst2cfg
/usr/bin/grub2-mkfont
/usr/bin/grub2-mkimage
/usr/bin/grub2-mklayout
/usr/bin/grub2-mknetdir
/usr/bin/grub2-mkpasswd-pbkdf2
/usr/bin/grub2-mkrelpath
/usr/bin/grub2-mkrescue
/usr/bin/grub2-mkstandalone
/usr/bin/grub2-script-check
/usr/bin/grub2-syslinux2cfg
/usr/sbin/grub2-get-kernel-settings
/usr/sbin/grub2-install
/usr/sbin/grub2-mkconfig
/usr/sbin/grub2-ofpathname
/usr/sbin/grub2-probe
/usr/sbin/grub2-reboot
/usr/sbin/grub2-rpm-sort
/usr/sbin/grub2-set-default
/usr/sbin/grub2-set-password
/usr/sbin/grub2-setpassword
/usr/sbin/grub2-sparc64-setup
/usr/sbin/grub2-switch-to-blscfg