Re: kexec: Cannot determine the file type of arch/x86/boot/bzImage

From: Eric W. Biederman
Date: Tue Oct 16 2007 - 19:28:07 EST


Thomas Meyer <thomas@xxxxxxxx> writes:

> Hi.
>
> Look at this:
>
> $ file arch/x86/boot/bzImage (tree 821f3eff7cdb9d6c7076effabd46c96c322daed1)
> arch/x86/boot/bzImage: Linux kernel x86 boot executable zImage, version
> 2.6.23 (thomas@hotzenplotz) #39, RO-rootFS, root_dev 0x803, swap_dev
> 0x1, Prompt for Videomode
>
> $ file /boot/bzImage-2.6.23
> /boot/bzImage-2.6.23: Linux kernel x86 boot executable RO-rootFS,
> root_dev 0x803, swap_dev 0x1, Normal VGA
>
> and this:
>
> # kexec -l arch/x86/boot/bzImage
> Cannot determine the file type of arch/x86/boot/bzImage
>
> How to solve this error?

Looks like a kbuild error was causing us to build zImage kernels
instead of bzImage kernels on x86 and thus kexec didn't recognize
the format and so refused to boot it.

Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/