如何删除Wubi创建的Ubuntu引导选项?

我的朋友在使用Wubi的Windows 7的PC上的一个单独分区上安装了Ubuntu。 但是他错误地重新格式化了包含Ubuntu的驱动器。 他仍然在启动菜单中获得Ubuntu选项。 如何完全删除?

您需要从Windows 7卸载Ubuntu – 您可以在控制面板的“添加/删除软件”部分中执行此操作,或者再次运行Wubi安装程序(它应该通知您需要先卸载)。

您也可以使用EasyBCD删除引导选项,但您应该先尝试卸载。 http://neosmart.net/dl.php?id=1

试用本教程: 在Windows 7双启动设置中轻松设置默认操作系统

在最后一步中将下拉菜单更改为Windows 7(还应该有一个Ubuntu / Wubi选项)。 您还可以将“显示操作系统列表的时间”更改为“0”,或者更短的内容。

Windows 7如何更改defauly操作系统的映像

或者,您可以尝试使用Ubuntu Wiki指令手动删除Wubi。

问题是你的朋友看到​​的是Grub还是Windows启动菜单?

MBR中的Grub需要重写MBR,这在现代Windows版本中并不容易。

Windows启动菜单可以在系统控制面板中修复。

如果Wubi没有出现在添加/删除程序中,您应该能够再次下载它,运行它,它将直接进入卸载过程。

如果这不起作用,以下手动步骤将删除它,保存删除注册表项:

  1. 删除Wubi目录(如果存在)。
  2. 删除C:驱动器中的所有wubildr文件。
  3. 使用bcdedit /delete从Windows引导加载程序中删除Wubi条目。

如果您重新格式化了包含Ubuntu的驱动器,并且在Windows启动管理器中仍然有Ubuntu条目,则可以按照以下简单过程删除该过时条目:

  1. 以管理员身份打开open cmd。 在Windows的开始菜单中键入cmd,右键单击并选择以管理员身份运行

  2. 然后使用此命令查看引导管理器中的条目

     bcdedit 

    这将为您提供如下输出。 (我的输出缺少Ubuntu,但你会有一个)

     C:\Windows\system32>bcdedit Windows Boot Manager -------------------- identifier {bootmgr} device partition=G: description Windows Boot Manager locale en-US inherit {globalsettings} default {current} resumeobject {bbc2fcc5-e344-11e1-9ade-bd05d50dfb31} displayorder {current} toolsdisplayorder {memdiag} timeout 30 Windows Boot Loader ------------------- identifier {current} device partition=C: path \Windows\system32\winload.exe description Windows 7 locale en-US inherit {bootloadersettings} recoverysequence {bbc2fcc7-e344-11e1-9ade-bd05d50dfb31} recoveryenabled Yes osdevice partition=C: systemroot \Windows resumeobject {bbc2fcc5-e344-11e1-9ade-bd05d50dfb31} nx OptIn 

    虽然我错过了一个description ubuntu的条目。 记下或复制该条目中identifier的值。 这将是一个这样的数字{bbc2fcc7-e344-11e1-9ade-bd05d50dfb31}

  3. 复制您的Ubuntu条目的标识符后,使用此命令清除它

     bcdedit /delete {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} /cleanup 

    当然在那里替换{xxxx...}的值。

现在重新启动以查看您的Obsolete Ubuntu条目已删除。 (实际上,如果你没有多个Windows,你就不会看到这个,因为Windows会自动启动,而不会显示操作系统选择菜单)

我不认为它的Ubuntu问题。

(假设您使用的是Windows)

您必须编辑boot.ini文件

运行 – > msconfig-> BOOT.INI->检查所有启动驱动器

如果它没有找到boot.ini文件中提到的任何操作系统,它会显示一条错误消息,指出您的路径无效并询问您是否要将其删除。 只要符合它,你就完成了。

适用于Windows XP。 我也希望在Windows 7中也一样。

从Windows 7启动菜单中删除Ubuntu或XP如果您曾使用双启动系统然后删除其中一个操作系统,它仍然可以显示在Windows 7的启动菜单中。 我们将向您展示如何摆脱旧条目并加快启动过程。

http://www.howtogeek.com/howto/17903/remove-ubuntu-or-xp-from-the-windows-7-boot-menu/

这有效:以管理员身份运行cmd。

 bcdedit 

会给你以下输出:

 Windows Boot Manager -------------------- identifier {bootmgr} device partition=G: description Windows Boot Manager locale en-US inherit {globalsettings} default {current} resumeobject {bbc2fcc5-e344-11e1-9ade-bd05d50dfb31} displayorder {current} toolsdisplayorder {memdiag} timeout 30 Windows Boot Loader ------------------- identifier {current} device partition=C: path \Windows\system32\winload.exe description Windows 7 locale en-US inherit {bootloadersettings} recoverysequence {bbc2fcc7-e344-11e1-9ade-bd05d50dfb31} recoveryenabled Yes osdevice partition=C: systemroot \Windows resumeobject {bbc2fcc5-e344-11e1-9ade-bd05d50dfb31} nx OptIn 

虽然我错过了一个描述ubuntu的条目。 记下或复制该条目中标识符的值。 它将是这样的GUID: {bbc2fcc7-e344-11e1-9ade-bd05d50dfb31}

复制您的Ubuntu条目的标识符后,使用此命令清除:

 bcdedit /delete {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} /cleanup