[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Updating kernels impossible when /boot is getting full



On 8/1/21 3:51 PM, Greg Wooledge wrote:
On Sun, Aug 01, 2021 at 03:29:07PM -0700, David Christensen wrote:
2021-08-01 13:52:37 root@dipsy ~

# gunzip -c /boot/initrd.img-4.19.0-17-amd64 | cpio -i -d -H newc
--no-absolute-filenames
246741 blocks

That may not extract the full content of the initrd.  It only reads
one of the concatenated CPIO archives.  Also, the first archive may not
be gzipped.  Also also, hard-coding the input archive format is weird;
I'd prefer to let cpio auto-detect it.

To get a full listing, either use "lsinitramfs -l", or write a command
that reads *all* of the CPIO archives, not just the first one.  I'd
advise using lsinitramfs -l, because it'll be a lot easier.


Please post your console session showing how you created initrd.img-5.10.0-8-amd64.txt.gz.


David


Reply to: