vista下硬盘安装ubuntu

1.下载grub4dos-0.4.3-2007-04-21.zip,解压grldr,grldr.mbr到C:\

2.到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即可

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/49d1bc61e6d99c12595b2e6de685f789.html