RE: Re-installing GRUB on FC3

From: Daniel B. Thurman (
Date: 12/23/04

  • Next message: Ow Mun Heng: "Re: [OT] Hard Drive Clicking Noise for Hitachi Mobile Drives"
    Date: Wed, 22 Dec 2004 19:31:18 -0800
    To: "For users of Fedora Core releases" <>

    This is my $0.02 so take it for what it is.

    I had the same problem with multi-boot configuration and
    thanks to others for leading me the way. Here is what
    I found and it fixed my problems.

    First -- the basics seems to be:

    Your hardware configuration should be:

    IDE0 - Primary/master - hard disk #1 = /dev/hda (boot drive - required)
    IDE0 - Secondary/slave - hard disk #2 = /dev/hdb
    IDE1 - Primary/master - CDROM/DVD #1 = /dev/hdc (cdrom - required if
    IDE1 - Secondary/slave - ? = /dev/hdd

    I have tried before all sorts of other combinations and it wreaked
    havoc with the fedora installation, at least this is what it did
    to me. Note that for windows OS, it does not matter as to where
    the boot hard disk is installed as long as it is a primary/master
    either on IDE0 or IDE1 and the cdrom/dvd can be anywhere else but
    for fedora -- apparently it DOES matter. I note that if the cdrom
    for fedora was on /dev/hdd -- fedora complains with a interrupt problem
    and spits a message to the message file very often so when I put
    the cdrom on /dev/hdc -- it "shut up"!

    Once you get your hardware configuration right and your devices
    are "fedora approved", you can reinstall grub with

    1) Insert your fedora boot cd
    2) Run 'linux rescue'
    3) Do 'chroot /mnt/sysimage' stage when asked
    4) grub-install /dev/hda (NOT /dev/hdaX where X are paritions)
    5) remove CDROM
    6) type exit twice (it will reboot)

    then grub should come up.

    Hope this helps,

    -----Original Message-----
    From: Pete Toscano []
    Sent: Sunday, December 19, 2004 10:40 AM
    To: For users of Fedora Core releases
    Subject: Re-installing GRUB on FC3


    I have a dual-boot system at home. I needed to re-install XP and it, as

    expected, nuked the GRUB install that was put there when I installed

    This is an IDE-only system with hda and hdc being DVD drives. hde and
    hdg are my hard drives. The boot partition is hdg1 and the root
    partition is LVM on /dev/VolGroup00/root. XP is hde1.

    When I try "grub-install --root-directory=/boot /dev/hde" from the
    command line as root and reboot, I get the following:

    GRUB Loading stage1.5.

    GRUB loading, please wait...
    Error 5

    If I boot from my GRUB boot floppy, then load the config file on my
    /boot partition ("configfile (hd1,0)/grub/grub.conf"), everything works
    fine. I've tried various combinations of grub-install from the command
    line and install and setup from the GRUB shell after booting from the
    floppy, but the result is always as above.

    Here's the

    (fd0) /dev/fd0
    (hd0) /dev/hde
    (hd1) /dev/hdg

    Here's the grub.conf (with comments stripped):

    title Fedora Core (2.6.9-1.681_FC3)
            root (hd1,0)
            kernel /vmlinuz-2.6.9-1.681_FC3 ro root=/dev/VolGroup00/root
            initrd /initrd=2.6.9-1.681_FC3.img
    title WinXP
            rootnoverify (hd0,0)
            chainloader +1

    I know the GRUB can be installed and works fine (since it did after the
    FC3 install), but I have yet to find the magic combination that'll work
    now. Any suggestions for how to get this to run so I don't have to keep

    booting from floppy?


    fedora-list mailing list
    To unsubscribe:
    fedora-list mailing list
    To unsubscribe:

  • Next message: Ow Mun Heng: "Re: [OT] Hard Drive Clicking Noise for Hitachi Mobile Drives"