LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   kernel 2.6.3 compile ends in grub error 13: unsupported executable format(?) (https://www.linuxquestions.org/questions/linux-general-1/kernel-2-6-3-compile-ends-in-grub-error-13-unsupported-executable-format-152894/)

browny_amiga 03-03-2004 01:46 AM

kernel 2.6.3 compile ends in grub error 13: unsupported executable format(?)
 
Very excited to give the best and freshest a go, I went about compiling the 2.6.3 kernel on my RH 9 box.

I followed the very helpful HOWTO posted here somewhere:
Config went well (make xconfig)
compile also (make bzImage)
modules fine (make modules)
and install good too (make modules_install)

Now I notices that the thing produces a vmlinux file, not a vmlinuz as expected. (as I understand, vmlinuz is compressed, vmlinux not)

When I point grub to boot from it, it tells me:
error 13: invalid or unsupported executable format.

Size of vmlinux is about 3.7 mbyte, chosing a minimal kernel in config and doing most things in modules.

What am I missing here? Can I check the kernel integrity by other means than to try to start the system on it by grub?

krisealv 03-03-2004 06:52 AM

I use
make xconfig
make all
make install && make modules_install

Can't help you though, use lilo myself

TheOneKEA 03-03-2004 06:56 AM

Wrong file.

vmlinux is the uncompressed C machine code of the Linux kernel - placed in the right environment, it acts just like a C program.

You want the file in arch/i386/boot/bzImage - THAT is the proper Linux kernel file.

browny_amiga 03-03-2004 03:51 PM

Yes, that did the trick.

Wonderful, thanks for your help!

kleptophobiac 03-06-2004 02:33 PM

I used the bzImage file, and yet I still came out with a ton of lilo errors.

warning: '/dev' directory structure is incomplete; device(xx, xx) is missing.
Fatal: Failed to create a temporary device


All times are GMT -5. The time now is 02:09 AM.