cpanel / elevate

elevate your cPanel&WHM CentOS 7 server to Almalinux 8
https://cpanel.github.io/elevate/
BSD 2-Clause "Simplified" License
45 stars 29 forks source link

Block if grub not installed or config file missing #391

Closed timmullin closed 5 months ago

timmullin commented 5 months ago

Case RE-83:

Changelog: Block if the grub2-pc package is not installed or if the grub.cfg file is missing.

By submitting pull requests to this repo, I agree to the Contributor License Agreement which can be found at: https://github.com/cpanel/elevate/blob/main/docs/cPanel-CLA.pdf

rch77 commented 2 months ago

Now it blocks if there is /boot/efi/EFI/centos/grub.cfg only. I think UEFI systems use /boot/efi/EFI/centos/grub.cfg. I have added symlink from /boot/grub2/ to ../efi/EFI/centos/grub.cfg but I'm not sure if it'll break something else during the process. OS: Centos 7.9