How To Install grub2-tools on Rocky Linux 8
Introduction
In this tutorial we learn how to install grub2-tools
on Rocky Linux 8.
What is grub2-tools
The GRand Unified Bootloader (GRUB) is a highly configurable and customizable bootloader with modular architecture. It supports a rich variety of kernel formats, file systems, computer architectures and hardware devices. This subpackage provides tools for support of all platforms.
We can use yum
or dnf
to install grub2-tools
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install grub2-tools.
Install grub2-tools on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install grub2-tools
using dnf
by running the following command:
sudo dnf -y install grub2-tools
Install grub2-tools on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install grub2-tools
using yum
by running the following command:
sudo yum -y install grub2-tools
How To Uninstall grub2-tools on Rocky Linux 8
To uninstall only the grub2-tools
package we can use the following command:
sudo dnf remove grub2-tools
grub2-tools Package Contents on Rocky Linux 8
/etc/default/grub
/etc/grub.d/00_header
/etc/grub.d/01_users
/etc/grub.d/08_fallback_counting
/etc/grub.d/10_linux
/etc/grub.d/10_reset_boot_success
/etc/grub.d/12_menu_auto_hide
/etc/grub.d/20_linux_xen
/etc/grub.d/20_ppc_terminfo
/etc/grub.d/30_os-prober
/etc/grub.d/30_uefi-firmware
/etc/grub.d/40_custom
/etc/grub.d/41_custom
/etc/grub.d/README
/usr/bin/grub2-file
/usr/bin/grub2-menulst2cfg
/usr/bin/grub2-mkimage
/usr/bin/grub2-mkrelpath
/usr/bin/grub2-script-check
/usr/lib/.build-id
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/27281903dd5d7f475cf35a77951ffc0ace3186
/usr/lib/.build-id/39
/usr/lib/.build-id/39/e56d2c36792ea533ea9de1620138c7f0c89ac4
/usr/lib/.build-id/51
/usr/lib/.build-id/51/096ecd0fafdc87a2eb6bb2a193d50f8acdd5fc
/usr/lib/.build-id/69
/usr/lib/.build-id/69/ca4553b285a6fbf7274d9009513a8d291d0042
/usr/lib/.build-id/81
/usr/lib/.build-id/81/a8c692f949428e5f6022e5a4553981b68a6a06
/usr/lib/.build-id/86
/usr/lib/.build-id/86/9ee6cf57f3db76f0bae20792def1ae6469c772
/usr/lib/.build-id/87
/usr/lib/.build-id/87/11d193086bbc031ce5226ea25edbadf5bd3a3e
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/ab28a93e7c47badc97525e1c40198b59c64bfb
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/9f9b7d17749aec68dbf07e7e57aff010c61557
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/7e08764442f12548055c81ec169618a13d8218
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/0eff012755784703076ec71c0927db9bf0270a
/usr/lib/systemd/system/grub-boot-indeterminate.service
/usr/lib/systemd/system/system-update.target.wants
/usr/lib/systemd/system/system-update.target.wants/grub-boot-indeterminate.service
/usr/lib/systemd/user/grub-boot-success.service
/usr/lib/systemd/user/grub-boot-success.timer
/usr/lib/systemd/user/timers.target.wants
/usr/lib/systemd/user/timers.target.wants/grub-boot-success.timer
/usr/sbin/grub2-bios-setup
/usr/sbin/grub2-install
/usr/sbin/grub2-mkconfig
/usr/sbin/grub2-probe
/usr/sbin/grub2-reboot
/usr/sbin/grub2-rpm-sort
/usr/sbin/grub2-switch-to-blscfg
/usr/share/bash-completion/completions/grub
/usr/share/grub/ascii.pf2
/usr/share/grub/euro.pf2
/usr/share/grub/grub-mkconfig_lib
/usr/share/grub/unicode.pf2
/usr/share/info/grub2-dev.info.gz
/usr/share/info/grub2.info.gz
/usr/share/man/man1/grub2-file.1.gz
/usr/share/man/man1/grub2-menulst2cfg.1.gz
/usr/share/man/man1/grub2-mkimage.1.gz
/usr/share/man/man1/grub2-mkrelpath.1.gz
/usr/share/man/man1/grub2-script-check.1.gz
/usr/share/man/man1/grub2-set-bootflag.1.gz
/usr/share/man/man8/grub2-bios-setup.8.gz
/usr/share/man/man8/grub2-mkconfig.8.gz
/usr/share/man/man8/grub2-probe.8.gz
/usr/share/man/man8/grub2-reboot.8.gz
/usr/share/man/man8/grub2-rpm-sort.8.gz
/usr/share/man/man8/grub2-switch-to-blscfg.8.gz
References
Summary
In this tutorial we learn how to install grub2-tools
on Rocky Linux 8 using yum and dnf.