Re: GRUB Read Error

From: Tommy Reynolds (TommyReynolds_at_yahoo.com)
Date: 04/06/04


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!



Relevant Pages

  • fixing grub : mbr fix when windows install after linux
    ... "There is not a boot manager screen at all, ... windows but GRUB boot window does not appear. ... "I forgot to install GRUB, I didn't install GRUB in the MBR, I chose ... Fedora but that was not an active primary partition". ...
    (comp.os.linux.misc)
  • Re: wrong boot partition
    ... then in windows disk manager the Ubuntu partition was made active, of cause when rebooted it starts the live cd, now its just getting it back to windows and finding a boot manager so one or the other can be booted to as and when its wanted ... Grub on the other hand, doesn't absolutely need the boot flag. ... Linux will load the MBR with grub boot code. ...
    (microsoft.public.windowsxp.general)
  • Re: Fedora Core 5 Installation
    ... Check out the grub manual ... The manual also has the instructions for what commands to issue to alter your OS boot instructions at boot time. ... The first thing I did was burn Fedora Core 5 CDs and tried installing it on my hard drive partition that I created by resizing my Windows XP Pro partition. ... Because I wanted to dual boot Windows and Linux, and also from the instructions in the Fedora Core 5 Installation Manual, I opted for GRUB boot loader. ...
    (Fedora)
  • Re: dual boot with WinXP
    ... > Which boot loader should I use? ... Well, you didn't say which Linux distro you installed, ... Both of them will boot Windows, ... maintain than the 'grub' boot-loader; ...
    (comp.os.linux.setup)
  • Re: F7-x86-64 Stopped Booting - GRUB Issue
    ... I got the latest kernel and other updates via yum as I normally do, but when I went to reboot, all I got was a simple text message saying "GRUB" in the upper left hand corner of my screen, and that's all I've gotten ever since. ... I just tried to do an upgrade install of Fedora 7 to fix the issue, and specifically told it to replace the boot loader configuration on the proper partition, but that didn't work to correct the issue. ... A little more detail is that I'm using the Windows XP boot.ini/boot configuration to load WinXP or to load GRUB which in turn loads Linux. ...
    (Fedora)