Kei*_*OYS 8 grub2 dual-boot bios bootloader windows-10
我最近在 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选择仍然留在我的启动菜单中。因此,我该如何删除它?
Kei*_*OYS 13
我已经成功地在下面对我的问题执行了这个解决方案:
在 BIOS 中,更改启动顺序以允许从 USB 启动(包含 Ubuntu)
在 GRUB 中,选择Try Ubuntu without installation
进入 Ubuntu 后,按Ctrl+ Alt+ 调T出终端
键入sudo efibootmgr以列出启动菜单中的所有条目。如果该命令不存在,则执行sudo apt install efibootmgr.
发现Ubuntu在菜单中,记下它的开机号例如1在Boot0001
键入sudo efibootmgr -b <boot number> -B以从引导菜单中删除条目。例如sudo efibootmgr -b 1 -B
-b: 修改引导号-B: 删除引导号
之后,我所做的就是将Windows 启动管理器切换回启动菜单的顶部 > 返回 Windows 10 >创建和格式化硬盘分区并扩展我的 WindowsC:\驱动器分区以与它来自的可用空间合并我删除的 Ubuntu 驱动器。
参考(带图片):如何从双启动中删除 Ubuntu
小智 8
打开命令提示符(管理员)(显示在上面的选项图像中)。按照这些命令->注意'#'后面的行只是为了解释命令
> 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
Run Code Online (Sandbox Code Playgroud)
您可以查看我的文章 完全卸载 UBUNTU
| 归档时间: |
|
| 查看次数: |
79127 次 |
| 最近记录: |