|
dual booting from two diff. ide hdd not working
hi all,
i have an IDE CD-ROM ( as /dev/hda)
and in hdb i am having rhel as 4, and in hdc am having win xp.
i know my hdc is having an okward structure, but still i cant configure grub to do dual booting. check out my disk layouts below.
*********************************************
[root@inet ~]# fdisk -l
Disk /dev/hdb: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 13 104391 83 Linux
/dev/hdb2 1900 4865 23824395 f W95 Ext'd (LBA)
/dev/hdb3 14 1768 14097037+ 83 Linux
/dev/hdb4 1769 1899 1052257+ 82 Linux swap
/dev/hdb5 1900 4852 23719941 7 HPFS/NTFS
Partition table entries are not in disk order
Disk /dev/hdc: 41.1 GB, 41174138880 bytes
255 heads, 63 sectors/track, 5005 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 2 2550 20474842+ f W95 Ext'd (LBA)
/dev/hdc2 * 2551 5005 19719787+ 7 HPFS/NTFS
/dev/hdc5 2 2550 20474811 b W95 FAT32
Disk /dev/hdd: 20.4 GB, 20490559488 bytes
255 heads, 63 sectors/track, 2491 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdd1 * 1 2491 20008926 7 HPFS/NTFS
*********************************************************
and here is my current grub.conf:
********************************
#boot=/dev/hdb
default=0
timeout=1
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux AS (2.6.9-22.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-22.EL ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-22.EL.img
title Other
rootnoverify (hd1,4)
chainloader +1
*************************************
currently i am choosing two diff hdd from BIOS to boot into either OS.
any suggestion will be helpful.
regards,
suman
|