GRUB エラー: grub-install: エラー: '/cow' の正規パスを取得できません。

GRUB エラー: grub-install: エラー: '/cow' の正規パスを取得できません。

このエラーは grub のダウンロード中に発生します。

ubuntu@ubuntu:/boot/grub$ sudo grub-install /dev/sda
Installing for i386-pc platform.
grub-install: error: failed to get canonical path of `/cow'.

ベストアンサー1

/ cowをアンマウントする危険性がない場合は、grub-probeが/ cowに空のファイルシステムがあると思って無視するように欺くための素晴らしい小さなトリックを見つけました。

dd if=/dev/zero bs=1M count=1 of=cowfile
mkfs -t vfat cowfile
mv cowfile /cow

grub-mkconfigが動作しないライブUSBで実行したとき、これは私にとって効果的でした。

おすすめ記事