Re: How vmlinux is recognized?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 12, 2011 at 02:31, Vikram Narayanan <vikram186@xxxxxxxxx> 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@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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux