Linux教程

Linux 命令:grub2-mkconfig

本文主要是介绍Linux 命令:grub2-mkconfig,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

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

grub2-tools 工具集

# 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
这篇关于Linux 命令:grub2-mkconfig的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!