GRUBは起動中に「/boot/grub」パスを読み取ることができません。インストールできません。中止中

GRUBは起動中に「/boot/grub」パスを読み取ることができません。インストールできません。中止中

grubを更新しようとするたびに、次のエラーが発生します。

# grub-install /dev/sda
Path `/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting.

そして

# grub-mkconfig -o /boot/grub/grub.cfg 
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).

また、btrfsを使用しています。

ベストアンサー1

このコマンドを最初に実行する必要があります。

mount /dev/sda1 /mnt
mount --bind /dev /mnt/dev 
mount --bind /dev/pts /mnt/dev/pts 
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys

また、フラッシュリカバリドライブから起動する場合、

chroot /mnt

源泉)

おすすめ記事