[SOLVED] initramfs unpacking failed: Decoding failed
Forum rules
Before you post please read how to get help
Before you post please read how to get help
Re: [SOLVED] initramfs unpacking failed: Decoding failed
-k all : all kernel versions. Well, I just did the latest. Should work.
Re: initramfs unpacking failed: Decoding failed
Kadaitcha Man wrote: ↑Mon Jun 29, 2020 3:35 amPaste this into a terminal:CyrilFR wrote: ↑Mon Jun 29, 2020 3:29 amCode: Select all
initramfs unpacking failed: Decoding failed
ChangeCode: Select all
xed admin:///etc/initramfs-tools/initramfs.conf
COMPRESS=lz4
toCOMPRESS=gzip
Save the changes then:
and reboot.Code: Select all
sudo update-initramfs -u
I have the same issue after I did the fresh install. I cannot perform the solution you posted since it does not boot up. I get a blank black screen.
Re: initramfs unpacking failed: Decoding failed
You see "initramfs unpacking failed: Decoding failed" and then a blank screen?
Can you get to recovery mode? i.e.
Booting into recovery mode
Switch on your computer.
Wait until the UEFI/BIOS has finished loading, or has almost finished. (During this time you will probably see a logo of your computer manufacturer.) Note: UEFI fast boot may be too fast to give time to press any key.
With BIOS, quickly press and hold the Shift key, which will bring up the GNU GRUB menu. (If you see the Ubuntu logo, you've missed the point where you can enter the GRUB menu.) With UEFI press (perhaps several times) the Escape key to get grub menu.
Select the line which starts with "Advanced options".
Select the line ending with "(recovery mode)", probably the second line, something like:
Ubuntu GNU/Linux, with Linux 3.8.0-26-generic (recovery mode)
Can you get to recovery mode? i.e.
Booting into recovery mode
Switch on your computer.
Wait until the UEFI/BIOS has finished loading, or has almost finished. (During this time you will probably see a logo of your computer manufacturer.) Note: UEFI fast boot may be too fast to give time to press any key.
With BIOS, quickly press and hold the Shift key, which will bring up the GNU GRUB menu. (If you see the Ubuntu logo, you've missed the point where you can enter the GRUB menu.) With UEFI press (perhaps several times) the Escape key to get grub menu.
Select the line which starts with "Advanced options".
Select the line ending with "(recovery mode)", probably the second line, something like:
Ubuntu GNU/Linux, with Linux 3.8.0-26-generic (recovery mode)
- disc0rdante
- Level 1
- Posts: 7
- Joined: Wed Aug 19, 2020 4:08 pm
Re: [SOLVED] initramfs unpacking failed: Decoding failed
Fixed the error message on boot for me, Dell XPS18, thanks aargiee!
Re: initramfs unpacking failed: Decoding failed
That's gvfs functionality: https://en.wikipedia.org/wiki/GVfsJustin_Maxwell wrote: ↑Sun Jul 19, 2020 5:42 pmWhat is this root-access URL sorcery, and why does it just return `The specified location is not mounted` on my just-upgraded Mint 20 system? ("admin:///" is not search friendly)Kadaitcha Man wrote: ↑Mon Jun 29, 2020 3:35 am
Paste this into a terminal:Code: Select all
xed admin:///etc/initramfs-tools/initramfs.conf
Ta.
admin://
is the mechanism.gvfs-admin is not mentioned in that wiki page as one of the backends but check
man gvfs
for current info to see it.that terminal message is "normal", but probably some way that the system is not acting fully compliant with all the pieces of the specification of multiple pieces of that mechanism, but it does fully work as intended.
-
- Level 1
- Posts: 2
- Joined: Mon Sep 07, 2020 8:17 am
Re: [SOLVED] initramfs unpacking failed: Decoding failed
many thanks Kadaitcha Man
i ran the sudo uodate-initramfs -u first just to see what it did.
It created an image for my current cinnamon 20 kernel and fixed the problem.
I didn't have to edit the file
i ran the sudo uodate-initramfs -u first just to see what it did.
It created an image for my current cinnamon 20 kernel and fixed the problem.
I didn't have to edit the file
-
- Level 1
- Posts: 2
- Joined: Mon Sep 07, 2020 8:17 am
Re: [SOLVED] initramfs unpacking failed: Decoding failed
installed new kernel today and got the error again. the command sudo update-initramfs -u didn't work this time.
i reverted to the previous kernel and everything is good
i reverted to the previous kernel and everything is good
- Pjotr
- Level 22
- Posts: 16195
- Joined: Mon Mar 07, 2011 10:18 am
- Location: The Netherlands (Holland)
- Contact:
Re: [SOLVED] initramfs unpacking failed: Decoding failed
Makes more sense to change the compression method then, instead of only updating initramfs:Billw 6500 wrote: ↑Tue Sep 08, 2020 11:57 aminstalled new kernel today and got the error again. the command sudo update-initramfs -u didn't work this time.
i reverted to the previous kernel and everything is good
https://easylinuxtipsproject.blogspot.c ... .html#ID26
(item 26)
Tip: 10 things to do after installing Linux Mint 20.1 Ulyssa
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Re: [SOLVED] initramfs unpacking failed: Decoding failed
Thank you for this helpful link to
https://easylinuxtipsproject.blogspot.c ... .html#ID26
Scroll down to tip number 26 in long list
which solved this boot issue on a HP Stream 13 running LM 20 Ulyana XFCE using terminal in two minutes.
https://easylinuxtipsproject.blogspot.c ... .html#ID26
Scroll down to tip number 26 in long list
Code: Select all
Boot error concerning the unpacking of initramfs
26. You might get to see the following error during booting, which is a bug:
- adam_hardy42
- Level 2
- Posts: 55
- Joined: Thu Oct 13, 2016 7:52 am
Re: [SOLVED] initramfs unpacking failed: Decoding failed
I ran this command and now there is a stream of output rather than just the initramfs failure message, so I assume it's fixed (final reboot at 16:42)Jack.Handey wrote: ↑Wed Jul 29, 2020 2:19 pmLeave it on lz4.
Run:
sudo update-initramfs -c -k $(uname -r)
Reboot.
There is/was a bug in the ubuntu tools.
Code: Select all
Sep 15 19:59:47 erebor kernel: [ 0.354296] Trying to unpack rootfs image as initramfs...
Sep 16 09:56:00 erebor kernel: [ 0.341981] Trying to unpack rootfs image as initramfs...
Sep 16 09:56:00 erebor kernel: [ 0.520188] Initramfs unpacking failed: Decoding failed
Sep 16 15:44:47 erebor kernel: [ 0.361314] Trying to unpack rootfs image as initramfs...
Sep 16 15:44:47 erebor kernel: [ 0.545937] Initramfs unpacking failed: Decoding failed
Sep 16 15:48:48 erebor kernel: [ 0.355229] Trying to unpack rootfs image as initramfs...
Sep 16 15:48:48 erebor kernel: [ 0.539664] Initramfs unpacking failed: Decoding failed
Sep 16 16:42:16 erebor kernel: [ 0.357761] Trying to unpack rootfs image as initramfs...
Sep 16 16:42:56 erebor kernel: [ 0.358013] Trying to unpack rootfs image as initramfs...
Re: [SOLVED] initramfs unpacking failed: Decoding failed
I am now back to Unpacking Failed, Decoding Failed.
From my experience so far, I guess I will have to wait for LM 20.1 or 21 to solve this problem.
The problem is severe enough that this puts LM 20 in not ready for production status in my book.
New clients will be getting the latest release of 19 installed by me.
What was the rush to get 20 out before it was ready?
From my experience so far, I guess I will have to wait for LM 20.1 or 21 to solve this problem.
The problem is severe enough that this puts LM 20 in not ready for production status in my book.
New clients will be getting the latest release of 19 installed by me.
What was the rush to get 20 out before it was ready?
Amateur Radio and Linux Mint go hand & hand. Two great things for Nerds of the world!
- Pjotr
- Level 22
- Posts: 16195
- Joined: Mon Mar 07, 2011 10:18 am
- Location: The Netherlands (Holland)
- Contact:
Re: [SOLVED] initramfs unpacking failed: Decoding failed
This is guaranteed to work around that:
https://easylinuxtipsproject.blogspot.c ... .html#ID26
(item 26)
Tip: 10 things to do after installing Linux Mint 20.1 Ulyssa
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Re: [SOLVED] initramfs unpacking failed: Decoding failed
OUTSTANDING! Not only did this solve the problem but also several other failures at start up. Will this fix be in the next update of LM or will I have to keep running the two commands on the bash line for new install I do?Pjotr wrote: ↑Sat Sep 26, 2020 11:18 amThis is guaranteed to work around that:
https://easylinuxtipsproject.blogspot.c ... .html#ID26
(item 26)
Cheers
Jonathan
Amateur Radio and Linux Mint go hand & hand. Two great things for Nerds of the world!
- Pjotr
- Level 22
- Posts: 16195
- Joined: Mon Mar 07, 2011 10:18 am
- Location: The Netherlands (Holland)
- Contact:
Re: [SOLVED] initramfs unpacking failed: Decoding failed
Good to hear!N0GOD wrote: ↑Sun Sep 27, 2020 12:09 pmOUTSTANDING! Not only did this solve the problem but also several other failures at start up. Will this fix be in the next update of LM or will I have to keep running the two commands on the bash line for new install I do?Pjotr wrote: ↑Sat Sep 26, 2020 11:18 amThis is guaranteed to work around that:
https://easylinuxtipsproject.blogspot.c ... .html#ID26
(item 26)
Cheers
Jonathan

It's an upstream issue (Ubuntu), which hasn't been fixed yet, as far as I know. So yes, you'll have to do this for each new installation of Linux Mint....
Tip: 10 things to do after installing Linux Mint 20.1 Ulyssa
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Re: [SOLVED] initramfs unpacking failed: Decoding failed
LMDE 4 uses and that error is not present.
Code: Select all
gzip
To mark this issue solved, go to your original 1st post and click the edit pencil and add [Solved] at the beginning of the title and click Submit.
Mint accepts donations: https://linuxmint.com/donors.php
Mint accepts donations: https://linuxmint.com/donors.php
Re: initramfs unpacking failed: Decoding failed
I have one install of Mint 20 Beta that I use. I have kept it updated. Of my 5 installs, this is the only one without the boot error. Why would that be?smurphos wrote: ↑Tue Jun 30, 2020 3:04 amjanne - 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.
To mark this issue solved, go to your original 1st post and click the edit pencil and add [Solved] at the beginning of the title and click Submit.
Mint accepts donations: https://linuxmint.com/donors.php
Mint accepts donations: https://linuxmint.com/donors.php
Re: [SOLVED] initramfs unpacking failed: Decoding failed
Solution listed above by Kadaitcha Man worked for my install as well. Boot seems to be slower, but that is entirely subjective, I know. In any case the error message is gone.
-
- Level 1
- Posts: 20
- Joined: Mon Nov 23, 2020 5:25 pm
Re: initramfs unpacking failed: Decoding failed
Worked for me thanks.Kadaitcha Man wrote: ↑Mon Jun 29, 2020 3:35 am
Paste this into a terminal:
ChangeCode: Select all
xed admin:///etc/initramfs-tools/initramfs.conf
COMPRESS=lz4
toCOMPRESS=gzip
Save the changes then:
and reboot.Code: Select all
sudo update-initramfs -u

Sometimes it would stay on the monitor for a while, as if it were thinking what to do. Like they say, it didn't affect the running at all. It was beginning to get on my nerves wondering what it was though.smurphos wrote: ↑Mon Jun 29, 2020 1:17 pmKnown upstream bug - https://bugs.launchpad.net/ubuntu/+sour ... ug/1835660
https://github.com/linuxmint/mint20-beta/issues/90

Re: initramfs unpacking failed: Decoding failed
Kadaitcha Man wrote: ↑Mon Jun 29, 2020 3:35 amPaste this into a terminal:CyrilFR wrote: ↑Mon Jun 29, 2020 3:29 amCode: Select all
initramfs unpacking failed: Decoding failed
ChangeCode: Select all
xed admin:///etc/initramfs-tools/initramfs.conf
COMPRESS=lz4
toCOMPRESS=gzip
Save the changes then:
and reboot.Code: Select all
sudo update-initramfs -u
worked for me thank you so much, I saw this problem mostly in HP laptops.
Re: initramfs unpacking failed: Decoding failed
Worked fine for me too, thanks for the tip.Kadaitcha Man wrote: ↑Mon Jun 29, 2020 3:35 amPaste this into a terminal:CyrilFR wrote: ↑Mon Jun 29, 2020 3:29 amCode: Select all
initramfs unpacking failed: Decoding failed
ChangeCode: Select all
xed admin:///etc/initramfs-tools/initramfs.conf
COMPRESS=lz4
toCOMPRESS=gzip
Save the changes then:
and reboot.Code: Select all
sudo update-initramfs -u