Score:0

Increased initrd image size in 5.19.0

us flag

After I upgraded from 5.19.0-23 to 5.19.0-26, my initrd.img size grew a lot:

Size Update
49M initrd.img-5.19.0-23-generic
131M initrd.img-5.19.0-26-generic

I already have 2 workarounds from Bug 1842320 so that I can boot without the error: out of memory issue. Nonetheless, what caused the large size change if compression and build settings remain the same? If interested, the workarounds that allow me to boot are as follows

  1. Try to load some but not all modules in initramfs by changing line 20 of /etc/initramfs-tools/initramfs.conf to MODULES=dep
  2. Compress the initrd.img to a higher zstd compression by changing line 196 of /usr/sbin/mkinitramfs to zstd) compress="zstd -q -19 -T0" ;;
  3. And of course updating grub
nobody avatar
gh flag
Did you update the initrd itself after your changes?
m1st0 avatar
us flag
Yes, updated initrd after changes
Score:0
us flag

Concerning the increase in initrd, I don't believe there is a care about the size increase to many. This may be because many have a clean install of kinetic which increased the size of the boot partition which also helps with not worrying about the size increase.

Other errors also showed up for people as shown in Bug 1842320 which were of larger concern. The workarounds I shared and others were used until a general fix was released for grub-efi-amd64, grub-efi-amd64-bin, and grub-efi-amd64-signed in version 2.06-2ubuntu14.1.

For note, grub-efi-amd64-signed is set to 14.1 while the other 2 are updated to 14.2 which also breaks the install preventing grub-efi-amd64-signed from installing. I'll open a question about it in case there needs to be a bug filed.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.