How To Install grub2-tools on Fedora 36

In this tutorial we learn how to install grub2-tools in Fedora 36. grub2-tools is Support tools for GRUB.

Introduction

In this tutorial we learn how to install grub2-tools on Fedora 36.

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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install grub2-tools.

Install grub2-tools on Fedora 36 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 Fedora 36 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 Fedora 36

To uninstall only the grub2-tools package we can use the following command:

sudo dnf remove grub2-tools

grub2-tools Package Contents on Fedora 36

/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/14_menu_show_once
/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/11
/usr/lib/.build-id/11/99e904d1f52a6ad1cd0c68c142c8a928de79e9
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/59d115bd4dfe37c1c33dc63f5e07ab29066b9e
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/84f8292b7161c411dd64248b769f1abe568e72
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/346f11b59c228893ac80f54f9200ee8b05c486
/usr/lib/.build-id/93
/usr/lib/.build-id/93/282571655296fb08697fc20386d7e6e00d29b4
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/19cb098773b8ce8147f0ad0ea1b827addf1c68
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/3cd396fadcbe70e447cd642a675f0f1dd61a7b
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/eac2b7e4398f7a818ec8794501b0b95d89977d
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/d240e6fe0b453c6f77a70c5051fa135fbf812d
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/1d896fed2497dd370d73278b5fd80e334b966c
/usr/lib/systemd/system/grub-boot-indeterminate.service
/usr/lib/systemd/system/grub2-systemd-integration.service
/usr/lib/systemd/system/reboot.target.wants
/usr/lib/systemd/system/reboot.target.wants/grub2-systemd-integration.service
/usr/lib/systemd/system/system-update.target.wants
/usr/lib/systemd/system/system-update.target.wants/grub-boot-indeterminate.service
/usr/lib/systemd/system/systemd-logind.service.d
/usr/lib/systemd/system/systemd-logind.service.d/10-grub2-logind-service.conf
/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/libexec/grub2
/usr/libexec/grub2/systemd-integration.sh
/usr/sbin/grub2-bios-setup
/usr/sbin/grub2-install
/usr/sbin/grub2-mkconfig
/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-emu.1.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-mount.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-install.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
/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/14_menu_show_once
/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/16
/usr/lib/.build-id/16/8213d5da30458bc867a0eba1305f7a72a3b679
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/714cd68d3f5ba556406abf7ceb41520871724d
/usr/lib/.build-id/4e/e842283333cefdc9a1fc7ae14221d5b34cd85c
/usr/lib/.build-id/71
/usr/lib/.build-id/71/30910822761e3ddf28fd124f012c70607d809d
/usr/lib/.build-id/88
/usr/lib/.build-id/88/5d9777ca4e6199ce73f32e6e33aeac58abbd7f
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/4d4d944a5422942da7e4552bd31c71a12eb14d
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/6f72531036c5c0d49d039175d8119c3aaa405b
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/cb3c51af12cdf7d8eea87a47c29fd924086a36
/usr/lib/.build-id/db
/usr/lib/.build-id/db/f755cb929cc2ff2ca519f28097413dd6e781ee
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/248a27ba52d8f4fe6da6dcf5683fa2aed79f50
/usr/lib/systemd/system/grub-boot-indeterminate.service
/usr/lib/systemd/system/grub2-systemd-integration.service
/usr/lib/systemd/system/reboot.target.wants
/usr/lib/systemd/system/reboot.target.wants/grub2-systemd-integration.service
/usr/lib/systemd/system/system-update.target.wants
/usr/lib/systemd/system/system-update.target.wants/grub-boot-indeterminate.service
/usr/lib/systemd/system/systemd-logind.service.d
/usr/lib/systemd/system/systemd-logind.service.d/10-grub2-logind-service.conf
/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/libexec/grub2
/usr/libexec/grub2/systemd-integration.sh
/usr/sbin/grub2-bios-setup
/usr/sbin/grub2-install
/usr/sbin/grub2-mkconfig
/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-emu.1.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-mount.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-install.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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).