Re: Question about the vmlinuz file

From: Stratos Psomadakis
Date: Sat Feb 26 2011 - 17:46:48 EST


On 02/26/2011 02:25 PM, Alvaro Aguilera wrote:
> Hello,
>
> perhaps someone here has a couple of minutes to explain me the
> difference between these two vmlinuz files from different
> distributions:
>
> $file /boot/vmlinuz
> /boot/vmlinuz-2.6.37-40-desktop: Linux/x86 Kernel, Setup Version
> 0x20a, bzImage, Version 2.6.37, Version 2.6.37-40, RO-rootFS, root_dev
> 0x301, swap_dev 0x4, Normal VGA
>
> $file /boot/vmlinuz
> vmlinuz: ELF 64-bit LSB shared object, AMD x86-64, version 1, stripped
>
> the second file seems to be in ELF format and I cannot use it with my
> cluster management software.
>
> Is there a parameter I can use to compile the kernel image in one
> format or the other? or a tool to convert them?
>
> I couldn't find any hint on Google, nor I really know what exactly to look for.
>
> Thanks for any help.
> Alvaro.
> --
> 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
http://en.wikipedia.org/wiki/Vmlinux

You can find lots of info by googling vmlinux or bzImage.

Afaik, the first is a bzImage, ie a compressed and stripped down version
of the vmlinux executable(which is the second one).

--
Stratos Psomadakis
<psomas@xxxxxxxxxxx>

--
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/