最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Windows 7误删除Ubuntu 10.04引导启动

运维笔记admin8浏览0评论

今天在windows 7下运行bcdedit命令,误将Ubuntu 10.04的启动删除了,导致重启windows 7后无法启动Ubuntu,后来网上找到案例,解决方案如下:

 

原来是Windows XP+Ubuntu(wubi安装)换成Windows 7,由于考虑到换系统后Ubuntu的引导,将c盘“wubildr”和“wubildr.mbr”拷贝出来备份


进入Windows 7后将上面两个文件还原到c盘根目录下


输入“cmd”进入命令行


bcdedit /create /d "linux" /application bootsector

bcdedit /set {id} device partition=c:

bcdedit /set {id} path /wubildr.mbr

bcdedit /set {id} description "Ubuntu"

bcdedit /displayorder {id} /addlast


重新启动选“Ubuntu”即可进入

 

 

通过上述方式,顺利进入Ubuntu,通过此次经历,对bcdedit有了更多的认识!

发布评论

评论列表(0)

  1. 暂无评论