-
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

Lot of 500 Cisco 10-3145-02 QSFP-100G-CWDM4-S 100G CWDM4 QSFP28 Transceiver
$1500.00

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*
$24.00

Dell Mellanox ConnectX-4 Lx CX4121C 020NJD Dual-Port 25GbE SFP28 NIC Low Profile
$35.00

Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter
$27.50

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT
$7.99

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver
$5.40

HP 560SFP+ 10GB 2-port PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+
$16.99

Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA
$33.94

20 X New Cisco QSFP-100G-FR-W2 10-3659-01 Module Hologram Brand New 20 Pack
$299.00

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch
$129.99