dcz01
Lieutenant
- Registriert
- Nov. 2016
- Beiträge
- 551
Hallo zusammen,
nachdem ich dieses Problem bereits auch im CentOS-Forum stehen habe, wollte ich es nicht nochmal übersetzen...
Ich hoffe es kann mir jemand helfen.
I have an bigger problem with one machine on UEFI with the Grub2-Bootloader.
I updated the machine some days ago with the command
and so the following package was uninstalled:
Then the server was rebooted and couldn't start up normally.
So i tried a repair of the bootloader with an GParted-Live-CD (Debian).
These where my used commands:
After that the system won't even start itself to CentOS 8 and it always waited for input at:
With the following command i could start it back to my CentOS 8.3.2011:
Then it loaded the kernel before the update but i can use my system.
Now in the system (CentOS) i tried to reinstall the grub2-efi-x64 and used this two commands:
But the normal grub isn't installed anymore on the MBR and i must use always the normal command to boot manually.
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?
Grüße
dcz01
nachdem ich dieses Problem bereits auch im CentOS-Forum stehen habe, wollte ich es nicht nochmal übersetzen...
Ich hoffe es kann mir jemand helfen.
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:
yum update -y --allowerasing
Code:
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:
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/sysimage/dev
sudo mount -o bind /sys /mnt/sysimage/sys
sudo mount -t proc /proc /mnt/sysimage/proc
chroot /mnt/sysimage
grub2-install --efi-directory=/boot/efi --target=x86_64-efi /dev/sda
Code:
grub >
Code:
grub > normal
Now in the system (CentOS) i tried to reinstall the grub2-efi-x64 and used this two commands:
Code:
grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg
Code:
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?
Grüße
dcz01
Zuletzt bearbeitet:
(chroot fehlte, mount auf sysimage)