安装有windowsXP 2003 Linux的系统GRUB.conf怎么写

来源:百度知道 编辑:UC知道 时间:2024/06/06 08:13:20
我的xp安装在C盘FAT32分区,2003在G盘NTFS分区,Linux的/boot在G盘后一个分区,请问这种情况grub.conf该怎么写才能三个系统都能够进。
其他不用GRUB的方法也可以

default=0
timeout=10
splashimage=(hd0,5)/boot/grub/splash.xgm.gz
#上面的(hd0,5)我写的是我的分区,你就保持你自己的不用改
title Red Hat Enterprise Linux Server (2.6.18-8.el5xen)
#这一行title后是你的linux版本号 也不用改
root(hd0,1)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /boot/initrd-2.4.20- 8.img
title windows xp
rootnoverify (hd0,0)
chainloader +1
title windows 2003
rootnoverify (hd0,4)
chainloader +1

你的grub是DOS版本还是Linux版本啊