Results 1 to 4 of 4

Thread: Kernel Build with kernel-source-2.4.20-xfs:

  1. #1
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    101

    Kernel Build with kernel-source-2.4.20-xfs:

    NOTE: With this build you have to use orginal .config file in /usr/source/linux/linux-2.4.20-xfs .

    ALSO: ONLY use this if you have an fresh HDD install of Knoppix or NO programs compiled!!!!!! If Modem is your only compiled program, no problem. But you will have to re-install it to get it to work.

    Download:

    http://developer.linuxtag.net/knoppi...Custom_all.deb

    Go into konsole and su <password> and chmod a+rw /home -R .
    (Its read-only)

    chmod a+rw /usr/src -R

    Launch Kpackage and Install.

    su <password>
    cd /usr/src

    bunzip2 kernel-source-2.4.20-xfs.tar.bz2
    tar -xvf kernel-source-2.4.20-xfs.tar

    cp /usr/src/linux-2.4.20-xfs/include/asm-i386/system.h /usr/src/kernel-source-2.4.20-xfs/include/asm-i386

    overwrite? Y

    rm linux

    ln -s kernel-source-2.4.20-xfs linux

    cd linux

    make clean
    make mrproper
    make xconfig

    (Don't make any selections!)

    BUTTON: Load configuration File
    /usr/src/linux-2.4.20-xfs/.config (Can use CNTRL V) to patse in

    BUTTON: Save and Exit

    make dep

    make bzImage

    make modules (Take an Break)

    cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-test
    cp /usr/src/linux/System.map /boot/System.map-test
    mv /lib/modules/2.4.20-xfs /lib/modules/2.4.20-xfs.old

    make modules_install

    kwrite %U

    Open /etc/lilo.config

    We want to add another description like your regular boot for Knoppix.

    EXAMPLE:

    image=/boot/vmlinuz-2.4.20-xfs <--- This is my Boot-Up for Knoppix
    label=Knoppix
    root=/dev/hdg6 <--- Yours will be different!
    read-only
    initrd=/boot/initrd.gz

    image=/boot/vmlinuz-test <--- I added these 5 lines.
    label=Knoppix-test
    root=/dev/hdg6 <--- Insert Yours from Above!!!
    read-only
    initrd=/boot/initrd.gz

    Now we have 2 Boot Promps: Knoppix and Knoppix-test, you may also have one for Windows.

    SAVE lilo.conf



    From Konsole,

    lilo

    Screen will return with:

    Added Knoppix
    Knoppix-test
    and any other Boot prompts in lilo.conf

    That's - RE-BOOT and load Knoppix-test and go to Launch Control Center and go to System Adminstration - Linux Kernel and you can
    see whats enabled in your Kernel.

    IMPORTANT: DO THIS!!! (Now or Later) Will EXPLAIN BELOW!!!!

    image=/boot/vmlinuz-2.4.20-xfs <--- This is my Boot-Up for Knoppix
    label=Knoppix <--- Rename this Fail-Safe <---
    root=/dev/hdg6 <--- Yours will be different!
    read-only
    initrd=/boot/initrd.gz

    image=/boot/vmlinuz-test <--- I added these 5 lines.
    label=Knoppix-test <--- Rename this Knoppix <---
    root=/dev/hdg6 <--- Insert Yours from Above!!!
    read-only
    initrd=/boot/initrd.gz

    Move the new Knoppix above Fail-Safe, and Your Boot Screen will
    look like this:

    Knoppix
    Fail-Safe
    Windows <--- If you have an Windows Entry.

    THE REASON !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!

    Since we moved /lib/modules/2.4.20-xfs to 2.4.20-xfs.old ,
    we want to rename Knoppix-test to Knoppix (It's using these librays!)

    For you Expert's: Maybe you can clue me in, if I try:
    (NO-ONE DO THE FOLLOWING!)

    mv vmlinuz-2.4.20-xfs vmlinuz-2.4.20-xfs.old
    mv vmlinuz-test vmlinuz-2.4.20-xfs
    mv System.map System.map.old
    mv System.map-test System.map

    Both Knoppix's boot OK, But the Orginal Knoppix 2.4.20-xfs,
    go to /etc/init.d/bootmisc.sh - It won't open OR will any others. In
    Knoppix-test They Will! I expect it has something to do with
    mv /lib/modules/2.4.20-xfs /lib/modules/2.4.20-xfs.old .

    That's why I had everbody rename:

    image=/boot/vmlinuz-test <---
    label=Knoppix-test <--- Rename this Knoppix

    and put at top of lilo.conf .

  2. #2
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    101
    If you want the Kernel-Headers also,

    apt-get install kernel-headers-2.4.20-xfs

  3. #3
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    101
    Some Updates,

    I just rebuild my kernel again - no problem from my procedure.

    Other problen, not associated with the Kernel Rebuild.

    THIS IS for newbies, to clear up 3-4 very,very minor parts in Recompile.

    1) cp /usr/src/linux-2.4.20-xfs/include/asm-i386/system.h /usr/src/kernel-source-2.4.20-xfs/include/asm-i386

    This is one line on command line with 1 space between
    h /usr/src ..ect

    2) Any questions from compiler not listed - ANSWER Y

    3) make modules (runs about 20 min on 1400MHZ CPU)

    4) Close all Kwrite windows after done editing lilo.config -
    so you can do the command lilo .

    5) Read the last Example (Closely) so to get it right.

    Thats it, I'm up and running on this procedure for a second time. I copyed and pasted from this page - no problems.

    Enjoy Knoppix !

  4. #4
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    101
    IMPORTANT

    DO NOT USE THIS METHOD

    USE THE ONE BELOW !!!


    http://www.knoppix.net/forum/viewtop...?p=21477#21477

Similar Threads

  1. The kernel... Can I build my own?
    By kevman in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 11-30-2005, 07:40 AM
  2. kernel-source or kernel-tree
    By echo6 in forum Customising & Remastering
    Replies: 0
    Last Post: 05-08-2005, 11:42 AM
  3. How do I install kernel source and config/compile kernel??
    By cfish in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 04-25-2005, 07:31 AM
  4. Kernel Source 2.4.23-xfs and Kernel install for wlan-ng
    By Nils_ in forum Hardware & Booting
    Replies: 0
    Last Post: 03-08-2004, 10:50 AM
  5. custom kernel, debian source vs kernel.org source
    By garyng in forum Customising & Remastering
    Replies: 1
    Last Post: 04-13-2003, 09:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


OEM 130W Charger For Dell XPS 15 9530 9550 9560 9570 7590 06TTY6 Power Adapter picture

OEM 130W Charger For Dell XPS 15 9530 9550 9560 9570 7590 06TTY6 Power Adapter

$35.99



M1MYR Dell OEM 130W AC Adapter 4.5mm Small Tip 4 Precision 5520 5530 M20 4MFJT picture

M1MYR Dell OEM 130W AC Adapter 4.5mm Small Tip 4 Precision 5520 5530 M20 4MFJT

$18.04



NEW OEM USB-C Type-C Charger For Dell XPS 15 2in1 9575 Precision 5530 130W picture

NEW OEM USB-C Type-C Charger For Dell XPS 15 2in1 9575 Precision 5530 130W

$35.99



NEW OEM Dell 65W 19.5V Charger AC Power Supply Adapter For LA65NM130 332-1831 picture

NEW OEM Dell 65W 19.5V Charger AC Power Supply Adapter For LA65NM130 332-1831

$12.99



OEM Dell Inspiron 11 13 14 15 17 3000 5000 7000 AC Adapter Charger 65W 4.5mm Tip picture

OEM Dell Inspiron 11 13 14 15 17 3000 5000 7000 AC Adapter Charger 65W 4.5mm Tip

$10.99



OEM 130W USB-C Type-C Charger for Dell XPS 15 9500 9570 9575 17 9700 DA130PM170 picture

OEM 130W USB-C Type-C Charger for Dell XPS 15 9500 9570 9575 17 9700 DA130PM170

$35.88



Genuine OEM 65W Dell PA-12 AC Adapter Charger 928G4 06TM1C LA65NS2-01 7.4*5.0mm picture

Genuine OEM 65W Dell PA-12 AC Adapter Charger 928G4 06TM1C LA65NS2-01 7.4*5.0mm

$14.99



Dell Original OEM 45W 19.5V AC Adapter Charger 070VTC 0KXTTW 00285K 0YTFJC 4.5mm picture

Dell Original OEM 45W 19.5V AC Adapter Charger 070VTC 0KXTTW 00285K 0YTFJC 4.5mm

$10.94



New OEM 90W AC Adapter Charger For Dell RT74M 0RT74M 0VRJN1 VRJN1 LA90PM111 picture

New OEM 90W AC Adapter Charger For Dell RT74M 0RT74M 0VRJN1 VRJN1 LA90PM111

$20.55



Genuine 45W Power Adapter Charger for Dell DA45NM140 0KXTTW 4.5*3.0mm OEM picture

Genuine 45W Power Adapter Charger for Dell DA45NM140 0KXTTW 4.5*3.0mm OEM

$16.99