[SOLVED] initramfs unpacking failed: Decoding failed

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
CyrilFR
Level 1
Level 1
Posts: 16
Joined: Fri Dec 21, 2018 7:56 am

[SOLVED] initramfs unpacking failed: Decoding failed

Post by CyrilFR »

Hello :)
it seems to be a common bug but I get this error message during boot time
initramfs unpacking failed: Decoding failed
this message what not here with LM19.3
my setup : https://termbin.com/8gci :shock:
Last edited by CyrilFR on Sun Jul 26, 2020 3:26 pm, edited 1 time in total.
User avatar
Kadaitcha Man
Level 9
Level 9
Posts: 2604
Joined: Mon Aug 27, 2012 10:17 pm

Re: initramfs unpacking failed: Decoding failed

Post by Kadaitcha Man »

CyrilFR wrote:
Mon Jun 29, 2020 3:29 am

Code: Select all

initramfs unpacking failed: Decoding failed
Paste this into a terminal:

Code: Select all

xed admin:///etc/initramfs-tools/initramfs.conf
Change COMPRESS=lz4 to COMPRESS=gzip

Save the changes then:

Code: Select all

sudo update-initramfs -u
and reboot.
It's pronounced kad-eye-cha, not kada-itcha.
Aryanprince
Level 1
Level 1
Posts: 8
Joined: Mon Jun 29, 2020 8:11 am

Re: initramfs unpacking failed: Decoding failed

Post by Aryanprince »

I had the same issue on LM 20, and the suggestion fixed the problem. However can someone tell us more about it, what the problem was, and what this fix actually did? Thanks.
janne6767
Level 1
Level 1
Posts: 3
Joined: Mon Jun 29, 2020 12:12 pm

Re: initramfs unpacking failed: Decoding failed

Post by janne6767 »

I am getting [0.5910114] Initramfs unpacking failed: Decoding failed when trying to boot from Linux Mint 20 installation media (DVD or USB drive, both fails).

Linux Mint 19.3 works fine on the same desktop computer.

Janne
CyrilFR
Level 1
Level 1
Posts: 16
Joined: Fri Dec 21, 2018 7:56 am

Re: initramfs unpacking failed: Decoding failed

Post by CyrilFR »

I had solved the problem by install the initramfs packet with the update manager :|
User avatar
smurphos
Level 17
Level 17
Posts: 7144
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: initramfs unpacking failed: Decoding failed

Post by smurphos »

For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
User avatar
mint-me
Level 3
Level 3
Posts: 143
Joined: Sat May 26, 2012 2:25 am
Location: Australia

Re: initramfs unpacking failed: Decoding failed

Post by mint-me »

For now, I guess its ok to ignore the warning?

Wait for a kernel update?
Linux Mint 20 XFCE 64bit - HP Notebook 15 BS143TU Intel® Core™ i5-8250U, 8GB DDR4 2400Mhz, Intel® UHD Graphics 620, 1366x768 15.6", 1 TB SATA
janne6767
Level 1
Level 1
Posts: 3
Joined: Mon Jun 29, 2020 12:12 pm

Re: initramfs unpacking failed: Decoding failed

Post by janne6767 »

janne6767 wrote:
Mon Jun 29, 2020 12:18 pm
I am getting [0.5910114] Initramfs unpacking failed: Decoding failed when trying to boot from Linux Mint 20 installation media (DVD or USB drive, both fails).

Linux Mint 19.3 works fine on the same desktop computer.

Janne
Still no success.

Mint 19.3 installation media boots from usb ok. LM 20 installation media boot fails to the error message (Initramfs unpacking failed: Decoding failed)

I have verified LM20 iso against sha256 sum.

Hardware info
https://jainkila.kapsi.fi/temp/lshw.txt

Janne
User avatar
smurphos
Level 17
Level 17
Posts: 7144
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: initramfs unpacking failed: Decoding failed

Post by smurphos »

janne - report this as a bug at https://github.com/linuxmint/linuxmint/issues

This error was raised in the beta, but not as an issue preventing the live iso from booting at all.

I've just doublechecked booting the stable live ISO on both my machines and it boots fine albeit the error does show in journalctl output when run just after booting the live session.

It might be worth you experimenting with a different USB stick or using different USB ports.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
User avatar
smurphos
Level 17
Level 17
Posts: 7144
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: initramfs unpacking failed: Decoding failed

Post by smurphos »

mint-me wrote:
Mon Jun 29, 2020 5:24 pm
For now, I guess its ok to ignore the warning?

Wait for a kernel update?
Well there doesn't seem to be a huge amount developer interest in the upstream bug as yet and it was introduced over 6 months ago. If it's not preventing you booting then I guess don't worry about it. Or apply the tweak outlined in the bug report or as described by Kadaitcha Man a few posts above which returns the compression method to what is was for Mint 19.x, Ubuntu 18.04.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
User avatar
mint-me
Level 3
Level 3
Posts: 143
Joined: Sat May 26, 2012 2:25 am
Location: Australia

Re: initramfs unpacking failed: Decoding failed

Post by mint-me »

thanks for confirmation smurphos :wink:

my bootup is fine, so will leave it as is.
Linux Mint 20 XFCE 64bit - HP Notebook 15 BS143TU Intel® Core™ i5-8250U, 8GB DDR4 2400Mhz, Intel® UHD Graphics 620, 1366x768 15.6", 1 TB SATA
cool_montes
Level 1
Level 1
Posts: 4
Joined: Wed Dec 04, 2019 6:37 am

Re: initramfs unpacking failed: Decoding failed

Post by cool_montes »

Hello everybody, in my case I just opened synaptics, looked for lz4, and installed everything it seems to be related to it for me.
Sorry about my English :)
thorsen
Level 1
Level 1
Posts: 1
Joined: Tue Jul 14, 2020 7:58 am

Re: initramfs unpacking failed: Decoding failed

Post by thorsen »

janne6767 wrote:
Tue Jun 30, 2020 2:17 am
janne6767 wrote:
Mon Jun 29, 2020 12:18 pm
I am getting [0.5910114] Initramfs unpacking failed: Decoding failed when trying to boot from Linux Mint 20 installation media (DVD or USB drive, both fails).

Linux Mint 19.3 works fine on the same desktop computer.

Janne
Still no success.

Mint 19.3 installation media boots from usb ok. LM 20 installation media boot fails to the error message (Initramfs unpacking failed: Decoding failed)

I have verified LM20 iso against sha256 sum.

Hardware info
https://jainkila.kapsi.fi/temp/lshw.txt

Janne
Any advance with that? I have the exact same problem. Thought was something related to hardware so I have updated BIOS but, even so, installation is not running.
I've tried same USB with other laptop and no problem at all
S3NTYN3L
Level 1
Level 1
Posts: 26
Joined: Fri Sep 27, 2019 5:36 pm

Re: initramfs unpacking failed: Decoding failed

Post by S3NTYN3L »

Kadaitcha Man wrote:
Mon Jun 29, 2020 3:35 am
Change COMPRESS=lz4 to COMPRESS=gzip
Thank you!
User avatar
Kadaitcha Man
Level 9
Level 9
Posts: 2604
Joined: Mon Aug 27, 2012 10:17 pm

Re: initramfs unpacking failed: Decoding failed

Post by Kadaitcha Man »

S3NTYN3L wrote:
Tue Jul 14, 2020 10:47 pm
Kadaitcha Man wrote:
Mon Jun 29, 2020 3:35 am
Change COMPRESS=lz4 to COMPRESS=gzip
Thank you!
No worries. Glad it helped.
It's pronounced kad-eye-cha, not kada-itcha.
User avatar
smurphos
Level 17
Level 17
Posts: 7144
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: initramfs unpacking failed: Decoding failed

Post by smurphos »

Interestingly I don't get this bug on my hardware with the new default lz4. No idea why not, I'd assumed it was universal given the number of people who'd noted it.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
N0GOD
Level 1
Level 1
Posts: 3
Joined: Sat Jul 11, 2020 8:49 am

Re: initramfs unpacking failed: Decoding failed

Post by N0GOD »

Mint 20 on a Mac Air, upgraded from latest Mint 19 version a week ago, Running as Mint 20 only, removed Mac OS years ago.

This morning laptop started acting wanky in the browser and links would not execute on clicks and was asking me to log into things that should have already been signed into.

Decided to do a reboot and..... initramfs unpacking failed

I tried everything mentioned in this post. I could get to grub and a few other very limited command/menu areas, but calls were very limited. No matter what I did, after a reboot everything was back to the way before I made the changes.

Wound up booting from Mint 20 install USB. Tried to make the changes and after reboot, same thing, no matter what I did, no change were actually written to the drive just like before booting from USB.

The question I have to ask, is Mint 20 Stable?

Should I still change the compression method for initramfs?

When the laptop boots, the first few screens flash quickly with garbage on them, as it did before the crash. In Mint 19 the screen were readable but too fast for me to read them.
User avatar
mandoman
Level 4
Level 4
Posts: 204
Joined: Sun Apr 28, 2013 9:51 pm

Re: initramfs unpacking failed: Decoding failed

Post by mandoman »

Instructions to correct problem by Kadaitcha Man worked for my Inspiron.
What was that code again?
guythp
Level 1
Level 1
Posts: 41
Joined: Wed Feb 01, 2012 5:11 pm

Re: initramfs unpacking failed: Decoding failed

Post by guythp »

Kadaitcha Man wrote:
Mon Jun 29, 2020 3:35 am
CyrilFR wrote:
Mon Jun 29, 2020 3:29 am

Code: Select all

initramfs unpacking failed: Decoding failed
Paste this into a terminal:

Code: Select all

xed admin:///etc/initramfs-tools/initramfs.conf
Change COMPRESS=lz4 to COMPRESS=gzip

Save the changes then:

Code: Select all

sudo update-initramfs -u
and reboot.
Thank you; I noticed this error message popping up after I recently upgraded my laptop from 19.3 to 20. I don't know what the error meant but the fact that there was one irritated me even though there seemed to be no effect from it other than the error message. So thank you again. :)

(and thanks to the OP for allowing my search to find this post)
Cenuel
Level 1
Level 1
Posts: 5
Joined: Sat Jan 11, 2020 2:55 pm

Re: initramfs unpacking failed: Decoding failed

Post by Cenuel »

Does this specific error message come up twice during boot for anyone else? I got the error message immediately at the beginning of the boot process, and then it would proceed a bit and flash an error (possibly the identical error, possibly something else) so quickly I can't quite read what it's saying closer to the end of the boot process. I followed the instructions given by Kadaitcha Man in post two, and the initial message is gone but I still see a flash of illegible error message at the second point it displayed. I am not noticing any issues beyond the display of the message in and of itself so far.
Post Reply

Return to “Installation & Boot”