windows7系统下删除wubi安装的ubuntu启动项使用命令bcdedit解决
时间:2022-02-21 03:55:48
前不久用笔记本通过wubi安装Ubuntu,但是装完后,发现硬盘布局不好,又重新分区。于是问题出来了,卸载ubuntu后系统启动项还有残留的无效Ubuntu启动项选择,下面与大家分享下解决方法本人属于linux的爱好者,但不是什么大牛的,只是菜鸟级的!平常有机会终会在虚拟机尝试一下Linux系统,试用过的Linux版本也有几种,譬如ubuntu,openSUSE,RedHat.debian等等,如果不是使用的专业软件在Linux下没有很好的选择,我想就单纯的使用Linux。尤其是ubuntu拥有日益增长的用户群,开源是一种潮流,但要走的路还很长。以前一直用台机玩Linux,不过台机用的是winXP。前不久用笔记本通过wubi安装Ubuntu,但是装完后,发现硬盘布局不好,又重新分区。于是问题出来了,卸载ubuntu后系统启动项还有残留的无效Ubuntu启动项选择。
我在网上找了许多方法,提到很多的是采用运行 --> msconfig -->启动项-->删除ubuntu启动项。但这种方法好像不顶用,因为WIN7下好像启动项中只有windows 7os这一个选项。
另外就是本文摘自百度知道提到的一种方法,经过本人使用,解决了这个问题。对这个方法说明补充下。
1、以管理员身份启动cmd窗口【一定要以管理员身份启动,否者提示无法打开启动配置文件,拒绝访问。启动方法可以按照C:/windows/system32/cmd.exe路径找到cmd.exe 然后鼠标右键选择 以管理员身份运行】
2、输入并执行命令bcdedit,得到如下结果:
C:/Windows/system32>bcdedit
Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=C:
description Windows Boot Manager
locale zh-CN
inherit {globalsettings}
default {current}
resumeobject {f00a81b4-9c18-11de-817f-f75094157968}
displayorder {current}
{f00a81b3-9c18-11de-817f-f75094157968}
{f00a81b8-9c18-11de-817f-f75094157968}
toolsdisplayorder {memdiag}
timeout 10
Windows Boot Loader
-------------------
identifier {current}
device partition=C:
path /Windows/system32/winload.exe
description Windows 7
locale zh-CN
inherit {bootloadersettings}
recoverysequence {f00a81b6-9c18-11de-817f-f75094157968}
recoveryenabled Yes
osdevice partition=C:
systemroot /Windows
resumeobject {f00a81b4-9c18-11de-817f-f75094157968}
nx OptIn
Real-mode Boot Sector
---------------------
identifier {f00a81b8-9c18-11de-817f-f75094157968}
device partition=F:
path /ubuntu/winboot/wubildr.mbr
description Ubuntu 【说明了系统的版本】
其中最后一条记录正是需要删除掉的ubuntu,它的ID号是{f00a81b8-9c18-11de-817f-f75094157968}
3、输入并执行命令bcdedit /delete {f00a81b3-9c18-11de-817f-f75094157968}
得到操作成功的提示:
C:/Windows/system32>bcdedit /delete {f00a81b3-9c18-11de-817f-f75094157968}
The operation completed successfully.
4、重启计算机,验证成功!
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
word2007为保密性文档设置密码的技巧
![](https://img.aspxhome.com/file/2023/0/24990_0s.jpg)
word怎样设置图片格式布局
Win7系统Guest账户怎么开启?Win7系统开启Guest账户的方法
![](https://img.aspxhome.com/file/2023/27/a230220_0s.jpg)
windows10关闭自动更新有什么影响?windows10关闭自动更新会怎么样
![](https://img.aspxhome.com/file/2023/7/47667_0s.jpg)
Word文档怎么给特定文字加上拼音或圆圈字效果
![](https://img.aspxhome.com/file/2023/2/26552_0s.jpg)
WPS表格错误分析与解决方案
怎么隐藏Windows11开始菜单中的推荐面板?
![](https://img.aspxhome.com/file/2023/27/a237956_0s.jpg)
WPS演示中怎么查看全部动画效果
excel表格的行号和列号消失不见了怎么找回?
![](https://img.aspxhome.com/file/2023/6/40796_0s.jpg)
Acrobat中pdf文件页面怎么双联显示?
![](https://img.aspxhome.com/file/2023/9/15129_0s.png)
在Win7系统下安装设置Windows XP Mode的图文教程
![](https://img.aspxhome.com/file/2023/28/a242430_0s.jpg)
Win11怎么关闭系统更新提示?Win11关闭系统自动更新方法
![](https://img.aspxhome.com/file/2023/28/a239115_0s.jpg)
开机后windows桌面无显示?高手轻松帮你解决
WPS演示技巧:制作奇妙万花筒
win10识别不了U盘怎么办 win10系统读取U盘失败的解决办法
![](https://img.aspxhome.com/file/2023/28/a239265_0s.jpg)
Word文档技巧——2分钟学会排版分栏
如何在excel2013中清除表格格式
![](https://img.aspxhome.com/file/2023/6/a141426_0s.jpg)
Excel中怎么输入在数字上有删除线的效果
![](https://img.aspxhome.com/file/2023/8/a153848_0s.png)
xcel仪表板:创建Excel 数据仪表盘报表-百度经验-excel学习网
Win10系统蓝屏代码NTOSKRNL.exe BSOD怎么解决?
![](https://img.aspxhome.com/file/2023/26/a222270_0s.png)