Grub clarification

Tod Merley todbot88 at gmail.com
Tue Dec 4 03:01:58 UTC 2007


On Dec 3, 2007 6:11 PM, Daniel B. Thurman <dant at cdkkt.com> wrote:
> >From: fedora-list-bounces at redhat.com
> >[mailto:fedora-list-bounces at redhat.com]On Behalf Of Gordon Messmer
> >Sent: Monday, December 03, 2007 12:50 PM
> >To: For users of Fedora
> >Subject: Re: Grub clarification
> >
> >
> >Daniel B. Thurman wrote:
> >>
> >> Taking the defaults w/o any changes, I proceed and completed
> >> the installation.
> >>
> >> On reboot,  GRUB fails to find the drive.
> >
> >Before you rebooted, you should have been able to switch to a shell to
> >examine the installed system.  If you can mount that drive,
> >you should.
> >  Otherwise, get to the shell to check the contents of
> >/boot/grub/device.map.  What's in there?
> >
> >What's the full text of grub's error?
> >
> >--
> >fedora-list mailing list
> >fedora-list at redhat.com
> >To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> >
>
> The device map shows:
> (hd0)   /dev/sda
>
> When booted, there is a black screen with
> 4 letters at the top-left corner: GRUB
>
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.503 / Virus Database: 269.16.13/1165 - Release Date: 12/2/2007 8:34 PM
>
>
> --
>
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>

Hi Daniel B. Thurman!

GRUB has several "stages".  Stage 1 - the MBR which does a very quick
sanity check and then uses it's disk partition table and/or a specific
call to load - Stage 1.5 (sometimes omitted) which is a loader set up
to regcognize the filesystem where it will find - Stage 2 which is
what actually processes the grub.conf (or equivalent) file.

I could concentrate on rebuilding the MBR using GRUB from the command
line of a liveCD. Be careful, if memory serves "parted" sees the
partitions "base 1" where GRUB sees them "base 0".  You need to
exactly understand "who thinks what is what" to rightly point to where
Stage 2 is.

Good Hunting!

Tod




More information about the fedora-list mailing list