[Bug 1835660] Re: initramfs unpacking failed
Pjotr12345
1835660 at bugs.launchpad.net
Thu Aug 6 09:07:51 UTC 2020
This is a simplified version of the means to work around this problem:
Step 1:
sudo sed -i 's/COMPRESS=lz4/COMPRESS=gzip/g' /etc/initramfs-tools/initramfs.conf
Step 2:
sudo update-initramfs -u
Step 3:
Reboot.
Now I wonder whether someone has already tried something other than gzip? Because initramfs.conf mentions no less than six options:
# COMPRESS: [ gzip | bzip2 | lz4 | lzma | lzop | xz ]
Apparently gzip is slower than lz4, which might slow the boot process by
several seconds. One of the other alternatives might be faster.
Of course I could test that myself, but I'm too lazy today, so I'm
hoping somebody else has done the footwork already....
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1835660
Title:
initramfs unpacking failed
Status in initramfs-tools package in Ubuntu:
Invalid
Status in linux package in Ubuntu:
Confirmed
Bug description:
"initramfs unpacking failed: Decoding failed", message appears on
boot up.
If I "update-initramfs" using gzip instead of lz, then boot up passes
without decoding failed message.
---
However, we currently believe that the decoding error reported in
dmesg is actually harmless and has no impact on usability on the
system.
Switching from lz4 to gzip compression, simply papers over the
warning, without any benefits, and slows down boot.
Kernel should be fixed to correctly parse lz4 compressed initrds, or
at least lower the warning, to not be user visible as an error.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1835660/+subscriptions
More information about the foundations-bugs
mailing list