卸载Ubuntu之后删除其引导
问题描述:
双系统卸载Ubuntu之后会在系统重启时出现:
Minimal BASH-like line editing is supported. For the first word. TAB lists possible command completions. Anywhere else TAB lists possible device or file completions.
原因分析:
在卸载Ubuntu之后仍存在其引导解决方案:
方法1.临时退出
在grub
之后输入:exit
。
方法2.删除Ubuntu的引导
-
Win+R
,输入cmd
,打开命令提示符; -
输入
diskpart
,在diskpart.exe中进行操作; -
输入
list disk
查看设备中的磁盘; -
Ubuntu系统安装在固态中,输入
select disk 1
,选中磁盘1进行操作; -
输入
list partition
查看已选中磁盘的分区信息; -
在分区1中存在Ubuntu系统的引导信息,输入
select partition 1
选中分区1进行操作;
-
对分区1分配任意盘符(勿已分配盘符重复):
assign letter=P
;
-
用管理员身份运行记事本;
-
在记事本中打开分配的盘符P,删除其中的ubuntu文件夹;
-
在diskpart.exe输入
remove letter=P
,删除盘符P。