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:[EMAIL PROTECTED]]
Sent: Wednesday, December 11, 2002 10:15 AM
To: [EMAIL PROTECTED]
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*`

[root@da2 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:

[root@da2 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.
[EMAIL PROTECTED] http://docmagic.com



_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub

Reply via email to