PDA

View Full Version : Grub problems



micheel
25th August 2006, 02:41 PM
Hi i just installed Fedora Core 5 on my computer.

I have 3 partitions on my 120 gb hdd.
One witch windows xp on, one extra partition to xp and one with FC5.

BUT when i boot up my computer and the grub menu shows up i only have two options: Fedora and "Other" :S
I thought that other must be windows but nothing happens. Its some text on a black screen.

So what i want to do is configure grub so windows shows up in the boot list. is that possible?

I have been searching mut i didn't find an answer. :(

Thank you for your help.

funknor
25th August 2006, 02:47 PM
check the grub.conf in /boot/grub. It should look something like this:

title Fedora Core (2.6.17-1.2174_FC5)
root (hd0,2)
kernel /vmlinuz-2.6.17-1.2174_FC5 ro root=LABEL=/0 quiet
initrd /initrd-2.6.17-1.2174_FC5.img
title Windows XP
rootnoverify (hd0,0)
chainloader +1
replace the (hd0,0) with the disk/partition where your disk images are on.

The last entry basically boots windows. You can change the title to whatever you wish.

micheel
25th August 2006, 02:58 PM
check the grub.conf in /boot/grub. It should look something like this:

title Fedora Core (2.6.17-1.2174_FC5)
root (hd0,2)
kernel /vmlinuz-2.6.17-1.2174_FC5 ro root=LABEL=/0 quiet
initrd /initrd-2.6.17-1.2174_FC5.img
title Windows XP
rootnoverify (hd0,0)
chainloader +1
replace the (hd0,0) with the disk/partition where your disk images are on.

The last entry basically boots windows. You can change the title to whatever you wish.

Okay but i cant open the file, its a forbidden sign on it and it says could not show grub.conf :S
And how do i know whitch number the partition has?


Thank you for helping

funknor
25th August 2006, 03:42 PM
you have to login as root or do "su root" to modify the file.

To your other question, grub numbers the hardrives and partitions. In case you have ide, the first hardrive once booted would be /dev/hda, the second /dev/hdb etc. Grub sees them as (hd0) and (hd1). If there are partition on them, grub would address them as (hd0,0) (first), (hd0,1) (second), (hd0,2) third.

From your post I would guess XP is onthe first partion? That would be (hd0,0)