what's difference between bzImage and zImage?
- What's difference between bzImage and zImage? only compression mode?
- bzImage use bzip2 and zImage? Thanks in advance! |
bzImage just means Big zImage. zImage can only be a maximum size 512k. Unless the kernel will be that size or smaller after compiling then you need to make it as bzImage. Earlier kernels where quite able to fit in the 512k range but over time many new features have been added and the zImage limits were reach and something new had to be done.
Brian1 |
Quote:
|
Brian1, so the only difference between bzImage and zImage is only compression mode?
bzImage use bzip2 and zImage use compress is is right? |
No, that's incorrect, but a popular misconception.
They both use zlib. Brian1 explained this nicely. |
Hungry Minds - LPIC1 Certification Bible - 2001 - page 498:
make zImage - Creates a gzip’d kernel image that must be installed manually. make bzImage - Creates a bzip2’d kernel image that must be installed manually. so this is "a popular misconception"!?!?! |
I believe that your reference is wrong. But ultimately, it's your decision which reference you trust more. Why don't you google around a bit more? I'd be fascinated to know what you decide.
|
The following is from the file Documentation/kbuild/commands.txt for the 2.2.26 kernel (starts at line 44):
Code:
Note: the difference between 'zImage' files and 'bzImage' files is that |
So, others books wrongs:
O'Reilly - Lpi Linux Certification In A Nutshell - page 317: The bzImage file is our ultimate goal, a bootable kernel image file, compressed using the bzip2 utility.* It is created in this step along with some additional support files needed for boot time. Que - ExamCram2 LPIC - page 348: zImage—Makes a compressed kernel using the gzip compression option. bzImage—Makes a compressed kernel using the bzip2 compression option. more others opnions: Wave - Linux System Administration - page 318: What is the difference between a zImage and a bzImage? zImage must be used on non-i386 architectures and is also limited to a 1-MB uncompressed file size. bzImage is not limited in its file size. http://www.digitalhermit.com/linux/K...ld-HOWTO.html: The difference between 'zImage' files and 'bzImage' files is that 'bzImage' uses a different layout and a different loading algorithm, and thus has a larger capacity. Both files use gzip compression. The 'bz' in 'bzImage' stands for 'big zImage', not for 'bzip'! Sams - Red Hat Linux Fedora 3 Unleashed: -zImage This directive compiles the kernel, creating an uncompressed file called zImage. -bzImage This directive creates a compressed kernel image necessary for some systems that require the kernel image to be under a certain size for the BIOS to be able to parse them; Hungry Minds - Debian GNU-Linux Bible: Because the kernel image was too big in Step 2, you now need to use a different compression method. Run make bzImage to create the image using the alternative compression method. aff, this is very complex!!! so I am think in create my proper theory hahaha! |
All times are GMT -5. The time now is 05:06 PM. |