LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-16-2003, 09:08 PM   #1
luap
Member
 
Registered: Feb 2003
Location: atlanta ga usa
Distribution: suse 8.2
Posts: 78

Rep: Reputation: 15
Question kernel removal


hello ,
i'm using rh 8.0- automatic updates downloaded and installed the latest kernel. everything seems to be working fine. can i remove the older kernel( to regain disk space, i'm using a 4g hd)?
if this can be done safely, like not damaging system settings and all, how does one remove an older kernel? should i try using rpm to remove the old kernel package?
 
Old 02-16-2003, 09:16 PM   #2
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
If your old kernel is installed via RPM, then you can use RPM to remove it. (I assume you're talking about the source, rather than the binary kernel, since the binary is small). If there's no RPM, then you can probably just remove /usr/src/linux-x.x.x. As far as I know, there are no system-critical files stored along with the kernel source (with the possible exception of the kernel configuration file, .config, which you might want to keep if you plan on recompiling sometime).
 
Old 02-16-2003, 09:21 PM   #3
luap
Member
 
Registered: Feb 2003
Location: atlanta ga usa
Distribution: suse 8.2
Posts: 78

Original Poster
Rep: Reputation: 15
hello, thanks for your response.recompiling ,or even compiling, is still in my future.
 
Old 02-16-2003, 10:02 PM   #4
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
I think the .config file that resides in your kernel source directory is all you will need if you plan to recompile with your current settings. (Can anyone confirm this?) It's not absolutely necessary to keep it - by the time you're ready to recompile, you might be ready to configure it all yourself (though everyone makes a few mistakes the first time )

So what I'd recommend is backing up the .config file from your old kernel source tree, and then removing the whole directory. That oughta clear up more than 100MB (mine's about 190MB for kernel 2.4.19).
 
  


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
HDD Removal kcpaige89 Linux - Hardware 4 11-29-2005 01:46 AM
removal invinciblegod Linux - Laptop and Netbook 3 06-06-2005 04:47 PM
Mesa removal n_hendrick Linux - Newbie 1 01-16-2004 03:25 PM
account removal? macewan LQ Suggestions & Feedback 2 07-11-2003 02:58 PM
grub removal Diablo25 LinuxQuestions.org Member Success Stories 1 05-30-2003 11:31 PM


All times are GMT -5. The time now is 09:05 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration