Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-08-2003, 07:05 PM   #1
LQ Newbie
Registered: Feb 2003
Location: Canada
Distribution: slackware 8.1
Posts: 20

Rep: Reputation: 0
linux kernel update

could someone explain the steps involved if i want to upgrade my kernel 2.4.18 to 2.4.20 on a slackware 8.1 system?

i have never updated a kernel, so lots of details would be great :>

Old 03-08-2003, 07:22 PM   #2
Senior Member
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
Download the source for the new kernel and put it in /usr/src/linux-2.4.20

Create a link from /usr/src/linux-2.4.20 to /usr/src/linux-2.4

cd /usr/src/linux-2.4

make someconfig ... menuconfig, xconfig, oldconfig (if you have an old .config) This is where you actually configure what options you want.

make dep
make clean
make bzImage
make modules
make modules_install

copy the bzImage and to /boot , renaming them to vmlinuz-2.4.20 and , or some-such to keep them straight from the old ones.

mkinitrd /boot/initrd-2.4.20.img 2.4.20 ... This creates an initrd (INITial RamDisk) to boot.

Then, create a new entry in your lilo.conf or grub.conf . Copy what you have for your current kernel and point to the new 2.4.20 files.

Of course, this isn't detailed, but you can find HOW-TOs at the Linux Document Project...
Old 03-09-2003, 08:19 AM   #3
Registered: Oct 2002
Location: North Atlanta
Distribution: LFS
Posts: 229

Rep: Reputation: 30
Looks pretty damned detailed enough...

ErikM: Play around with different kernel configurations... make a science out of getting the fastest kernel with the least amount of includes... dont be afraid to wreck your install but keep a back up of the "last working kernel" around.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Software 4 05-06-2007 10:27 AM
linux wont start after kernel update avinashtn Linux - Software 3 03-28-2005 12:45 PM
Has anyone tried update the kernel to 2.6.x in Redhat Enterprise Linux? burrough Linux - Enterprise 0 10-17-2004 11:31 AM
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Distributions 0 10-13-2004 11:01 AM
Update Redhat Linux 9.0 Kernel Longinus Linux - Newbie 6 12-08-2003 07:02 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration