删除 Windows7 分区后 Lap 无法启动

删除 Windows7 分区后 Lap 无法启动

当我使用 Ubuntu 时,我意外删除了 windows7 分区。重新启动时出现以下错误:

error:unknown file system,Entering rescue mode,grub rescue> 

我尝试重新安装 Ubuntu、Windows7,但 Windows 设置正在加载文件,之后 Windows 徽标一直闪烁,在 Ubuntu 上选择了安装 Ubuntu 选项但系统冻结。

grub rescue 中使用了“ls”命令,结果是

the hard disk partitions as(hd0) (hd0,msdos15)...(hd0,msdos5)

答案1

如果你没有把事情搞得太糟,你可以通过启动 liveDVD 或 liveUSB 来解决问题,然后打开终端并运行使用 Boot-Repair:

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo sed 's/trusty/saucy/g' -i /etc/apt/sources.list.d/yannubuntu-boot-repair-trusty.list
sudo apt-get update
sudo apt-get install -y boot-repair && (boot-repair &)

来源:https://help.ubuntu.com/community/Boot-Repair

相关内容