i have an bigger problem with one machine on UEFI with the Grub2-Bootloader.
I updated the machine some days ago with the command
Code: Select all
yum update -y --allowerasing
Code: Select all
Removing dependent packages:
grub2-efi-x64 x86_64 1:2.02-90.el8 @anaconda 1.8 M
So i tried a repair of the bootloader with an GParted-Live-CD (Debian).
These where my used commands:
Code: Select all
sudo mkdir /mnt/sysimage
sudo mount /dev/sda3 /mnt/sysimage
sudo mount /dev/sda2 /mnt/sysimage/boot
sudo mount /dev/sda1 /mnt/sysimage/boot/efi
sudo mount -o bind /dev /mnt/dev
sudo mount -o bind /sys /mnt/sys
sudo mount -t proc /proc /mnt/proc
grub2-install --efi-directory=/boot/efi --target=x86_64-efi /dev/sda
Code: Select all
grub >
Code: Select all
grub > normal
Now in the system (CentOS) i tried to reinstall the grub2-efi-x64 and used this two commands:
Code: Select all
grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg
Code: Select all
grub2-install /dev/sda
The grub2-install always creates two dirs at /boot/grub2:
One fonts dir and one x86_64-efi dir.
Does anyone know how to fix this problem?
Greetings
dcz01