[aklug] Re: Grub not recognizing kernel executable format

From: Christopher Howard <choward@indicium.us>
Date: Wed Sep 15 2010 - 08:38:36 AKDT

On 09/14/2010 11:25 PM, bryanm@acsalaska.net wrote:
> On Tue, September 14, 2010 2:35 pm, Christopher Howard wrote:
>> So, I booted up into the image using qemu, Grub came up fine, but when I
>> boot up my configured option I get this:
>>
>> root (hd0,0)
>> Filesystem type is ext2fs, partition type 0x83
>> kernel /boot/vmlinux
>>
>> Error 13: Invalid or unsupported executable format
>>
>> Press any key to continue...
>
> Just a quick suggestion to hold you over until the experts get
> here.... Run 'file' on your kernel, and make sure it's in the
> format you think it is.
>
> --
> Bryan Medsker
> bryanm@acsalaska.net
>
> ---------
> To unsubscribe, send email to<aklug-request@aklug.org>
> with 'unsubscribe' in the message body.
>

# file kernel-2.6.35.4
kernel-2.6.35.4: ELF 32-bit LSB executable, Intel 80386, version 1
(SYSV), statically linked, not stripped

Yah, this is definitely wrong, because if I run the same command on my
host kernel, I get:

# file /boot/kernel-genkernel-x86-2.6.35-gentoo-r4
/boot/kernel-genkernel-x86-2.6.35-gentoo-r4: Linux kernel x86 boot
executable bzImage, version 2.6.35-gentoo-r4 (root@adler) #, RO-rootFS,
swap_dev 0x3, Normal VGA

I'm wondering if the problem is that I just ran "make" and then copying
the kernel in myself, instead of running the make installation. Maybe I
missed some other stage of kernel preparation...?

-- 
Christopher Howard
http://frigidcode.com
http://theologia.indicium.us
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Wed Sep 15 08:38:47 2010

This archive was generated by hypermail 2.1.8 : Wed Sep 15 2010 - 08:38:47 AKDT