-In CentOS 8, I want to reduce the OS selection standby time on the grub2 screen. (I want to play with other settings)
$ sudo vi /etc/default/grub
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="crashkernel=auto resume=/dev/mapper/cl-swap rd.lvm.lv=cl/ro$
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true
BIOS-based machines as root
grub2-mkconfig -o /boot/grub2/grub.cfg
UEFI based machines as root
grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg
The GRUB 2 script searches the user's computer and builds a boot menu based on the operating system the script finds. The boot menu is automatically rebuilt when the kernel is updated or a new kernel is added to reflect the latest system boot options. However, there may be times when the user wants to build a menu that contains specific entries, or a specific order of entries. GRUB 2 allows basic boot menu customization and allows the user to control what is displayed on the screen. https://access.redhat.com/documentation/ja-jp/red_hat_enterprise_linux/7/html/system_administrators_guide/sec-customizing_the_grub_2_configuration_file
Recommended Posts