Re: Grub - related

From: Robert Nichols (SEE_SIGNATURE_at_localhost.localdomain.invalid)
Date: 07/12/05


Date: Tue, 12 Jul 2005 16:42:25 +0000 (UTC)

In article <-e6dnY946vqetE7fRVn-hw@golden.net>,
Tajin <getedoli@golden.net> wrote:
:I tried to install FC4 to correct my GRUB problem, but the problem
:continues, I boot up on rescue mode, and I did
:chroot /mnt/sysimage, after I did
:sh-3.00# nano /boot/grub/grub.conf and I modified the file as follows
:
:
:timeout=10
:splashimage=(hd1,0)/grub/splash.xpm.gz
:title GNU/linux Fedora Core 4(2.6.11-1.1369_FC4)
:root (hd1,0)
:kernel /initrd-2.6.11-1.1369_FC4.img
:
:title Windows 2000
:rootnoverify(hd0,0)
:chainloader +1
:
:I am getting error 13: "Invalid or unsupported executable format
:Press any to continue

You're missing quite a bit between "kernel" and "/initrd..." there.
Those are actually part of two separate lines, which should be something
like:

    kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/
    initrd /initrd-2.6.11-1.1369_FC4.img

or

    kernel /boot/vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/
    initrd /boot/initrd-2.6.11-1.1369_FC4.img

depending whether /boot is on its own partition (1st case) or is
part of the root partition (2nd case).

-- 
Bob Nichols         AT comcast.net I am "rnichols42"