Results 1 to 4 of 4

Thread: Knoppix Kernel Size

  1. #1
    Junior Member
    Join Date
    Jul 2003
    Posts
    2

    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.

  2. #2
    Junior Member
    Join Date
    Dec 2002
    Location
    Denmark
    Posts
    7
    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...

  3. #3
    Junior Member registered user
    Join Date
    Jul 2003
    Posts
    17
    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.

  4. #4
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    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...

    Quote 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

  1. cd size for knoppix bootable
    By simong in forum General Support
    Replies: 1
    Last Post: 08-28-2004, 12:51 PM
  2. Change screen size in knoppix
    By SomeProgr in forum General Support
    Replies: 1
    Last Post: 05-09-2004, 07:24 PM
  3. Knoppix file size
    By blahman420 in forum General Support
    Replies: 9
    Last Post: 10-28-2003, 06:42 PM
  4. Ramdisk (re)size/adjust size
    By hnt in forum General Support
    Replies: 4
    Last Post: 08-19-2003, 09:36 AM
  5. The size of the game's in knoppix
    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
  •  


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

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

$5.40



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

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

$24.00



CISCO 10GBASE-SR SFP

CISCO 10GBASE-SR SFP "Lot of 4” SFP-10G-SR

$47.99



Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module picture

Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module

$699.99



SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT picture

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

$7.99



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

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

$28.94



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

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

$16.99



Lot of 2 Cisco 10-3107-01 SFP-10G-LR-S S-Class SFP+ 10G LR SMF LC Transceiver picture

Lot of 2 Cisco 10-3107-01 SFP-10G-LR-S S-Class SFP+ 10G LR SMF LC Transceiver

$59.95



Dell 10 Gigabit SFP+ SR Transceiver 0XYD50 NEW SEALED picture

Dell 10 Gigabit SFP+ SR Transceiver 0XYD50 NEW SEALED

$24.99



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

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

$129.99