要点: 利用window xp的启动管理器来启动grub4dos,进而通过grub4dos来安装ubuntu;
1)
下载grub4dos,加压缩,把grldr和menu.lst, grub.exe拷贝到C:/,然后在boot.ini的最后加上一行:
<pre>c:/grldr="Start GRUB4DOS"</pre>
如果boot.ini中的timeout值为零,把它设置为大于0的数字,例如timeout=30,然后保存boot.ini。
注意:boot.ini文件一般是隐藏的,你需要在文件夹选项中设置显示所有文件,或者在cmd中使用以下命令来去掉boot.ini的隐藏属性:
<pre>attrib -s -r -h c:/boot.ini</pre>
下一次启动Windows时,你会发现启动画面中多了Start GRUB4DOS这一选项,使用它便可启动GRUB4DOS。
该方案的优点:
2)把ubuntu8.04.1的iso文件copy到c盘根目录下,同时将iso中的/casper/文件夹下的initrd.gz vmlinuz文件解压到C盘根目录
;
4)修改menu.lst为(menu.lst原来的内容对于安装ubuntu没有用处,全部删掉就可以了):
title Install ubuntu
root (hd0,0)
kernel /vmlinuz boot=casper iso-scan/filename=/ubuntu-9.04-dvd-i386.iso
initrd /initrd.gz
boot
重启,选择Start GRUB4DOS.选择"Install Ubuntu"一项。启动LiveCD Ubuntu系统。