windows恢复ubuntu启动项

windows7、windows8:

bcdedit /create /d "linux" /application bootsector
bcdedit /set {598e4bb2-cd3a-11e2-9a8f-d485aa5f502f} device partition=c:
bcdedit /set {598e4bb2-cd3a-11e2-9a8f-d485aa5f502f} path \wubildr.mbr
bcdedit /set {598e4bb2-cd3a-11e2-9a8f-d485aa5f502f} description "Ubuntu"
bcdedit /displayorder {598e4bb2-cd3a-11e2-9a8f-d485aa5f502f} /addlast


windows xp:

1. 把安装在ubuntu->winboot文件夹下的wubidr和wubidr.mbr两个文件拷到C盘根目录下。

2. 用记事本打开c盘下的boot.ini,在最后一行加入如下语句,保存。

  c:\wubildr.mbr="Ubuntu"

3. 重启,Ubuntu启动项出来了。


你可能感兴趣的:(windows恢复ubuntu启动项)