Re: How to remove non-Fedora kernels?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




--- On Sat, 3/20/10, Robert Nichols <rnicholsNOSPAM@xxxxxxxxxxx> wrote:

> From: Robert Nichols <rnicholsNOSPAM@xxxxxxxxxxx>
> Subject: Re: How to remove non-Fedora kernels?
> To: users@xxxxxxxxxxxxxxxxxxxxxxx
> Date: Saturday, March 20, 2010, 9:01 AM
> On 03/19/2010 11:21 PM, Peter Boy
> wrote:
> > Am Freitag, den 19.03.2010, 20:41 -0700 schrieb
> Antonio Olivares:
> >> Is thare a way one can remove non Fedora kernels
> manually, i.e, remove
> >>
> >> /boot/vmlinux-2.?????
> >>
> >> and
> >>
> >> /usr/src/linux-2.???
> >> or
> >> /lib/modules/2.6.????/.....
> >
> >
> > I used just to delete the files using a terminal as
> root, provided you
> > didn't install them using rpm (rm -f
> /boot/vmlinux-2.??? and all related
> > files as initrd-2.???, config-2.???. System.map-2.???,
> etc). And you
> > have to adjust /boot/grub/menu.lst by remobing the
> lines no longer
> > valid.
> >
> > Or do I miss something?
> 
> You've missed /lib/modules/{deleted_kernel_version} . 
> That's using
> quite a bit more space than the stuff in /boot .
> 
> -- 
> Bob Nichols     "NOSPAM" is really part
> of my email address.
>              
>    Do NOT delete it.
> 
> -- 

Thanks Bob & all others who have responded.

This is what I did:

rm -rf /boot/vmlinux-of-kernels-that-I-wanted-to-remove
rm -rf /boot/intramfs/initrd-of-kernels-that-I-wanted-to-remove
rm -rf /boot/System_maps-of-kernels-that-I-wanted-to-remove
rm -rf /lib/modules/kernel-that-I-wanted-to-remove

and that appears to remove the kernels :)

I wonder what has changed/happened, before I could trim kernels from kernel.org a little bit, but now they are bigger and bigger even than Fedora's :(, Tried building a kernel seed according to 

http://www.kernel-seeds.org/working.html

Kernel took longer to boot than usual, and many files linux.h were missing to build modules against it.  I have built kernels before, and *am wondering what is happening* now?

Regards,

Antonio 


      
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux