今天虚拟机fedora更新,更新重启失败,提示如下:
GRUB loading.
Welcome to GRUB!
error: file not found.
Entering rescue mode...
grub rescue>我的虚拟机是VirtualBox,系统是Fedora 16.
解决:
用系统盘安装盘进入系统,重新安装grub。
重启进入如图界面,选择Recuse installed System。
后面选择语言,选择英语就行;选择键盘的话选us;要不要设置网络这里可以选no;下一步就来到了下图,选择continue:
得到:
选择ok。
点ok,进入shell:
输入:chroot /mnt/sysimage
grub2-install /dev/sda
重启即可。
转载于:https://www.cnblogs.com/ManMonth/archive/2011/09/07/2170111.html