首先确定你的linux分区安装在哪个分区,和linux的内核版本
比如硬盘的第2个逻辑分区 2.6.24的内核
我以此为例,当然你的不一定如此 我只是举例,而且内核可能也不同
首先下载grub4dos,解压到c盘根目录,打开c:\boot.ini,添加如下代码到原文最后:
C:\GRLDR="Start Linux"
然后进入grub目录,找到menu.lst,打开
找到title开头的地方(从上开始第一个),删除原来的
添加如下:
title Linux
root (hd0,6)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=8448c875-873e-41ac-8612-b992692cb44f ro locale=zh_CN vga=788
initrd /boot/initrd.img-2.6.24-21-generic
quiet
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1