Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10th November 2005, 03:36 PM
Alerander Offline
Registered User
 
Join Date: Jul 2005
Location: NJ
Posts: 359
Problem with stuff leaving after kernel un-installation

Hi, here i have a question just want to know.
I re-compiled some kernels via src.rpm on fedora before, and have removed them. What i have done just removed them from grub.conf and vmlinuz, System.map etc in /boot. But now i found that, there are many modules belong to those deleted kernels in /lib/modules:
Code:
[leeyee@workstation ~]$ ls /lib/modules/
2.6.11-1.1369_FC4  2.6.12-liye        2.6.13-1.1986_Liye  2.6.13-liye
2.6.12-1.1456_FC4  2.6.13-1.1526_FC4  2.6.13-2.1532_FC4
Out of them, 2.6.11 was installed along with fresh installation, and 2.6.13-2.1532 is the current using one! But how about other modules? They were all installed via source RPMs except 2.6.13-1.1526, it's installed with RPM. Then, If i can delete them safely?
Besides that, another question, which way can we uninstall a kernel absolutely installed via tarball or source rpm?
Thanks here!
__________________
I've cleared XP from my box, what should i do then?
Blog:http://spaces.msn.com/members/liye19860923
-----------------------------------------------------------------------
ASUS M24C17 laptop:
Intel pentinum M 1.7G
512M RAM; 40G Hard-drive
Graphics chip: ATI9000
Modem: conxtant HSF modem
Reply With Quote
  #2  
Old 10th November 2005, 03:54 PM
LocutusOfBorg's Avatar
LocutusOfBorg Offline
Registered User
 
Join Date: Aug 2005
Posts: 684
Quote:
Besides that, another question, which way can we uninstall a kernel absolutely installed via tarball or source rpm?
For a tarball, there should be a "make uninstall" command to be run in the top directory of the source tree; if not, just delete the kernel, the initrd, the map file and the modules in the corresponding directory under /lib. Then fix the grub.conf file, as you already did.
If you generate a new rpm from the srpm, "rpm -ev nameofthepackage" will erase it and fix the grub.conf file.
You have to manually delete the sources installed in your rpmbuild tree by the srpm itself.
__________________
I am Bill of Borg. Resistance izkx GPF 0x5654 8820 Application
RESIST.EXE has performed an illegal operation and will be shut down.

Last edited by LocutosOfBorg; 10th November 2005 at 03:56 PM.
Reply With Quote
  #3  
Old 11th November 2005, 06:42 AM
Alerander Offline
Registered User
 
Join Date: Jul 2005
Location: NJ
Posts: 359
Okay, thank you!
I will delete those modules.
__________________
I've cleared XP from my box, what should i do then?
Blog:http://spaces.msn.com/members/liye19860923
-----------------------------------------------------------------------
ASUS M24C17 laptop:
Intel pentinum M 1.7G
512M RAM; 40G Hard-drive
Graphics chip: ATI9000
Modem: conxtant HSF modem
Reply With Quote
Reply

Tags
kernel, leaving, problem, stuff, uninstallation

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux n00b needs help understanding software installation related stuff. uptonm Using Fedora 7 23rd July 2006 01:14 AM


Current GMT-time: 21:17 (Tuesday, 18-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat