Compiling the kernel in non-ELF format
842942Feb 25 2011 — edited Feb 28 2011Hello,
Does anyone know how can I obtain a conventional vmlinuz boot image in OEL5?
When I compile the kernel or install it from a RPM file, the vmlinuz file is in ELF format.
$file /boot/vmlinuz
vmlinuz: ELF 64-bit LSB shared object, AMD x86-64, version 1, stripped
This format doesn't work with my cluster management software. I need something like this from SUSE:
$file /boot/vmlinuz
vmlinuz: 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
Is there a way to extract/convert the ELF image or a compilation option I can use?
Thanks!