删除Ubuntu分区后GRUB救援问题!
删除我的Ubuntu分区后,我重启了我的电脑,我只得到一个提示:
grub rescue >
命令ls
列出
(hd0) (hd0,msdos5) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1) (hd1) (hd1,msdos1)
我逐一检查:
ls (hd0,msdos5)/ ls (hd0,msdos1)/
但我找不到合适的分区。
试试以下..
grub rescue > ls (hd0) (hd0,msdos5) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1) (hd1) (hd1,msdos1) grub rescue > ls (hd0,msdos1) # try to recognize which partition is this grub rescue > ls (hd0,msdos2) # let's assume this is the linux partition grub rescue > set root=(hd0,msdos2) grub rescue > set prefix=(hd0,msdos2)/boot/grub # or wherever grub is installed grub rescue > insmod normal # if this produced an error, reset root and prefix to something else .. grub rescue > normal
对于永久性修复,请在成功引导后运行以下命令:
sudo update-grub sudo grub-install /dev/sdX
其中/dev/sdX
是你的启动驱动器。
我有同样的问题。 我删除了GRUB。 只需从另一台PC下载Windows 8或10即可。 使用Rufus将iso刻录到USB中。 从USB启动,单击疑难解答 ,然后单击命令提示符 ,然后键入:
Bootrec /fixmbr
没有Ubuntu的GRUB,Windows将正常启动。 您可以再次重新安装Ubuntu。
在Ubuntu live-CD或live-USB上启动计算机
然后按照第2节选项进行操作:在此链接中安装Ubuntu中的Boot-Repair :
我做了同样的事情。 删除了Ubuntu分区。 我能够进入BIOS。
如果您有Ubuntu的可启动USB,请进入BIOS并在启动顺序中首先选择USB。 重新开始。 然后再次安装Ubuntu。 你这次可以删除SAFELY。