Hi guys,
I installed fedora core 5 in my second hard disk (hdb1 linux and hdb2 linux LVM) with grub in that disk in order to leave the MBR in the first disk (windows XP, one primary partition, and three logical partitions) primary master untouched. I changed the boot sequence in bios in order to be able to boot from second drive using grub.
At first, I couldn’t load grub (the screen would freeze at start-up), so I just booted from the rescue cd and reinstalled grub. This time, the grub menu appeared but couldn’t boot into any of the two OS. I figured to fix the problem for windows by adding couple of lines in grub.conf file to remap device order. Now I could boot to windows. But I am still working to get Fedora booting, where it posts the same on the screen:
booting ‘Fedora Core (2.6.15-1.2054-FC5)’
Root (hd1,0)
Filesystem type unknown, partition type 0x7
kernel /vm.linuz-2.6.15-1.2054_ro root = /dev/volGroup 00 /logVol00 rhgb quiet
Error 17: cannot mount selected partition
Here is how my grub.conf file looks like (after editing, in bold)
//start grub.conf
default = 0
timeout = 20
splashimage = (hd1, 0) /grub/splash.xpm.gz
hiddenmenu
Title fedora core (2.6.15-1.2054-FC5)
root (hd1,0)
kernel /vm.linuz-2.6.15-1.2054_ro root = /dev/volGroup 00 /logVol00 rhgb quiet
initrd /initrd-2.6.15-1-2054_FC5.img
Title windows xp
root (hd1,0)
map (hd1) (hd0)
map (hd0) (hd1)
chainloader +1
//end grub.conf
and here is my /etc/fstab,
//start /etc/fstab
/dev/volGroup00/LogVo100 /
label = /boot /boot
devpts /dev/pts
tmpfs /dev/shm
proc /proc
sysfs /sys
/dev/hda6 swap
/dev/volGroup00 /log vol01 swap
ext3 defaults 11
ext3 defaults 12
devpts gid=5, mode=620 00
tmpfs defaults 00
proc defaults 00
sysfs defaults 00
swap defaults 00
swap defaults 00
//end /etc/fstab
and finally the fdisk
//fdisk-l
Disk /dev/hda: 40.0 GB
255 heads, 63 sectors/track, 4866 cylinders
Units = cylinders of 16065*512 = 8225280 bytes
Device boot start end blocks Id system
/dev/hda1 * 1 1785 14337181 7 HPFS/NTFS
/dev/hda3 1786 4866 24748132+ f W95 Ext’d (LBA)
/dev/hda5 1786 3602 14595021 7 HPFS/NTFS
/dev/hda6 3603 3666 514048+ 7 HPFS/NTFS
/dev/hda7 3667 4866 9638968+ 7 HPFS/NTFS
Disk /dev/hdb: 80.0 GB
255 heads, 63 sectors/track, 4866 cylinders
Units = cylinders of 16065*512 = 8225280 bytes
Device boot start end blocks Id system
/dev/hdb1 * 1 13 104391 83 Linux
/dev/hdb2 14 9729 78043770 8e Linux LVM
//end fdisk -l
sorry for the long post but I wanted to be as clear as possible
Thanks in advance,
esprit