I have a CentOS 8 system installed in "efi" mode, it has /boot/efi partition.
I modified "/etc/default/grub", for the key GRUB_CMDLINE_LINUX I removed "rhgb quiet"
So the content of /etc/default/grub is
------------------------------------------------------------------
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="crashkernel=auto resume=UUID=b20a03fa-67ef-4aa0-85c2-f5d3cd1921f5"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true
------------------------------------------------------------------
Next (since I'm using efi) I did : # grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg
The output was :
Generating grub configuration file ...
done
Next, I rebooted the system, and the system became unbootable, no grub prompt, just the bios message saying to insert a bootable disk
Any idea ?
Uefi CentOS 8 installation becomes unbootable
Re: Uefi CentOS 8 installation becomes unbootable
After modifying this file did you rebuild grub.cfg ??
Member of centos-FR forum
Re: Uefi CentOS 8 installation becomes unbootable
the bootloader has probably been removed.
So you have to boot with the install media, select troubleshooting
choose to repair Centos8, At the prompt, type chroot /mnt/sysimage
then
grub2-install /dev/sda
you're done. Type exit twice, the system will reboot.
So you have to boot with the install media, select troubleshooting
choose to repair Centos8, At the prompt, type chroot /mnt/sysimage
then
grub2-install /dev/sda
you're done. Type exit twice, the system will reboot.
Member of centos-FR forum
Re: Uefi CentOS 8 installation becomes unbootable
yes, I fixed it, but the problem remains why this happened and won't it happen again ?
Re: Uefi CentOS 8 installation becomes unbootable
Everything can happen someday. This essential is to be prepared and know how to fix it.
There is no reply to your question or there are pleinty, up to you.
There is no reply to your question or there are pleinty, up to you.
Member of centos-FR forum