OS13.1 Kernel update killed UEFI boot and how I recovered

Hi all,
I run OS13.1 with Kernel 3.12 on a UEFI machine. Everything ran find until yesterdays kernel update. After that one no operating was found for booting.

I had to spend a couple of hours to figure out how to recreate the UEFI boot menu entry. In the end my solution is a mixture of many ingredients from different sources:

  1. Start a recovery system in UEFI mode, e.g. from your opensuse install medium.
  2. mount /dev/sda3 /mnt (my root system is on /dev/sda3 yours might be somewhere else)
  3. mount --bind /dev /mnt/dev
  4. chroot /mnt
  5. mount -t proc proc /proc
  6. mount -t sysfs sysfs /sys
  7. mount /boot/efi
  8. efibootmgr -c -d /dev/sda -p 1 -L opensuse -l ‘\EFI\opensuse\grubx64.efi’
  9. reboot

For me that worked. I hope it helps others, too.

Cheers
Frank

You could spare most of the steps - there was no need to chroot :slight_smile: efibootmgr is not interested in actual filesystem content - it trusts you to provide correct paths.

O.k. So you mean that this would have worked two:

  1. Start a recovery system in UEFI mode, e.g. from your opensuse install medium.
  2. efibootmgr -c -d /dev/sda -p 1 -L opensuse -l ‘\EFI\opensuse\grubx64.efi’
  3. reboot

I haven’t tried this and I hope I do not have to :wink:

Cheers
Frank