Something works
2013年12月15日 星期日
How to fix grub2
今天很不幸的,在 format 完畢後,我的 grub 就死蹺蹺了。
開機時只出現了
error: file not found.
grub rescue> _
如果你確定沒有把開機的 partition 弄壞,可以用以下指令試試看:
ls
會列出所有可用的 partition
例如 (hd0) (hd0,gpt1) ....
找到可以開機的那個磁區
set prefix=(hd0,gpt2)/boot/grub
insmod normal
normal
選單 back。然後就開機吧!
開機完要記得重新裝一次 GRUB
$ grub-install /dev/sda
$ update-grub
Reference
Problems with GRUB/EFI/GPT
install grub on gpt
沒有留言:
張貼留言
‹
›
首頁
查看網路版
沒有留言:
張貼留言