This works for me:
http://ubuntuhandbook.org/index.php/2016/05/remove-old-kernels-ubuntu-16-04/

On Fri, Feb 24, 2017 at 9:36 AM, David <[email protected]> wrote:

> On 02/24/2017 07:57 AM, Denis Heidtmann wrote:
> > The last time this happened Tomas told me what to do, but I did not write
> > it down and my mind is a sieve.  What is the solution?  There are 9
> > archived images.  How do I safely throw out the older ones?
> >
> > Thanks,
> > -Denis
>
> Howdy.
>
> You don't provide quite enough information, but I can get you close
> enough that you should be able to figure it out from there.
>
> If you have a RH based system, you will want to use yum to remove the
> oldest one or two kernel RPMs. I'd suggest starting with find out your
> current kernel release, and then listing which kernel images are installed:
>
> $ uname -r # so you know what you can't remove
> $ rpm -qa | grep kernel-[2-4]
> $ sudo yum remove ${package name from above}
>
> If you are using a Debian based system, it's similar:
>
> $ uname -r # so you know what you can't remove
> $ dpkg -l linux-image* | grep ^i
> $ sudo apt-get remove ${package name from above}
>
> You just want to be sure to leave your current running kernel and the
> next youngest version (IMO), and the rest can be removed to free up
> space in /boot.
>
> dafr
> _______________________________________________
> PLUG mailing list
> [email protected]
> http://lists.pdxlinux.org/mailman/listinfo/plug
>



-- 

Chuck Hast  -- KP4DJT --
Glass, five thousand years of history and getting better.
The only container material that the USDA gives blanket approval on.
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to