bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FW: Help! grub can't find my kernel. (update)


From: Nicholas P. Bernstein
Subject: FW: Help! grub can't find my kernel. (update)
Date: Wed, 11 Dec 2002 10:46:20 -0800

I removed the initrd line from the DEBUGGING Kernel and now get the error:
"invalid or unsupported executable format". I'm going to try compiling as a
zImage as opposed to a bzImage and see if that makes any difference.

Let me know if anyone has any thoughts.

Thanks!

-----Original Message-----
From: Nicholas P. Bernstein [mailto:address@hidden
Sent: Wednesday, December 11, 2002 10:15 AM
To: address@hidden
Subject: Help! grub can't find my kernel.


First off, if this is off list topic and this list is strictly for bugs in
the grub code, I'd like to apologize in advance. I've had some trouble
finding a solution by the standard means of scouring www resources, reading
man & info pages and looking at usenet resources. If there is a more
appropriate place for me to ask these questions, please let me know and I
will inquire there. Without further ado:

I'm having some problems getting a kernel I've compiled to work with
grub. I've only used lilo in the past and was psyched at how amazingly
easy grub seemed in comparison. I yanked the existing configuration:

title Red Hat Linux (2.4.18-18.7.xsmp)
        root (hd0,0)
        kernel /vmlinuz-2.4.18-18.7.xsmp ro root=/dev/cciss/c0d0p3
        initrd /initrd-2.4.18-18.7.xsmp.img

and added the above with the following changes:

title DEBUGGING KERNEL (2.4.18-18.7.x.debug)
        root (hd0,0)
        kernel /vmlinux-2.4.18-18.7.x.debug ro root=/dev/cciss/c0d0p3
        initrd /initrd-2.4.18-18.7.x.debug.img


Here is the output of `ls /boot/vm*`

address@hidden grub]# ls /boot/vm*
/boot/vmlinux-2.4.18-18.7.x
/boot/vmlinux-2.4.18-18.7.x.debug
/boot/vmlinux-2.4.18-18.7.xsmp
/boot/vmlinuz
/boot/vmlinuz-2.4.18-18.7.x
/boot/vmlinuz-2.4.18-18.7.xsmp

also:

address@hidden grub]# ls /boot/initrd-*
/boot/initrd-2.4.18-18.7.x.debug.img
/boot/initrd-2.4.18-18.7.x.img
/boot/initrd-2.4.18-18.7.xsmp.img


My root fs is mounted at:
/dev/cciss/c0d0p3 / ext3 rw 0 0
/boot/ is at:
/dev/cciss/c0d0p1 /boot ext3 rw 0 0

What the heck am I missing?

Thanks,
Nick

--
Nicholas Bernstein, UNIX Systems Admin, Document Systems Inc.
address@hidden http://docmagic.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]