From: vikram186@gmail.com (Vikram Narayanan)
To: kernelnewbies@lists.kernelnewbies.org
Subject: How vmlinux is recognized?
Date: Thu, 12 May 2011 01:34:35 +0530 [thread overview]
Message-ID: <BANLkTimkD6wOLrAMVjiaeUWJALdchm_pKQ@mail.gmail.com> (raw)
In-Reply-To: <BANLkTimKbDEUWEij99wfvar0hNf978RR6w@mail.gmail.com>
On Thu, May 12, 2011 at 1:15 AM, Mulyadi Santosa
<mulyadi.santosa@gmail.com> wrote:
> On Thu, May 12, 2011 at 02:31, Vikram Narayanan <vikram186@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...
The vmlinux is an ELF binary. right? If so, Who does the unpacking of
raw binary image from that ELF?
> well, in that case, see this first:
> $ file -k -z ?/boot/vmlinuz-2.6.32-31-generic
This is the compressed one. The uncompression is done by the kernel
and not by the grub, If I am not wrong.
> /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....
I am still confused :(
Thanks,
Vikram
next prev parent reply other threads:[~2011-05-11 20:04 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-11 18:06 How vmlinux is recognized? Vikram Narayanan
2011-05-11 19:17 ` Dave Hylands
2011-05-11 19:31 ` Vikram Narayanan
2011-05-11 19:45 ` Mulyadi Santosa
2011-05-11 20:04 ` Vikram Narayanan [this message]
2011-05-11 20:09 ` Mulyadi Santosa
2011-05-11 20:11 ` Vikram Narayanan
2011-05-11 20:21 ` Mulyadi Santosa
2011-05-12 3:32 ` Vikram Narayanan
2011-05-12 4:32 ` Sudheer Divakaran
2011-05-12 6:21 ` Sudheer Divakaran
2011-05-12 7:26 ` luca ellero
2011-05-12 8:17 ` Mulyadi Santosa
2011-05-13 0:19 ` Vikram Narayanan
2011-05-13 1:42 ` Dave Hylands
2011-05-16 3:14 ` Vikram Narayanan
2011-05-16 3:44 ` Peter Teoh
2011-05-16 14:12 ` Vikram Narayanan
2011-05-12 9:31 ` अनुज
2011-05-11 20:33 ` Manohar Vanga
2011-05-12 3:34 ` Vikram Narayanan
2011-05-12 16:46 ` mindentropy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BANLkTimkD6wOLrAMVjiaeUWJALdchm_pKQ@mail.gmail.com \
--to=vikram186@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).