Forum

The time now is Thu Jul 29, 2010 2:59 pm

Become a registered member of the Mandriva community.It takes only 5 mns and it's free ... Learn more ...
[SOLVED]Older kernels wasting large amount of space

 
Post new topic   Reply to topic    Mandriva Forum Index -> General Software
View previous topic :: View next topic  
Author Message
Soumen Banerjee

Non Figura

Joined: 23 Apr 2008
Posts: 149
Location: INDIA

View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Sun Feb 07, 2010 1:31 pm    Post subject: [SOLVED]Older kernels wasting large amount of space Reply with quote Report

HI,
Im on mandriva 2010 and updated to the newest from the repos. I have noticed however that modules and devel rpms from all the older kernels are still installed. This wastes an incredible amount of space (>200Mb)
How do i fix the problem? Is manually uninstalling the concerned rpms for the kernels other than the latest safe?
Regards
Soumen
_________________
I Love LINUX!


Last edited by Soumen Banerjee on Mon Feb 08, 2010 9:10 am; edited 1 time in total
Back to top
Germ
Site Admin, Mandriva
Germ

Joined: 04 Jan 2002
Posts: 8666
Location: USA

View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Sun Feb 07, 2010 3:18 pm    Post subject: Reply with quote Report

You can uninstall the old kernel and kernel-devel packages using Install & Remove Software from the menu.
_________________
the animal rescue site

Life is Simple-
Eat, Sleep, Adopt a Dog
Back to top
Bright77

Non Figura

Joined: 08 Nov 2009
Posts: 68

View user's profile Send private message
PostPosted: Sun Feb 07, 2010 3:18 pm    Post subject: Reply with quote Report

Hello,

Removing the unused kernel's RPMs is safe, so just do it. This will remove the kernel's binary and header files (kernel RPM and kernel-devel RPM, just as Germ said).

The only way to remove the modules folder is to delete it as root. If you removed the concerning RPMs, it is safe to remove them.

The multiple choices at startup will last until you edit the GRUB's menu file, do it from MCC-> startup -> configure startup.
Back to top
Ahmad Samir

Ahmad Samir

Joined: 13 Jul 2009
Posts: 6462
Location: Egypt, Cairo

View user's profile Send private message
PostPosted: Mon Feb 08, 2010 12:32 pm    Post subject: Reply with quote Report

I agree with Germ, you can uninstall the old kernel packages if the latest one works OK for you.

Bright77 wrote:
The multiple choices at startup will last until you edit the GRUB's menu file, do it from MCC-> startup -> configure startup.

No, uninstalling an old kernel will remove it's entry from the GRUB menu automatically. And the /lib/modules/* folders for each unisntalled kernel, are just empty directories....
Back to top
Bright77

Non Figura

Joined: 08 Nov 2009
Posts: 68

View user's profile Send private message
PostPosted: Mon Feb 08, 2010 5:54 pm    Post subject: Reply with quote Report

Ahmad Samir wrote:
And the /lib/modules/* folders for each unisntalled kernel, are just empty directories....


You are right, at last, as the common users do not care to remove the few modules that may rest here... nvidia, ati, vmware, virtualbox.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Mandriva Forum Index -> General Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group