LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-16-2008, 02:47 AM   #1
break_sec
LQ Newbie
 
Registered: May 2008
Posts: 2

Rep: Reputation: 0
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:, DCD 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.
 
Old 05-16-2008, 05:22 AM   #2
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 50
Take a look at this LINK
 
Old 05-16-2008, 10:22 PM   #3
break_sec
LQ Newbie
 
Registered: May 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you,

I got it fixed...

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual booting with Windows XP and Fedora Core 4 on laptop Nutcrack3r Linux - Laptop and Netbook 5 08-08-2006 03:03 AM
[Panic] Grub fail to dual boot win XP/Fedora Core 3 on Dell Laptop Latitude D610 syseeker Linux - Software 15 04-17-2006 07:32 AM
GRUB problem: Windows XP, Fedora Core 3, Slackware 10.1 zahadumy Linux - General 4 11-18-2005 10:43 PM
I want to remake the grub (Windows XP & Fedora Core 3) zahadumy Linux - Software 3 05-14-2005 05:25 AM
after installing fedora core 2, i select windows xp from grub and says:.... phiqtion Linux - Newbie 3 06-05-2004 02:47 AM


All times are GMT -5. The time now is 03:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration