*** This bug is a duplicate of bug 1889556 ***
https://bugs.launchpad.net/bugs/1889556
@Julian Welp, the laptop (detailed specs:
https://github.com/jdrch/Hardware/blob/master/HP%20ProBook%204530s.md)
my Ubuntu 20.04 installation is on has always been in UEFI boot mode, so
I'd assume the Ubuntu installation itself also uses EFI. As I said, same
symptoms as everyone else on here. Maybe it wasn't using EFI this whole
time but bottom line is I had the exact same issue but the instructions
on this thread didn't work for me as written.
Anyway, for those like me who are having the same problem and use both
EFI and LVM, the instructions in the OP don't work.
Here's what to do instead:
These instructions assume your boot disk is sda and your root(?) volume
group name is ubuntu-vg. They are based on:
https://askubuntu.com/a/772892/932418
1) Boot into a live Ubuntu USB
2) Open a terminal
# mkdir /mnt/chrootdir/
Note that, contrary to many of the instructions on this page, you'll
have to mount your volume group instead of your boot disk or partition.
If you try to do the latter you'll get weird errors about the mount
point being busy.
# mount /dev/ubuntu-vg/root /mnt/chrootdir/
# for dir in proc dev sys etc bin sbin var usr lib lib64 tmp; mount --bind
/$dir /mnt/chrootdir/$dir ; done
# chroot /mnt/chrootdir/
# apt install grub-efi-amd64
You'll see some warning message about grub-pc being removed. Proceed
with "Y" because that's what you want to happen
# grub-install /dev/sda # <- This reinstalls grub onto your boot disk
# dpkg-reconfigure grub-efi-amd64
Leave the text fields blank and select Yes for the removable device EFI
and NVRAM options if you don't multiboot.
# update-grub2 /dev/sda # <- this writes the grub config created in the
previous command to grub on your boot disk
# exit # <- exit chroot
# exit # <- exit root
# exit # <- close terminal
Power off the PC via the Ubuntu power menu, following the onscreen
instructions.
Reboot the PC, making sure the BIOS is in UEFI mode. Ubuntu should now
boot as expected.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1889509
Title:
grub boot error : "symbol 'grub_calloc' not found
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1889509/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs