[Bug 1889509] Re: grub boot error : "symbol 'grub_calloc' not found

Jim 1889509 at bugs.launchpad.net
Thu Aug 6 00:09:03 UTC 2020


*** This bug is a duplicate of bug 1889556 ***
    https://bugs.launchpad.net/bugs/1889556

I'm unable to fix this on my ubuntu 16 machine.

# debconf-get-selections | grep -E 'grub-(efi|pc)/install_devices[^_]'
grub-pc	grub-pc/install_devices	multiselect	/dev/xvda1

# debconf-set-selections
grub-pc	grub-pc/install_devices	multiselect	/dev/vda1
grub-pc	grub-pc/install_devices_disks_changed	multiselect	/dev/vda1

# dpkg-reconfigure grub-pc
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-186-generic
Found initrd image: /boot/initrd.img-4.4.0-186-generic
Found linux image: /boot/vmlinuz-4.4.0-185-generic
Found initrd image: /boot/initrd.img-4.4.0-185-generic
Found linux image: /boot/vmlinuz-4.4.0-184-generic
Found initrd image: /boot/initrd.img-4.4.0-184-generic
done

When i reboot i get the default grub> prompt, and can boot by typing the correct commands from:
https://www.linux.com/training-tutorials/how-rescue-non-booting-grub-2-linux/

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1889509

Title:
  grub boot error : "symbol 'grub_calloc' not found

Status in grub2 package in Ubuntu:
  Confirmed
Status in grub2 package in Debian:
  Unknown

Bug description:
  After updating grub2 (to 2.02~beta2-36ubuntu3.26) and rebooting, my
  server does not boot:

  Booting from Hard Disk 0...
  error: symbol `grub_calloc' not found.
  Entering rescue mode...
  grub rescue> _

  I rebooted 3 servers in this way (all running Ubuntu 16.04.6 LTS) and
  all hung.

  A lot of other people are reporting the same problem at:

  https://askubuntu.com/questions/1263125/how-to-fix-a-grub-boot-error-
  symbol-grub-calloc-not-found.

  ---

  Above most likely means that dpkg debconf no longer knows about the
  correct drives to install grub onto.

  Please boot & mount all the target disks and execute

  $ sudo dpkg-reconfigure grub-pc

  You will be asked which drives to install grub onto, and then grub
  will be installed onto them, and more importantly, it will remember
  where to install grub to, on all future upgrades.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1889509/+subscriptions



More information about the foundations-bugs mailing list