Re: GRUB Read Error
From: Tommy Reynolds (TommyReynolds_at_yahoo.com)
Date: 04/06/04
- Next message: joe_at_invalid.address: "Re: Package Managers"
- Previous message: Paul Fedorenko: "GRUB Read Error"
- In reply to: Paul Fedorenko: "GRUB Read Error"
- Next in thread: Paul Fedorenko: "Re: GRUB Read Error"
- Reply: Paul Fedorenko: "Re: GRUB Read Error"
- Reply: Paul Fedorenko: "Re: GRUB Read Error"
- Reply: Paul Fedorenko: "Re: GRUB Read Error -- Problem fixed (for now)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 06 Apr 2004 00:44:14 -0500
On Tue, 06 Apr 2004 00:59:15 -0400, Paul Fedorenko wrote:
> Hi people. I just installed a copy of RedHat Fedora. The first time I
> rebooted the computer, GRUB worked great, and I could boot into both Windows
> XP and Linux. The second time, I got an error message that said "GRUB read
> error" followed by something on not being able to read stage two.
This kind of problem should not happen, so I suspect an operational
problem (read that as "pilot error").
"Stage Two" of GRUB is a bigger file that the tiny, tiny GRUB Stage
One code (from the Master Boot Record) reads into memory. That file
is most likely corrupted. We'll try to fix it in a moment.
Your machine originally had WindowXP on it, right? To make room for
Linux, you defragmented the NTFS C: drive and then booted the Linux
installer. You then used fdisk, or disk druid to cut back the size
of the C: drive to make room for Linux. How am I doing so far?
The important item that I've skipped should have been immediately
after the "defragnented" step. You must resize the NTFS partition so
that the filesystem metadata also matches the new partition size.
So, as a guess, I suspect that WinXP is overwriting stuff in the
Linux area.
To repair GRUB, insert the first Fedora CDROM into the drive and type
"linux rescue" when you see the "boot>" prompt. Allow the system to
initialize normally, and when it asks if you want to mount the
filesystems from the hard drive, permit it. This lets you access
your "/etc/" directory as "/sysimage/etc" and so forth.
DO NOT start mucking around with package groups or RPMs or anything
like that. In the rootshell, type the commands:
# fdisk -l /dev/hda <--Keep this output for us if
problems later.
# /sysimnage/sbin/grub-install --root-directory=/sysimage /dev/hda
to rewrite the GRUB bootloader and its files back into the Master
Boot Record of the hard drive.
Reboot and give it a try.
If this doesn't work, lots of other stuff we can try.
Cheers!
- Next message: joe_at_invalid.address: "Re: Package Managers"
- Previous message: Paul Fedorenko: "GRUB Read Error"
- In reply to: Paul Fedorenko: "GRUB Read Error"
- Next in thread: Paul Fedorenko: "Re: GRUB Read Error"
- Reply: Paul Fedorenko: "Re: GRUB Read Error"
- Reply: Paul Fedorenko: "Re: GRUB Read Error"
- Reply: Paul Fedorenko: "Re: GRUB Read Error -- Problem fixed (for now)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|