On 11 Apr 2023 16:43, Marc Auslander wrote:
On 4/11/2023 9:30 AM, zithro wrote:
The solution is in "man update-initramfs" :
update-initramfs -c -k $KERNEL_VERSION

-c creates a new initramfs
-k specifies the version of the kernel
This breaks when package update tries to update-initramfs.  My copies have the kernel version in their names - with -knowngood appended.


Breaks how ?

In Bullseye you have to remove old kernels/initrd manually
(with for example apt autoremove)
I just checked some logs and it also worked like this in Buster
You can keep as many versions as you want.

Also, I found this old post on this very ML:

On Thu, Dec 13, 2007 at 09:54:49PM -0500, Marc Auslander wrote:
> The problem is operator (that's me) stupidity.
>
> I have an overloaded find so I can say find foo and have it mean
> find . -name foo -print
>
> mkinitramfs uses find . | cpio to build the initrd.img
>

Reply via email to