如何在Windows 10中删除Ubuntu分区后从Boot Menu中删除“Ubuntu”(双启动)

我最近安装了Windows 10和Ubuntu 16.04 LTS的双启动。 在搞乱Ubuntu之后,我决定是时候进行干净的重新安装了。

我重新启动进入Windows 10并删除了Ubuntu分区(其中两个)并将它们转换回free space

重启后,我进入了一个带有Grub >命令行的黑屏。 (注意:不是Grub救援)。 不知道该怎么办,我关闭了一支部队。

接下来,我尝试再次启动我的机器,这次按F2进入BIOS。 我很幸运,我可以更改引导顺序以使Windows Boot Manager回到列表顶部,而不是Ubuntu 。 我成功启动回Windows 10。

现在,这是我的问题与其他问题不同的地方(我在发布之前对类似主题进行了一些研究)。 现在,我可以重新启动进入Windows 10。

我的目标是删除Ubuntu 并重新安装它以获得清洁。 我已经删除了Ubuntu分区。 但是,现在Ubuntu选择在我的Boot Menu中仍然存在。 因此,我该如何删除它?

我已成功执行以下解决方案来解决我的问题:

  1. 在BIOS中,更改Boot Sequence以允许从USB启动(包含Ubuntu)

  2. 在GRUB中,选择Try Ubuntu而不安装

  3. 进入Ubuntu后,按Ctrl + Alt + T调出终端

  4. 键入sudo efibootmgr以列出Boot Menu中的所有条目

  5. 在菜单中找到Ubuntu并记下其引导号,例如Boot0001

  6. 键入sudo efibootmgr -b 1 -B以从Boot Menu中删除条目

-b :修改引导号-B :删除引导号

之后,我所做的只是将Windows启动管理器切换回启动菜单的顶部>返回到Windows 10> 创建并格式化硬盘分区并扩展我的Windows C:\ Drive分区以合并到可用空间它来自我删除的Ubuntu驱动器。


参考(带图像): 如何从双引导中删除Ubuntu

打开命令提示符(管理员)(如上面的选项图片所示)。 按照以下命令 – >注意’#’之后的行只是为了解释命令

 > diskpart > list disk # select the primary disk > select disk 0 # disk 0 is > list partition # a list of partition is opened Note-> Check which is the system partition (example partition 1 is system partition) > select partition 1 #select the system partition > assign letter=x #disk is now mounted in your explorer verify with (windows+E) >exit #exit from diskpart >x: # this would select this newly mounted disk x: > dir # displays content > cd efi >dir #displays content Note-> You can now see the OS check your Linux OS >rd ubuntu /S #if Linux os is Ubuntu >y #to confirm delete 

你可以查看我的文章UNINSTALL UBUNTU COMPLETELY