-
Knoppix Kernel Size
I found something strange. My Knoppix 3.2's /boot/vmlinuz-2.4.20-xfs is 925720 bytes. However, when I compile a plain 2.4.20 with Knoppix' /usr/src/linux/.config, I can't get an image smaller than 2645504 bytes. Thats using a make oldconfig (selecting no to the 2 new options), make clean, make bzImage with gcc-2.95 on a system that was distupgraded a few days ago.
I would love to know how Knoppix gets all its stuff in such a small kernel since lilo always complains that mine are too big.
-
uh - maybe this is a simple question. I just dont know the answer. If you think it's a good question you can maybe ask here
http://mailman.linuxtag.org/pipermail/debian-knoppix
Klaus Knopper seems to answer questions here himself. Or if it is actually an unmodified debian-kernel (and it is, isn't it?) maybe another debian-list is relevant...
-
Junior Member
registered user
I just recently compiled a vanilla 2.4.20 Kernel with an XFS Patch using the configuration provided by Klaus and I was very close to the same file size of the origanol vmlinuz file. Though, heres the procedure I did/
Assuming your vanilla kernel is in /usr/src/linux-2.4.20 and you are currently in that directory
cp ../linux-2.4.20-xfs/.config ./
make dep clean bzImage modules modules_install
cp System.map /boot/System.map-2.4.20
cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.20
and then you can do what ever you want with the new vmlinuz file. For me, ended up being about 20k more, so you should get similar results with that procedure.
-
Senior Member
registered user
Re: Knoppix Kernel Size
--This is the part you need to pay attention to:
' cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.20 '
--Somehow I think you're trying to copy the /usr/src/linux/vmlinux file instead...

Originally Posted by
skyshadow
I found something strange. My Knoppix 3.2's /boot/vmlinuz-2.4.20-xfs is 925720 bytes. However, when I compile a plain 2.4.20 with Knoppix' /usr/src/linux/.config, I can't get an image smaller than 2645504 bytes. Thats using a make oldconfig (selecting no to the 2 new options), make clean, make bzImage with gcc-2.95 on a system that was distupgraded a few days ago.
I would love to know how Knoppix gets all its stuff in such a small kernel since lilo always complains that mine are too big.
Similar Threads
-
By simong in forum General Support
Replies: 1
Last Post: 08-28-2004, 12:51 PM
-
By SomeProgr in forum General Support
Replies: 1
Last Post: 05-09-2004, 07:24 PM
-
By blahman420 in forum General Support
Replies: 9
Last Post: 10-28-2003, 06:42 PM
-
By hnt in forum General Support
Replies: 4
Last Post: 08-19-2003, 09:36 AM
-
By yohanman in forum General Support
Replies: 5
Last Post: 02-08-2003, 01:43 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Intel Core i7-3770K 3.5 GHz Processor
$39.00

INTEL CORE I7-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR
$23.00

(LOT OF 20) Intel Core i5-8400 CPU 2.80GHz Desktop Processor (SR3QT)
$700.00

INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH
$179.99

AMD Ryzen 5 5500 Processor ( read Description)
$59.00

Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151
$79.99

Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor
$114.99

Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor
$67.99

Intel Core i7-4770 3.40GHz Quad Core SR149 LGA 1150 CPU Processor tested
$35.00

Intel Core i7-10700 8-Core 16-Thread 2.9GHz Desktop CPU LGA1200 SRH6Y Z490 Z590
$129.00