[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: what is the proper way to recover grub in an EFI environment ?



<snipped>

Dear all,

I was getting the error unknown which was messing me up. I finally
went to supergrub github page and saw this issue -

https://github.com/supergrub/supergrub/issues/35

I downloaded the hybrid image as shared by the author i.e.
https://sourceforge.net/projects/supergrub2/files/2.04s2-beta2/super_grub2_disk_2.04s2-beta2/supergrub2-2.04s2-beta2-multiarch-USB.img.zip/download
.

Did get the familiar orange supergrub menu and was able to boot into
5.2.0-3-amd64 kernel and everything. Now running the update and that
will probably take half a day as have missed whole lot of updates.

One of the interesting things seems to be that probably one of the
MS-Windows updates corrupted the boot entry because as I did -

$ sudo update-grub
[sudo] password for shirish:
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-5.2.0-3-amd64
Found initrd image: /boot/initrd.img-5.2.0-3-amd64
Found linux image: /boot/vmlinuz-5.2.0-2-amd64
Found initrd image: /boot/initrd.img-5.2.0-2-amd64
Found linux image: /boot/vmlinuz-4.19.0-5-amd64
Found initrd image: /boot/initrd.img-4.19.0-5-amd64
Found linux image: /boot/vmlinuz-4.19.0-4-amd64
Found initrd image: /boot/initrd.img-4.19.0-4-amd64
Found memtest86 image: /memtest86.bin
Found memtest86+ image: /memtest86+.bin
Found memtest86+ multiboot image: /memtest86+_multiboot.bin
Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
done

I find this 'Adding boot menu entry for EFI firmware configuration'
interesting statement.

I have yet to reboot without the usb to see if it holds.

FWIW, efibootmanager is at -

$ apt-cache policy efibootmgr
efibootmgr:
  Installed: 15-1+b1
  Candidate: 15-1+b1
  Version table:
 *** 15-1+b1 900
        900 http://cdn-fastly.deb.debian.org/debian testing/main amd64 Packages
        100 http://cdn-fastly.deb.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status

I also have -

$ apt-cache policy grub-efi-amd64
grub-efi-amd64:
  Installed: 2.04-3
  Candidate: 2.04-3
  Version table:
 *** 2.04-3 900
        900 http://cdn-fastly.deb.debian.org/debian testing/main amd64 Packages
        100 http://cdn-fastly.deb.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status

The issue might be resolved but still if you want me to dig something
or the other, please let me know.

-- 
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com

E493 D466 6D67 59F5 1FD0 930F 870E 9A5B 5869 609C


Reply to: