開機錯誤如下:
error: file '/boot/grub/i386-pc/normal.mod' not found.
Entering rescue mode...
grub rescue>
首先通過 ls
查看所有的分區,然後輸入命令:ls (hd0,msdos*)/boot
直到不出現:error: unknown filesystem
,以 msdos8 爲例,輸入如下命令:
grub rescue> set root=hd0,msdos8
grub rescue> set prefix=(hdo,msdos8)/grub
grub rescue> insmod normal
grub rescue> normal
如果 /boot/grub
沒有損壞,就能進入Ubuntu系統了
進入Ubuntu系統之後,打開終端輸入:
sudo update-grub2
sudo grub-install /dev/sda
就能夠解決”grub rescue”的問題了