陷入救援模式
grub rescue> set
cmdpath=(hd0)
prefix=(hd0,msdos1)/boot/grub
root=hd0,msdos1
grub rescue> ls
(hd0) (hd0,msdos5) (hd0,msdos1) (hd1)
grub rescue> ls /
./ ../ lost+found/ etc/ media/ bin/ boot/ dev/ home/ lib/ lib64/ mnt/ opt/ proc/
root/ run/ sbin/ srv/ sys/ tmp/ usr/ var/ initrd.img vmlinuz initrd.img.old vml
inuz.old org/ .rnd
grub rescue> insmod normal
error: relocation 0x0 is not implemented yet.
grub rescue>
grub rescue> insmod linux
error: relocation 0x0 is not implemented yet.
grub rescue> insmod (hd0,msdos1)/boot/grub/i386-pc/linux.mod
error: relocation 0x0 is not implemented yet.
grub rescue>
我尝试了几个命令但没有成功,有什么想法可能发生了什么吗?
谢谢!
答案1
发现错误,模块位于 /usr/lib/grub 中,因此前缀是:
set prefix=/usr/lib/grub