下载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'.
发布于 2019-05-13 23:30:21
如果您不想冒卸载/cow的风险,我发现了一个巧妙的小窍门,它愚弄了grub-探测器,以为/cow上有一个空的文件系统,然后忽略它。
dd if=/dev/zero bs=1M count=1 of=cowfile
mkfs -t vfat cowfile
mv cowfile /cow
在不起作用的情况下,这对我在一个活动的usb上运行起了作用。
https://unix.stackexchange.com/questions/511252
复制相似问题