Public bug reported: Expecting: kernel initramfs compression. Result: No compression options respeected.
I have the following in /etc/initramfs-tools/initramfs.conf : COMPRESS=zstd COMPRESSLEVEL=9 After process (A): sudo update-initramfs -v -u sudo grub-mkconfig -o /boot/grub/grub.cfg sudo grub-mkconfig -o /boot/efi/EFI/ubuntu/grub.cfg sudo update-grub2 sudo file /boot/initrd.img-6.14.0-23-generic Result: /boot/initrd.img-6.14.0-23-generic: ASCII cpio archive (SVR4 with no CRC) So no compression I assume. I've also tried /etc/initramfs-tools/conf.d/zstd : # Additional options for zstd compression COMPRESSION=zstd COMPRESSLEVEL=9 ZSTD_OPTIONS="-T0 -9 --long --auto-threads=logical" Repeat process (A), no compression. (I wanted to try the last line which informed me of this issue.) Next, noticing we are moving over to dracut, without installing and replacing initramfs-tools, dracut-core and dracut-install are yet provided due to other dependencies. So I placed in /etc/dracut.conf.d/zstd.conf : compress=zstd compress_options="-T0 -9 --long --auto-threads=logical" Repeat process (A), no compression. I also tried changing the compression method to gzip, but it is all left to not being compressed. Have we let go of compression? I am sorry if this is a false bug. apt-cache policy dracut-install dracut-install: Installed: 106-2ubuntu5 Candidate: 106-2ubuntu5 Version table: *** 106-2ubuntu5 500 500 http://us.archive.ubuntu.com/ubuntu plucky/main amd64 Packages 100 /var/lib/dpkg/status apt-cache policy dracut-core dracut-core: Installed: 106-2ubuntu5 Candidate: 106-2ubuntu5 Version table: *** 106-2ubuntu5 500 500 http://us.archive.ubuntu.com/ubuntu plucky/universe amd64 Packages 100 /var/lib/dpkg/status apt-cache policy initramfs-tools initramfs-tools: Installed: 0.147ubuntu1 Candidate: 0.147ubuntu1 Version table: *** 0.147ubuntu1 500 500 http://us.archive.ubuntu.com/ubuntu plucky/main amd64 Packages 100 /var/lib/dpkg/status uname -a Linux anwiend 6.14.0-23-generic #23-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 13 23:02:20 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux lsb_release -rd Description: Ubuntu 25.04 Release: 25.04 Dracut package is not installed while I believe dracut-install and dracut-core with /usr/bin/dracut does exist for cryptsetup-initramfs dependencies. ** Affects: dracut (Ubuntu) Importance: Undecided Status: New ** Tags: dracut initramfs-tools zstd ** Package changed: nvidia-kernel-common (Ubuntu) => dracut (Ubuntu) -- You received this bug notification because you are a member of Debcrafters packages, which is subscribed to dracut in Ubuntu. https://bugs.launchpad.net/bugs/2116060 Title: Initramfs Compression Options Not Respected in Ubuntu 25.04 Status in dracut package in Ubuntu: New Bug description: Expecting: kernel initramfs compression. Result: No compression options respeected. I have the following in /etc/initramfs-tools/initramfs.conf : COMPRESS=zstd COMPRESSLEVEL=9 After process (A): sudo update-initramfs -v -u sudo grub-mkconfig -o /boot/grub/grub.cfg sudo grub-mkconfig -o /boot/efi/EFI/ubuntu/grub.cfg sudo update-grub2 sudo file /boot/initrd.img-6.14.0-23-generic Result: /boot/initrd.img-6.14.0-23-generic: ASCII cpio archive (SVR4 with no CRC) So no compression I assume. I've also tried /etc/initramfs-tools/conf.d/zstd : # Additional options for zstd compression COMPRESSION=zstd COMPRESSLEVEL=9 ZSTD_OPTIONS="-T0 -9 --long --auto-threads=logical" Repeat process (A), no compression. (I wanted to try the last line which informed me of this issue.) Next, noticing we are moving over to dracut, without installing and replacing initramfs-tools, dracut-core and dracut-install are yet provided due to other dependencies. So I placed in /etc/dracut.conf.d/zstd.conf : compress=zstd compress_options="-T0 -9 --long --auto-threads=logical" Repeat process (A), no compression. I also tried changing the compression method to gzip, but it is all left to not being compressed. Have we let go of compression? I am sorry if this is a false bug. apt-cache policy dracut-install dracut-install: Installed: 106-2ubuntu5 Candidate: 106-2ubuntu5 Version table: *** 106-2ubuntu5 500 500 http://us.archive.ubuntu.com/ubuntu plucky/main amd64 Packages 100 /var/lib/dpkg/status apt-cache policy dracut-core dracut-core: Installed: 106-2ubuntu5 Candidate: 106-2ubuntu5 Version table: *** 106-2ubuntu5 500 500 http://us.archive.ubuntu.com/ubuntu plucky/universe amd64 Packages 100 /var/lib/dpkg/status apt-cache policy initramfs-tools initramfs-tools: Installed: 0.147ubuntu1 Candidate: 0.147ubuntu1 Version table: *** 0.147ubuntu1 500 500 http://us.archive.ubuntu.com/ubuntu plucky/main amd64 Packages 100 /var/lib/dpkg/status uname -a Linux anwiend 6.14.0-23-generic #23-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 13 23:02:20 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux lsb_release -rd Description: Ubuntu 25.04 Release: 25.04 Dracut package is not installed while I believe dracut-install and dracut-core with /usr/bin/dracut does exist for cryptsetup-initramfs dependencies. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2116060/+subscriptions -- Mailing list: https://launchpad.net/~debcrafters-packages Post to : debcrafters-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~debcrafters-packages More help : https://help.launchpad.net/ListHelp