我正在尝试在安装 Win10 后修复 grub。这是我的磁盘内容:
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xc4476e04
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 206847 204800 100M 7 HPFS/NTFS/exFAT
/dev/sda2 * 206848 566209347 566002500 269.9G 7 HPFS/NTFS/exFAT
/dev/sda3 566210560 567169023 958464 468M 27 Hidden NTFS WinRE
/dev/sda4 567171072 976773167 409602096 195.3G 5 Extended
/dev/sda5 567173120 976773119 409600000 195.3G 83 Linux
sda2 包含 wind10 和 sda5 btrfs 卷(无加密、无压缩)
我没有成功进行启动修复,因此我按照这里的说明进行操作:https://bugs.launchpad.net/boot-repair/+bug/1721263
Boot with a Linux LiveCD
sudo mount -t btrfs -o subvol=@ /dev/sda5 /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /dev/pts /mnt/dev/pts
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt
grub-install /dev/sda
在这里我收到以下错误:
Installing for i386-pc platform.
grub-install: error: cannot open `/boot/grub/i386-pc/hello.mod': No space left on device.
sda5 有 56GB 可用空间。发生了什么事?我该如何修复我的系统?谢谢
编辑:更多信息
df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda5 204800000 149884472 0 100% /
udev 12307620 0 12307620 0% /dev
df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda5 0 0 0 - /
udev 3076905 777 3076128 1% /dev