How vmlinux is recognized?
Mulyadi Santosa
mulyadi.santosa at gmail.com
Wed May 11 15:45:40 EDT 2011
On Thu, May 12, 2011 at 02:31, Vikram Narayanan <vikram186 at gmail.com> wrote:
> So in case of x86, say Grub will be taking care of this extraction. Right?
> If, so the grub code will have the mechanisms for extracting the raw
> binary from ELF.
> Am i right?
you mean, vmlinuz right? the bzImage right? not the vmlinux....
because that's the one GRUB handles...not vmlinux one...
well, in that case, see this first:
$ file -k -z /boot/vmlinuz-2.6.32-31-generic
/boot/vmlinuz-2.6.32-31-generic: Linux kernel x86 boot executable
bzImage, version 2.6.32-31-generic (buildd at rothe, RO-rootFS, root_dev
0x801, swap_dev 0x3, Normal VGA\012- x86 boot sector, code offset 0x5
i am sure you will get idea based upon the above file identification,
on what vmlinuz is and how is it supposed to be treated by boot
loader....
--
regards,
Mulyadi Santosa
Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
More information about the Kernelnewbies
mailing list