---
# System prepended metadata

title: 'grub boot error : "symbol ''grub_calloc'' not found の直し方'
tags: [linux]

---

---
tags: linux
--- 

# grub boot error : "symbol 'grub_calloc' not found の直し方

```shell
```
$ l

NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
loop0         7:0    0  76.4M  1 loop /run/miso/sfs/livefs
loop1         7:1    0 388.6M  1 loop /run/miso/sfs/mhwdfs
loop2         7:2    0   1.5G  1 loop /run/miso/sfs/desktopfs
loop3         7:3    0 731.7M  1 loop /run/miso/sfs/rootfs
sda           8:0    0 223.6G  0 disk 
├─sda1        8:1    0 121.6G  0 part 
├─sda2        8:2    0   8.8G  0 part 
├─sda3        8:3    0     1K  0 part 
└─sda5        8:5    0  93.1G  0 part 
sdb           8:16   1  14.4G  0 disk /run/miso/bootmnt
├─sdb1        8:17   1   2.7G  0 part 
└─sdb2        8:18   1     4M  0 part 
mmcblk0     179:0    0 119.1G  0 disk 
└─mmcblk0p1 179:1    0 119.1G  0 part /run/media/manjaro/4dac3ae1-43a6-4e08-9433-ca1b1f6c4943
$ sudo mount /dev/sda1 /mnt
$ sudo grub-install --root-directory=/mnt/ /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.
```

# Manjaro kernel missing

![](https://i.imgur.com/JvKYuqr.jpg)

> error you need to load kernel first.

よくあるやつ

https://classicforum.manjaro.org/index.php?topic=1011.0

# 復旧手順

1. インストール用manjaroを起動する
1. WIFI接続
2. capsキーをctrlに

```
$ lsblk
$ mkdir mount
$ sudo mount /dev/sdb1 mount
$ sudo manjaro-chroot mount
$ su mike 
$ wget pacman-static
$ mv pacman-statc /usr/bin/
$ sudoedit 




$ grub-config 

```



I think you made find me an error I might have added myself to the installer