LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-07-2004, 02:32 PM   #1
marlor
Member
 
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, 03:27 PM   #2
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
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, 03:48 PM   #3
HuMJohn
Member
 
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
/usr/src/linux->/usr/src/linux-2.4.26

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.
 
  


Reply


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


All times are GMT -5. The time now is 09:34 PM.

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