Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-17-2004, 01:27 PM   #1
LQ Newbie
Registered: Jan 2004
Location: North Carolina
Distribution: Fedora Core 1
Posts: 1

Rep: Reputation: 0
Exclamation Grub is all messed up...ahhhhhh!!!

OK...I have a 60 gig drive as my primary drive. It is partitioned into 3 partitions. 1st partition is my Windows XP Pro, 2nd partition is my swap, and 3rd partition is my Fedora Core Root. I had to reformat the windows xp pro partition and when it did I guess it rewrote the MBR. I had found a string (/sbin/grub-install /dev/hda) that I could run in Linux Rescue off of the Fedora Install Disc to reinstall my grub. That part succeeded but when I tell it to load one of the two kernels that I have it says it failed. The only thing that I can boot from grub is Windows XP. I dont know what to do next at all. I am still a newbie on all linux but learn quickly. Is there anyone that can help me. Thanks alot.
Old 01-17-2004, 03:06 PM   #2
Senior Member
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
Well. Time for your first complete linux re-install. Basically you used to have to go through this every time Windows did a major update and wrote the boot sector and screwed everything up. Have fun! First of many till you completely remove windows!
Old 01-17-2004, 03:29 PM   #3
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
whats the error message?
Old 01-17-2004, 03:53 PM   #4
Registered: Jan 2004
Location: New Delhi, India
Distribution: L.F.S 5.0 | FreeBSD 5.2 | Debian sid | Gentoo 2004.0 | Slackware 9.1
Posts: 78

Rep: Reputation: 15
Before re-installing, you should check whether your linux partitions are still fine or not. Boot from the rescue prompt and try to mount your linux root partition.
If it works, check the partition table using fdisk -l /dev/hda .
If you run pmagic in windews, check if it shows available ext2 or ext3 and a swap partition.
If it shows free space or unknown, you need a re-install. windews has messed your other partitions.

Also try entering the grub commands (root ***, kernel ***, initrd ***, boot) manually and check for the errors. Directions are given on the boot screen in grub.
To see the commands sequence, press 'e'. Note them down and enter them one by one.


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
Grub is messed up Hit3k Linux - Software 9 11-22-2005 06:07 AM
Grub loader messed up Sousuke Linux - General 1 08-12-2005 06:07 PM
messed up grub with hd install what to do? gonus Debian 5 09-29-2004 09:16 PM
GRUB loader messed up filkacik Linux - Software 6 10-04-2003 03:39 PM
Ahhhhhh Excelsior Linux - General 6 02-07-2003 11:14 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:48 PM.

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