[Ilugc] kernel build option - ramdisk

  • From: shakthimaan@xxxxxxxxx (Shakthi Kannan)
  • Date: Mon Feb 8 19:03:41 2010

Hi,

--- On Mon, Feb 8, 2010 at 2:26 PM, Suresh Kumar Subramanian
<sureshkumar.s@xxxxxxxxxx> wrote:
| So initrd is first file which executes first in the boot process (if
present) . Am I correct?
\--

'File that executes'? The initrd is loaded onto RAM, and its starting
location is passed to the kernel, so it will treat is as any other
block device, and use its contents.

---
| 2) There are so many variances in the kernel image file (vmlinuz,
bzImage, zImage, etc).
| What is the difference?
\--

I would assume they use different compression algorithms.

---
| How do we build each?
\--

The Makefile that builds the kernel has specific targets to build
these images. For example (x86):

  http://lxr.linux.no/#linux+v2.6.32/arch/x86/Makefile

So, just doing 'make bzImage' (default) would build the bzImage.

---
| I may be stupid,
\--

You are not. You are just ignorant, and feel free to ask questions. It
also helps to do some homework before you ask such questions using a
search engine (Google, for example), as you will find answers to such
questions online.

---
| But just want to clarify initrd is the ramdisk correct?
\--

Yes.

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com

Other related posts: