LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   grub repair on laptop ( which has Windows XP + Fedora Core 6) (https://www.linuxquestions.org/questions/linux-newbie-8/grub-repair-on-laptop-which-has-windows-xp-fedora-core-6-a-642559/)

break_sec 05-16-2008 01:47 AM

grub repair on laptop ( which has Windows XP + Fedora Core 6)
 
Greetings all,

Yesterday night I tried installing FreeBSD on my laptop (Compaq running on AMD Turion 64).
It already has Windows XP and Fedora Core6 which is working fine.
I didn't get much far in FreeBSD installation, I quit in the middle at a safe place without comitting any changes I made.

But after this when I reboot my machine I'm getting this grub prompt

GNU GRUB version 0.97 (640K lower / 3072K upper memory)
[ Minimal BASH-like line editing is supported. for the first word....
.............]
grub>


Today I got the Fedore rescue cd and rebooted my machine with that.
I google'd for the grub repair but nothing worked out..


After getting the shell from rescue cd (before doing 'chroot '/mnt/sysimage')
if I give 'fdisk -l'
This is what I'm getting

Disk /dev/sda: 60.0 GB,
255 heads, 63 sectors/track, 7296 cylinders
Units .......
Disk identified:.....

Device Boot Start End Blocks Id Systems
/dev/sda1 * 1 2407 19334196 7 HPFS/NTFS
/dev/sda2 2408 7296 39270892+ f W95 Ext'd (LBA)
/dev/sda5 2408 4987 20723818+ 7 HPFS/NTFS
/dev/sda6 4988 6530 12394116 7 HPFS/NTFS
/dev/sda7 6531 6849 2562336 83 Linux
/dev/sda8 6850 7296 3590496 83 Linux



This is grub.conf file in /mnt/sysimage/boot/grub/grub.conf

default=1
timeout=10
splashimage=(hd0,6)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.18-1.2798.fc6)
root (hd0,6)
kernel /boot/vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.18-1.2798.fc6.img
title Windows
rootnoverify (hd0,0)
chainloader +1



Earlier when the system was working fine, I used to have C:, D:(CD DRIVE), E:, F: drives in windows and two partitions in Fedora.

Can anyone share their experiences if you have encountered similar problem.

Thanks in advance.

Best,
Ram.

mrrangerman 05-16-2008 04:22 AM

Take a look at this LINK

break_sec 05-16-2008 09:22 PM

Thank you,

I got it fixed...

:)


All times are GMT -5. The time now is 11:17 AM.