|
|
发表于 2004-10-24 10:14:33
|
显示全部楼层
按楼上的方法,我的好了
我也是双硬盘,linux装在主硬盘上,xp装在从硬盘上
先装xp,后装linux,装好后无法引导xp,刚才,使用楼上的方法,map,就成功了,看看我的
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,0)
# kernel /boot/vmlinuz-version ro root=/dev/hda1
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Red Hat Enterprise Linux AS (2.4.21-4.EL)
root (hd0,0)
kernel /boot/vmlinuz-2.4.21-4.EL ro root=LABEL=/ hdd=ide-scsi
initrd /boot/initrd-2.4.21-4.EL.img
title windows xp
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
makeactive
chainloader +1
boot |
|