How To Install greenboot-grub2 on Rocky Linux 8
Introduction
In this tutorial we learn how to install greenboot-grub2
on Rocky Linux 8.
What is greenboot-grub2
Grub2 specific scripts for greenboot.
We can use yum
or dnf
to install greenboot-grub2
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install greenboot-grub2.
Install greenboot-grub2 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 greenboot-grub2
using dnf
by running the following command:
sudo dnf -y install greenboot-grub2
Install greenboot-grub2 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 greenboot-grub2
using yum
by running the following command:
sudo yum -y install greenboot-grub2
How To Uninstall greenboot-grub2 on Rocky Linux 8
To uninstall only the greenboot-grub2
package we can use the following command:
sudo dnf remove greenboot-grub2
greenboot-grub2 Package Contents on Rocky Linux 8
/usr/lib/systemd/system/greenboot-grub2-set-counter.service
/usr/lib/systemd/system/greenboot-grub2-set-success.service
/usr/libexec/greenboot/greenboot-grub2-set-counter
References
Summary
In this tutorial we learn how to install greenboot-grub2
on Rocky Linux 8 using yum and dnf.