How to remove non-Fedora kernels?
Antonio Olivares
olivares14031 at yahoo.com
Sat Mar 20 16:12:38 UTC 2010
--- On Sat, 3/20/10, Robert Nichols <rnicholsNOSPAM at comcast.net> wrote:
> From: Robert Nichols <rnicholsNOSPAM at comcast.net>
> Subject: Re: How to remove non-Fedora kernels?
> To: users at lists.fedoraproject.org
> 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
More information about the users
mailing list