Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-07-2004, 02:06 AM   #1
Registered: Aug 2003
Location: Dallas,TX
Distribution: Ubuntu Server, Slackware, Red Hat 6.1
Posts: 241

Rep: Reputation: 30
difference between make bzImage and make vmlinuz?

What is the difference between using the command 'make bzImage' and 'make vmlinuz' for a kernel compile?
Old 06-07-2004, 02:15 AM   #2
Registered: Jan 2003
Distribution: Slackware
Posts: 82

Rep: Reputation: 15
"make bzImage" creates a bzip2 compressed kernel image (in arch/<arch>/build/bzImage). The kernel will be smaller, but might take a few seconds to uncompress on slow machines.

This is useful when trying to build a large kernel (especially 2.4 and 2.6 kernels) and use it in a situation where the size is limited (eg, a boot floppy).
Old 06-07-2004, 02:28 AM   #3
Registered: Aug 2003
Location: Dallas,TX
Distribution: Ubuntu Server, Slackware, Red Hat 6.1
Posts: 241

Original Poster
Rep: Reputation: 30
Thanks, I finally know what that means.
Old 11-23-2011, 05:45 AM   #4
LQ Newbie
Registered: Nov 2011
Distribution: WindRiver, RedHat
Posts: 17

Rep: Reputation: Disabled
bzImage is actually gzip compressed


Just to clarify for those to whom it may help.

bzImage is NOT a bzip2 compressed image of the kernel. It is just the BIG zImage kernel file. The default zImage kernel had size limitations as it had to be loaded into RAM. All the kernels are gzip compressed. vmlinuz is just the kernel image name, you can change it anything (for ex: myKernel) as long as the grub/lilo knows it, you won't have problems booting up.



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
make: **** No rule to make target 'bzImage tsw Slackware 18 06-26-2004 09:41 PM
Look the output of: make dep && make clean bzImage modules modules_install Hell-Shooter Linux - General 2 06-05-2004 06:05 AM
'make mrproper' - make bzImage options. liguorir Linux - Software 4 06-26-2003 07:48 PM
make dep,make clean,make bzImage problem Babba Linux - Newbie 2 01-08-2003 04:49 AM
make: **** No rule to make target 'bzImage' qingjuan Linux - General 5 04-02-2002 05:04 PM

All times are GMT -5. The time now is 09:24 AM.

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