Kevin O' Riordan wrote:
Try 'make bzImage' instead of a bare 'make'. Not sure if that's the only thing, but I'd guess it's a big one.
Ok, I tried that and got this:
ll ./arch/i386/boot/bzImage /boot/vmlinuz-2.4.21-4.ELsmp
-rw-r--r-- 1 root root 1339610 Jun 24 12:54 ./arch/i386/boot/bzImage
-rw-r--r-- 1 root root 1339556 Oct 3 2003 /boot/vmlinuz-2.4.21-4.ELsmp
So that's a lot better. However, why are the uncompressed files so different? What does make bzImage do that eliminates the extra (?) 682KB?
Also, I have since noticed some differences between the kernel that was installed and the .config file I copied. The .config file has 64GB support enabled, but my running kernel does not. Also, my running kernel has ext3 support built into the kernel, but the .config says to build it as a module. This means that /boot/config-2.4.21-4.ELsmp is not really the .config file used to build that kernel!!!! Why?
-- Timur Tabi Staff Software Engineer timur.tabi@ammasso.com
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/