Re: [bitfolk] Help needed repairing VPS damage

Top Page

Reply to this message
Author: Dom Latter
Date:  
To: users
Subject: Re: [bitfolk] Help needed repairing VPS damage
On 03/06/2020 14:41, Andy Smith wrote:
 > On Wed, Jun 03, 2020 at 01:38:48PM +0000, Andy Smith wrote:
 >> My general rule when clearing out unused kernel pages is to keep
 >                                                   ^^images
 >> both the currently-running kernel and the one it's supposed to run.
 >> So in your case that's linux-image-4.15.0-88 and -101.


It has never crossed my mind to remove the image that is currently
running!

I always keep the very first kernel, the current / latest, and the
previous. And usually one or two from a few months back.

There may not be a lot of logic to it but that's what I do.

You should IMO always have a fall-back option. Once upon a time
I had a new kernel that rather bizarrely ran the clock too fast.

This had the effect of totally messing up my time-sheeting for the
day...

@Ian, I had a clear out a while back.

history shows the following
apt-get purge linux-image-4.15.0-74-generic
apt-get purge -y linux-headers-4.15.0-74
apt-get purge -y linux-modules-4.15.0-74-generic

And these to show what was installed:
apt-mark showauto 'linux-image-.*'
apt-mark showmanual 'linux-image-.*'