卸载linux grub,一个命令删除Ubuntu的grub

安装完Ubuntu后系统就用grub接管了Windows7的启动选项,但哪天不想用Ubuntu了,除了用wubi安装能够吃后悔药外,用Windows7的安装盘修复只需要一个命令,一眨眼的功夫就能正常用Windows7单启动了。

无论Ubuntu分区是否已经删除,开机出现grub>字符无法启动系统,或者Ubuntu还呆在它的ext4分区中,直接用Windows7光盘启动系统,然后照一下步骤:

1、用Windows7光盘启动系统后会让你选择语言,默认的或者自己随便选一下后按下一步;

2、在下一个界面会提示安装Windows,此时选择左下角的修复计算机;

c2c98b4db0d2e0971dfc6dedd88a71e3.png

3、等待系统找到Windows7系统后按下一步;

4、选择最后一个“Command Prompt”;

76b0d273390a3e39f1ca45245b0acf5a.png

5、在弹出的命令行对话框中输入“bootrec.exe[空格]/fixmbr",按下回车后就已经删除了grub,很快。。

退出光盘重启计算机后系统就已经自动进入Windows7了

bootrec.exe 的其他参数:

* /FixMbr. Re-writes the master boot record (MBR) of the system partition to start Windows Vista. This won’t overwrite the existing partition table.

* /FixBoot. Writes a boot sector onto the system partition to start Windows Vista.

* /ScanOs. Scans all disks for Windows Vista installations and displays them to you. Oddly, this didn’t work for me, even on a test system that was starting just fine.

* /RebuildBcd. Scans all disks for Windows Vista installations and prompts you to pick the ones you want to add to the BCD.0b1331709591d260c1c78e86d0c51c18.png

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值