boot-repair:修复期间发生错误

boot-repair:修复期间发生错误

我的 grub 分区已损坏,我已经尝试修复它几个小时了。现在它是空的,刚刚格式化。

该设备上的分区按其在磁盘上的顺序排列如下:

  • /dev/sda2(24MB,曾经是grub分区)

  • /dev/sda1(350 GB,Ubuntu 18.04 LTS)

  • /dev/sda3(70 GB,Arch Linux)

我已经从我的 Kubuntu Live USB 运行启动修复。它最后说

An error occurred during the repair.

这是引导修复的完整错误报告: http://paste.ubuntu.com/p/GTzXgC5Ngw

上述全文错误:

ADDITIONAL INFORMATION :
=================== log of boot-repair 20190414_0811 ===================
boot-repair version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
boot-repair is executed in live-session (Ubuntu 18.04.2 LTS, bionic, Ubuntu, x86_64)
CPU op-mode(s):      32-bit, 64-bit
file=/cdrom/preseed/kubuntu.seed boot=casper maybe-ubiquity initrd=/casper/initrd quiet splash --- maybe-ubiquity
ls: cannot access '/home/usr/.config': No such file or directory

和:

=================== User settings
The settings chosen by the user will reinstall the grub2 of sda1 into the MBR of sda.
Additional repair will be performed: unhide-bootmenu-10s


Unhide GRUB boot menu in sda1/etc/default/grub
Unhide GRUB boot menu in sda2/etc/default/grub
lspci: Unable to load libkmod resources: error -12

每次我重新启动计算机后,它都会启动到黑屏,并显示“未找到操作系统”。我使用的是老式索尼 VAIO(BIOS 系统)。

相关内容