Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 07-07-2004, 01:32 PM   #1
Registered: May 2004
Distribution: Slackware C
Posts: 274

Rep: Reputation: 30
steps needed to remove a kernel?

hi people,

i finally compiled a kernel for the first time and it works good so i would like to get rid of the old one. i don't just want to delete anything related to it because i am not sure what is still needed for the new kernel. so i thought i ask some expert advise from you guys.

which directories, files, configs etc, do i have to delete for the old kernel to be removed completaly without damaging my other kernel and it's dependencies/modules?

upgraded from 2.4.22 > 2.4.26

thanks in advance
Old 07-07-2004, 02:27 PM   #2
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 5,390

Rep: Reputation: 408Reputation: 408Reputation: 408Reputation: 408Reputation: 408
rm -rf /lib/modules/2.4.22
this is the most space sauved, after that look in your /boot dir and try to figure out what files are related to 2.4.22
Old 07-07-2004, 02:48 PM   #3
Registered: Jun 2004
Location: California - home of Slackware
Distribution: Slackware
Posts: 59

Rep: Reputation: 15
also, make sure /usr/src/linux is a symlink to your newer kernel

And you could rm -rf /usr/src/linux-2.4.22 That will clean up over 150 Megs (around 170 Megs or so) of disk space.


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
Intermittent kernel panic - steps 2 diagnose? jago25_98 Linux - Software 2 01-05-2005 01:52 PM
Slackware 10- Please confirm my steps used to remove a module from a pre-built kernel jtp51 Slackware 7 11-03-2004 05:02 PM
Compiling a new kernel: why these final steps? fenice1976 Linux - General 4 05-15-2004 09:03 PM
Kernel Upgrade Steps smartes Linux - Newbie 3 01-09-2003 07:05 PM
Help with last steps to loading new kernel using Loadlin to boot? NightSky Linux - General 2 12-17-2001 02:18 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:42 PM.

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