[aklug] Re: Grub not recognizing kernel executable format

From: Christopher Howard <choward@indicium.us>
Date: Wed Sep 15 2010 - 09:33:46 AKDT

On 09/15/2010 09:03 AM, Arthur Corliss wrote:
> On Wed, 15 Sep 2010, Christopher Howard wrote:
>
>> # 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...?
>
> Do a 'make bzImage' and the look for it under the arch/x86/boot/
> directory...
>
> --Arthur Corliss
> Live Free or Die
> ---------
> To unsubscribe, send email to<aklug-request@aklug.org>
> with 'unsubscribe' in the message body.
>

Thanks! I copied in this bzImage and it boots just fine inside the VM!
(Well, actually it crashes with a kernel panic, but that is because I
haven't installed an init system yet...) Now I'm on my way to world
domin..., err, a working self-assembled Linux system!

-- 
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 09:33:57 2010

This archive was generated by hypermail 2.1.8 : Wed Sep 15 2010 - 09:33:57 AKDT