1.下载grub4dos-0.4.3-2007-04-21.zip,解压grldr,grldr.mbr到C:\
2.到http://archive.Ubuntu.com/ubuntu/dists/feisty/main/下载所需的vmlinuz,initrd.gz,放到C:\
3.命令提示符下如下操作:
代码:
bcdedit /create /d “GRUB4DOS” /application bootsector
命令结果应该会返回一个GUID,后面的命令用到这个GUID
bcdedit /set {GUID} device partition=C:
bcdedit /set {GUID} path \grldr.mbr
bcdedit /displayorder {GUID} /addlast
4.编辑C:\menu.lst
代码:
color black/cyan yellow/cyan
timeout 30
default /default
title Microsoft Windows Vista
root (hd0,0)
savedefault
makeactive
chainloader +1
title install ubuntu
root (hd0,0)
kernel=/vmlinuz
initrd=/initrd.gz
title reboot
savedefault –wait=2
reboot
title halt
savedefault –wait=2
halt
5.重启选择GRUB4DOS进入后选install ubuntu即可