error: ubuntu error symbol ‘grub_calloc’ not found

原因:系统引导文件出错 -> grub无法找到引导文件 -> 无法进入系统

What is GRUB?

  • GRUB is acronym for GRand Unified Bootloader.

GRUB is a complete program for loading and managing the boot process. It is the most common bootloader for Linux distributions. A bootloader is the first software that runs when a computer starts. It loads the kernel of the operating system and then the kernel initializes the rest of the operating system: shell, display manager, desktop environment, etc.

总结:BootLoader负责加载内核。BootManager在于找到了多个引导,如果选择进入的系统。

What is Grub in Linux? What is it Used for? (itsfoss.com)

ubuntu error symbol ‘grub_calloc’ not found

  1. 插入安装linux系统的启动盘,然后不要安装系统,进入ubuntu微系统。
  2. 进入终端;
  3. 在终端输入:
1
2
3
4
5
6
# Change the password of `root`.
sudo passwd

# Install `boot-repair`
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair

[1]: Boot-Repair - Community Help Wiki (ubuntu.com)

[2]: linux系统安装 ubuntu error symbol‘grub_calloc’not found_moriarty_jack的博客-CSDN博客

[3]: Bug #1889509 “grub boot error : “symbol ‘grub_calloc’ not found” : Bugs : grub2 package : Ubuntu (launchpad.net)