-
Senior Member
registered user
Kernel Build with linux-2.4.20:
1. Download the kernel source (linux-2.4.20.tar.gz)
from http://www.kernel.org/pub/linux/kernel/v2.4/.
2. Extract it into your home directory. (/home/knoppix/DOWNLOAD)
(With the following method, all your newly installed programs will work, on both Knoppix
and Fail-Safe linux systems. However, if you install any more - they will only work on the
Linux System you installed (or built) them to. ( AKA Knoppix or Fail-Safe)
3. Log out of knoppix and then log in to knoppix as root. Launch the program Konsole.
4. Move linux-2.4.20 to /usr/src. [mv /home/knoppix/DOWNLOAD/linux-2.4.20 /usr/src]
5. [cd /usr/src]
6. Deleted old symlink to /usr/src/linux. [rm symlink linux]
7. Made new symlink. [ln -s /usr/src/linux-2.4.20 linux]
8. Apply patches if any. [patch -p0 < <filename>] Example: patch -p0 < linux-2.4.20-ptrace.patch
Example: patch -p0 < knoppix-kernel.patch
9. Rename /usr/src/linux-2.4.20 to linux-2.4.20test. [mv linux-2.4.20 linux-2.4.20test]
10. [rm symlink linux] then [ln -s /usr/src/linux-2.4.20test linux]
11. [cp linux-2.4.20-xfs/.config .config]
12. [cd /usr/src/linux]
13. [make xconfig] See line 14 below !
14. Load configuration from file: /usr/src/linux-2.4.20-xfs/.config You can change selections...
Under Processor type and features: Processors family - I changed mine to Athlon/Duron/K7, thats all I did.
15. After xconfig Save & Exit: edit Makefile and change EXTRAVERSION= to EXTRAVERSION=test
Location: /usr/src/linux-2.4.20test/Makefile
[kwrite] Can use this command to edit Makefile, open Makefile.
16. [make dep]
17. [make clean]
18. [make bzImage] Takes 5-10 minutes... AMD ATHLON 1.4GHZ CPU + 512MB MEM
19. [make modules] Takes 20-25 minutes... AMD ATHLON 1.4GHZ CPU + 512MB MEM
20. [make modules_install]
21. [mv /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage-2.4.20test]
22. [mv /usr/src/linux/System.map /boot/System.map-2.4.20]
23. [ln -sf /boot/System.map-2.4.20 /boot/System.map]
24. Add image to /etc/lilo.conf file. [cd /etc] [kwrite] Open lilo.conf file.
boot=/dev/hdg
vga=791
prompt
timeout=50
append = "hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi apm=power-off nomce"
image=/boot/bzImage-2.4.20test <- - - Add these 4 lines (Use your /dev/?)
label=Knoppix
root=/dev/hdg6 <- - - Don't forget to put in you /dev/? !
read-only
image=/boot/vmlinuz-2.4.20-xfs <- - - Rename your orginal (label=knoppix) to Fail-Safe
label=Fail-Safe
root=/dev/hdg6
read-only
initrd=/boot/initrd.gz
other=/dev/hdg1
label=Windows
# optional
# table=/dev/hda
After saving: [lilo] , which will update lilo.conf file.
25. If you have Nvidia Driver installed, you will have to recompile it now before rebooting - or your xserver
XFree86 will not restart!
26. Reboot (This way to compile kernel has never failed for me, if it fails for you - Select Fail-Safe to boot into
your Orginial Linux)
Similar Threads
-
By kevman in forum Hdd Install / Debian / Apt
Replies: 6
Last Post: 11-30-2005, 07:40 AM
-
By mzilikazi in forum Tips and Tricks
Replies: 5
Last Post: 08-08-2004, 04:00 PM
-
By BillS in forum General Support
Replies: 0
Last Post: 06-11-2004, 03:16 PM
-
By Alvis in forum Customising & Remastering
Replies: 0
Last Post: 05-28-2004, 07:13 AM
-
By TheCyberDude in forum Tips and Tricks
Replies: 3
Last Post: 09-03-2003, 03:10 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

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray
$39.99

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A
$64.00

(ST8000NM0045) SEAGATE ENTERPRISE 8TB 7200RPM 4Kn SATA 6Gb/s 3.5" HARD DRIVE
$199.99

DELL 2TB Enterprise HDD (7200RPM, 3.5", SATA III, 128MB Cache) HUS722T2TALA600
$49.95

Seagate ST500DM009 BarraCuda 500 GB 3.5" SATA III Desktop Hard Drive
$14.99

HGST Ultrastar 7K4000 3TB 7200RPM SATA III 3.5" Hard Drive HDD HUS724030ALA640
$39.99

HGST HUA723030ALA640 3TB SATA 7200 RPM 3.5 in Enterprise HDD | 0F14044 (100%)
$45.00

Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE
$68.99

Seagate ST8000DM004 8TB 3.5" 6Gb/s 256MB SATA HDD P/N: 2CX188-300 Tested
$149.99

Seagate Exos X16 ST12000NM001G 12TB 256MB 7200RPM 3.5" SATA 6Gb/s Enterprise HDD
$349.95