Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #205079 > unrolled thread

/boot full (of old-dkms)

Started byErik Josefsson <erik.hjalmar.josefsson@gmail.com>
First post2019-02-07 08:20 +0100
Last post2019-02-10 11:40 +0100
Articles 5 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  /boot full (of old-dkms) Erik Josefsson <erik.hjalmar.josefsson@gmail.com> - 2019-02-07 08:20 +0100
    Re: /boot full (of old-dkms) john doe <johndoe65534@mail.com> - 2019-02-07 10:40 +0100
      Re: /boot full (of old-dkms) Erik Josefsson <erik.hjalmar.josefsson@gmail.com> - 2019-02-08 00:30 +0100
      Re: /boot full (of old-dkms) Erik Josefsson <erik.hjalmar.josefsson@gmail.com> - 2019-02-10 10:40 +0100
        Re: /boot full (of old-dkms) Reco <recoverym4n@enotuniq.net> - 2019-02-10 11:40 +0100

#205079 — /boot full (of old-dkms)

FromErik Josefsson <erik.hjalmar.josefsson@gmail.com>
Date2019-02-07 08:20 +0100
Subject/boot full (of old-dkms)
Message-ID<xoM8y-6NA-3@gated-at.bofh.it>
Hello,

I happen to have a couple of quite large old-dkms* files in my /boot 
directory.

Apparently they are not removed by aptitude autoclean (which I use 
regularly).


Can I safely remove those files manually with rm?

Or should I use another tool or command?

Thanks!


//Erik


*)

/boot$ ls -al | grep old
-rw-r--r--  1 root root 26018518 jul 26  2018 
initrd.img-4.16.0-1-amd64.old-dkms
-rw-r--r--  1 root root  3538944 jul 26  2018 
initrd.img-4.16.0-2-amd64.old-dkms
-rw-r--r--  1 root root 28866434 jan 16 18:06 
initrd.img-4.19.0-1-amd64.old-dkms

[toc] | [next] | [standalone]


#205093

Fromjohn doe <johndoe65534@mail.com>
Date2019-02-07 10:40 +0100
Message-ID<xoOk1-83z-11@gated-at.bofh.it>
In reply to#205079
On 2/7/2019 8:14 AM, Erik Josefsson wrote:
> Hello,
>
> I happen to have a couple of quite large old-dkms* files in my /boot
> directory.
>
> Apparently they are not removed by aptitude autoclean (which I use
> regularly).
>
>
> Can I safely remove those files manually with rm?
>
> Or should I use another tool or command?
>
> Thanks!
>
>
> //Erik
>
>
> *)
>
> /boot$ ls -al | grep old
> -rw-r--r--  1 root root 26018518 jul 26  2018
> initrd.img-4.16.0-1-amd64.old-dkms
> -rw-r--r--  1 root root  3538944 jul 26  2018
> initrd.img-4.16.0-2-amd64.old-dkms
> -rw-r--r--  1 root root 28866434 jan 16 18:06
> initrd.img-4.19.0-1-amd64.old-dkms
>

According to (1), you should be fine removing '.old-dkms' files in '/boot'.
However, I would do a backup of those files before removing them.

1)  https://askubuntu.com/questions/863380/can-i-remove-old-dkms-files

--
John Doe

[toc] | [prev] | [next] | [standalone]


#205121

FromErik Josefsson <erik.hjalmar.josefsson@gmail.com>
Date2019-02-08 00:30 +0100
Message-ID<xp1hf-7CJ-13@gated-at.bofh.it>
In reply to#205093
Den 2019-02-07 kl. 10:31, skrev john doe:
> On 2/7/2019 8:14 AM, Erik Josefsson wrote:
>> Hello,
>>
>> I happen to have a couple of quite large old-dkms* files in my /boot
>> directory.
>>
>> Apparently they are not removed by aptitude autoclean (which I use
>> regularly).
>>
>>
>> Can I safely remove those files manually with rm?
>>
>> Or should I use another tool or command?
>>
>> Thanks!
>>
>>
>> //Erik
>>
>>
>> *)
>>
>> /boot$ ls -al | grep old
>> -rw-r--r--  1 root root 26018518 jul 26  2018
>> initrd.img-4.16.0-1-amd64.old-dkms
>> -rw-r--r--  1 root root  3538944 jul 26  2018
>> initrd.img-4.16.0-2-amd64.old-dkms
>> -rw-r--r--  1 root root 28866434 jan 16 18:06
>> initrd.img-4.19.0-1-amd64.old-dkms
>>
> According to (1), you should be fine removing '.old-dkms' files in '/boot'.
> However, I would do a backup of those files before removing them.
>
> 1)  https://askubuntu.com/questions/863380/can-i-remove-old-dkms-files

Thank you!

Apparently there is also a new way of rid of old kernels coming up:

kthresher - Purge Unused Kernels

https://tracker.debian.org/pkg/kthresher

Best regards.

//Erik

[toc] | [prev] | [next] | [standalone]


#205159

FromErik Josefsson <erik.hjalmar.josefsson@gmail.com>
Date2019-02-10 10:40 +0100
Message-ID<xpTKG-7IQ-11@gated-at.bofh.it>
In reply to#205093
Den 2019-02-07 kl. 10:31, skrev john doe:
> According to (1), you should be fine removing '.old-dkms' files in '/boot'.
> However, I would do a backup of those files before removing them.
>
> 1)https://askubuntu.com/questions/863380/can-i-remove-old-dkms-files

Very good answer in the link, and now I feel stupid to ask anyway: Can I 
safely remove all '.old-dkms' files, or should I save the youngest (in 
/boot)?

(I don't yet understand what is needed to rescue the system would 
something go wrong with a update&&upgrade)

Best regards.

//Erik

[toc] | [prev] | [next] | [standalone]


#205160

FromReco <recoverym4n@enotuniq.net>
Date2019-02-10 11:40 +0100
Message-ID<xpUGJ-8iJ-11@gated-at.bofh.it>
In reply to#205159
	Hi.

On Sun, Feb 10, 2019 at 10:32:21AM +0100, Erik Josefsson wrote:
> Den 2019-02-07 kl. 10:31, skrev john doe:
> > According to (1), you should be fine removing '.old-dkms' files in '/boot'.
> > However, I would do a backup of those files before removing them.
> > 
> > 1)https://askubuntu.com/questions/863380/can-i-remove-old-dkms-files
> 
> Very good answer in the link, and now I feel stupid to ask anyway: Can I safely remove all '.old-dkms' files, or should I save the youngest (in /boot)?

Are these files referenced in /boot/grub/grub.cfg?
If not, they are useless for booting and can be removed just as they
created.

Reco

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web