LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 06-12-2009, 09:30 PM   #1
saivin
Member
 
Registered: Dec 2008
Location: Bengaluru, India
Distribution: CentOS, openSUSE, Mandriva, Slackware
Posts: 111

Rep: Reputation: 19
bzImage or vmlinuz? Some doubts related to kernel


Hi,
I have some doubts regarding kernel compilation. I read all the 10 posts for 'compiling kernel' search. None really helped in clearing this doubt.

As I understand,
a) bzImage is the output of 'make',
b) entries in /lib/modules are the output of 'make modules_install' and
c) vmlinuz, config and System.map are outputs of 'make install'.

I understand initrd.img and config. One is minimal set of drivers or such to boot system and then pass the control to actual kernel and the second is the configuration file for kernel compilation (Correct me if I'm wrong).

I however did not understand bzImage vs vmlinuz. Most distros use vmlinuz, but Gentoo is happy running from bzImage.

Is the difference between bzImage and vmlinuz, something like the difference between 'useradd' and 'adduser' where 'adduser' is essentially 'useradd' but does little more configuration like creating home directory and group by the same name, allocating default shell etc. :?

Also, I did not understand what exactly is System.map. Wikipedia and article by Peter at dirac.org says, its like symbol table for the kernel. I'm not clear about it.

Why does Slackware use System.map instead of initrd.img. Totally confused.

Can any of you explain it in more newbie-friendly way?
 
Old 06-12-2009, 10:07 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,138

Rep: Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987
There is no difference - vmlinuz is merely a (renamed) copy of bzImage. Have a read of this.
There is no way System.map could be used as an initrd image - and I don't think Pat would misname it; but I don't have a Slack system to check
 
Old 06-13-2009, 08:00 AM   #3
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,342

Rep: Reputation: 184Reputation: 184
slack uses initrd.gz which is made when you run the mkinitrd command. Look at /boot/README.initrd
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Some security related and other doubts lali.p Slackware 9 06-12-2007 04:18 PM
Kernel Memory related doubts!!! linuxguy_72 Linux - Kernel 1 05-07-2007 10:40 AM
kernel compilation:throwing error related with sound during "make bzImage" b0nd Linux - Newbie 1 08-19-2005 09:16 AM
doubts related to rpm lexersrp Linux - General 1 01-23-2005 08:58 AM
Explain me bzImage, /vmlinuz to build kernel letdoit Slackware 3 05-23-2004 09:38 PM


All times are GMT -5. The time now is 08:58 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration