zoukankan      html  css  js  c++  java
  • 双系统删除Ubuntu. (XP / Win 7)

    使用 WindowsXP 安装光盘恢复删除 ubuntu分区后不能启动 Windows 的方法



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

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

    用WindowsXP 安装光盘启动计算机到如下界面:
    按照屏幕提示按下“R”键进入 恢复控制台


    一开始是选择键盘排列,稍等片刻


    控制台会列出系统中已经安装的Windows,按相应数字键进入该系统




    键入fixmbr








    ================================================================================



    安装完ubuntu后系统就用grub接管了Windows7的启动选项,但哪天不想用ubuntu了,除了用wubi安装能够吃后悔药外,用Windows7的安装盘修复只需要一个命令,一眨眼的功夫就能正常用Windows7单启动了。
    无论ubuntu分区是否已经删除,开机出现grub>字符无法启动系统,或者ubuntu还呆在它的ext4分区中,直接用Windows7光盘启动系统,然后照一下步骤:
    1、用Windows7光盘启动系统后会让你选择语言,默认的或者自己随便选一下后按下一步
    2、在下一个界面会提示安装Windows,此时选择左下角的修复计算机


    3、等待系统找到Windows7系统后按下一步
    4、选择最后一个“Command Prompt”;


    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.
  • 相关阅读:
    程序员兄弟们,我们的基本素质怎么样?
    从GridView中直接导出数据到Excel文件 处理导出乱码 类型“GridView”的控件“XXXX”必须放在具有 runat=server 的窗体标记内。”的异常
    在SQLServer 2005附加SQLServer 2008数据库异常处理
    大型企业如何搭建私有云计算平台
    GIS在石油行业中的应用
    win7(windows 7)系统下安装SQL2005(SQL Server 2005)图文教程
    三维空间数据模型及结构
    oracle适配器连接不上解决方案
    单态设计模式
    java实现排序的几种方法
  • 原文地址:https://www.cnblogs.com/willin/p/2286632.html
Copyright © 2011-2022 走看看