error: "grub_calloc" not found after update on Ubuntu VM

Markus Bosch 96 Reputation points
2021-02-22T20:00:42.093+00:00

Hi there: Today, I ran an update from Ubuntu 19 to 20 on my Azure VM and after the final reboot message I receive the message while booting error: "grub_calloc" not found after - the machine get into the grub rescue mode and stalls. No booting. I tried to connect to the machine using Powershell but no success. Who could help me here? Best, Markus

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,013 questions
{count} votes

Accepted answer
  1. Markus Bosch 96 Reputation points
    2021-02-24T07:45:59.337+00:00

    I figured it out myself. There is an issue with the update from older versions to Ubuntu 20.04 which causes the grub_calloc. Basically, I

    • downloaded the BLOB of the OS disk to my local machine
    • mounted it to a new machine on my local HyperV installation and
    • booted this system with boot-repair-disk.iso (https://sourceforge.net/p/boot-repair-cd/)
    • I followed the instructions on screen of this bootable Linux image which repaired all the defective OS drive.
    • Then I uploaded the repaired VHD OS disk to Azure, converted it into a managed disk,
    • created a new machine and attached the new disk

    That's all.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.