Page 1 of 1

initramfs unpacking / decoding failed with linuxmint 20

Posted: Mon Jun 29, 2020 4:36 am
by rlcomte
Hi,

I have a desktop with Linux Mint 19.3 and Fedora. Normal booting works fine, using apparently the Fedora boot menu, as I installed that after LM 19.3.

I want to move to Linux Mint 20. Downloaded the iso, created a bootable USB from within Linux Mint 19.3.
When booting LM 20 from the USB, the grim error message appears: [xxx] initramfs unpacking failed. Decoding failed.
Then my screen is garbled (in hires using the NVIDIA driver ??) so I cannot continue.

I have tried different ISO's of LM 20 (beta, official). I have tried different USB sticks. Does not help.

Any suggestion?

Rine

Re: initramfs unpacking / decoding failed with linuxmint 20

Posted: Mon Jun 29, 2020 8:45 am
by rlcomte
Updating initramfs did not solve the problem.

When booting from USB in compatibility mode, the LM 20 system came up fine.

Re: initramfs unpacking / decoding failed with linuxmint 20

Posted: Tue Jun 30, 2020 11:35 pm
by andy1m
Problem: "initramfs unpacking failed: Decoding failed", message appears on boot up

solution:

Edit /etc/initramfs-tools/initramfs.conf and change:

COMPRESS=lz4 to COMPRESS=gzip

then in terminal:

sudo update-initramfs -u

Re: initramfs unpacking / decoding failed with linuxmint 20

Posted: Wed Jul 01, 2020 1:50 pm
by gecko64
Thank you but how do you do the update when you only have an initramfs prompt ?
I'm able to boot a live USB and mount my encrypted partition, edit the file as you wrote but i really have no idea how to execute the last command to update the initramfs on the mounted hdd and not on my USB drive.
I tried some old kernel, same problem...
In rescue mode, i can read it has a problem with the group mint-vg : Volume group "mint-vg" not found. Cannot process volume groupe mint-vg.
Maybe it's caused because it doesn't ask me the password to decrypt the hdd ?

I'm in this sh** since i updated my Mint 19.3 to Mint 20 on my encrypted hdd.
I changed nothing in my Bios/UEFI.
For a stable version, what a joke... Can't believe they haven't tested this before to switch it in stable version.

Thank you.

Re: initramfs unpacking / decoding failed with linuxmint 20

Posted: Wed Jul 01, 2020 9:12 pm
by juandpineiro
gecko64 wrote:
Wed Jul 01, 2020 1:50 pm
Thank you but how do you do the update when you only have an initramfs prompt ?
I'm able to boot a live USB and mount my encrypted partition, edit the file as you wrote but i really have no idea how to execute the last command to update the initramfs on the mounted hdd and not on my USB drive.
I tried some old kernel, same problem...
In rescue mode, i can read it has a problem with the group mint-vg : Volume group "mint-vg" not found. Cannot process volume groupe mint-vg.
Maybe it's caused because it doesn't ask me the password to decrypt the hdd ?

I'm in this sh** since i updated my Mint 19.3 to Mint 20 on my encrypted hdd.
I changed nothing in my Bios/UEFI.
For a stable version, what a joke... Can't believe they haven't tested this before to switch it in stable version.

Thank you.
Hey I just ran into this issue (actually the message has been popping up on boot since a couple of days ago, but today was stuck on initramfs boot).

I really would like to know what is causing this issue but in the meantime I was able to repair my install by doing a chroot from the Linux Mint 20 live usb, following this guide on recovering broken systems from live media https://www.turnkeylinux.org/docs/chroo ... air-system

Basically you're logging in as root into your Linux Mint install from the live usb, from there do the steps suggested and reboot. It should boot fine.

Re: initramfs unpacking / decoding failed with linuxmint 20

Posted: Wed Jul 01, 2020 9:31 pm
by Kadaitcha Man
gecko64 wrote:
Wed Jul 01, 2020 1:50 pm
Thank you but how do you do the update when you only have an initramfs prompt ?
I'm able to boot a live USB and mount my encrypted partition, edit the file as you wrote but i really have no idea how to execute the last command to update the initramfs on the mounted hdd and not on my USB drive.
I tried some old kernel, same problem...
In rescue mode, i can read it has a problem with the group mint-vg : Volume group "mint-vg" not found. Cannot process volume groupe mint-vg.
Maybe it's caused because it doesn't ask me the password to decrypt the hdd ?

I'm in this sh** since i updated my Mint 19.3 to Mint 20 on my encrypted hdd.
I changed nothing in my Bios/UEFI.
For a stable version, what a joke... Can't believe they haven't tested this before to switch it in stable version.
You created this problem, not the Mint developers. The 'decoding failed' error can be safely ignored for now. That you are at an initramfs prompt is a completely different problem. I recommend that you start a new thread with a more meaningful subject line such as one that includes a reference to disk encryption and initiramfs prompt. I also recommend that, while you are waiting for a response from a helper, you backup your important files if you haven't done so already.

Re: initramfs unpacking / decoding failed with linuxmint 20

Posted: Thu Jul 02, 2020 2:45 am
by gecko64
Ok, i'll do a more detailed thread when i'll be back from work because yes, i can't boot my distro and i'm stuck into the initramfs prompt :-(
I followed the upgrade instructions without special modifications of the system before.
I'll try to do a chroot and change the compression from the live USB; maybe it will solve...
All my files have been saved on two differents hdd before; maybe i'll reinstall it if i don't find a solution and restore my backup.

Thank you.

Re: initramfs unpacking / decoding failed with linuxmint 20

Posted: Thu Jul 02, 2020 2:53 am
by smurphos
gecko64 wrote:
Thu Jul 02, 2020 2:45 am
I followed the upgrade instructions
Where from? There aren't any official upgrade instructions yet - the dev team are working on the upgrade path still.

There are various 'ghetto' upgrade instructions floating about the web - all are very much in the 'use at your own risk category' and the 'does this internet random really know what they are talking about' category.

Re: initramfs unpacking / decoding failed with linuxmint 20

Posted: Thu Jul 02, 2020 2:59 am
by gecko64
This one : https://www.linuxtechi.com/how-to-upgra ... -20-ulyana
It's the same procedure when i upgrade my Debian servers; edit the source file; did an update, upgrade and finally a dist-upgrade.
And the strange thing is that it no longer ask me the password to decrypt the volume; it remains blocked on the Mint logo, moment where it should ask me this and finally after few seconds, show me this error.
I think something is broken there.
On a FB group, some peoples have met the same error and did a full reinstall.
As it was marked as stable, i though it was ok to do an upgrade :-/
Hopefully, i still have my notebook to work.
Thank you for your help :-)

Re: initramfs unpacking / decoding failed with linuxmint 20

Posted: Thu Jul 02, 2020 3:23 am
by smurphos
gecko64 wrote:
Thu Jul 02, 2020 2:59 am
This one : https://www.linuxtechi.com/how-to-upgra ... -20-ulyana
OK - just take care with third-party blogs. You can be sure the author hasn't tested in anything other than his own set-up. The official upgrade instructions once available will utilise a cli tool called mintupgrade - it includes a function to simulate an upgrade and alert the user to possible package conflicts.

I know Clem is concerned about this upstream bug and the possible implications for the upgrade path -it does sound like it's your issue -there are some worka rounds in the bug report - https://bugs.launchpad.net/ubuntu/+sour ... ug/1802617

https://github.com/linuxmint/mint20-bet ... -648866914

Re: initramfs unpacking / decoding failed with linuxmint 20

Posted: Thu Jul 02, 2020 3:31 am
by gecko64
I think i'll do a fresh install, restore my backup files and software; it will take me less time.
At least, i've learned new things, thank you ! :-)

Re: initramfs unpacking / decoding failed with linuxmint 20

Posted: Thu Jul 02, 2020 4:07 am
by Dark Owl
andy1m wrote:
Tue Jun 30, 2020 11:35 pm
Problem: "initramfs unpacking failed: Decoding failed", message appears on boot up
I get that message every boot - it doesn't seem to affect anything, my desktop comes up regardless.

Re: initramfs unpacking / decoding failed with linuxmint 20

Posted: Thu Jul 02, 2020 4:10 am
by Dark Owl
gecko64 wrote:
Wed Jul 01, 2020 1:50 pm
Thank you but how do you do the update when you only have an initramfs prompt ?
I thought you said it boots in compatibility mode? That's how - but I'm not sure this particular thing is the root of your problem.
rlcomte wrote:
Mon Jun 29, 2020 8:45 am
When booting from USB in compatibility mode, the LM 20 system came up fine.

Re: initramfs unpacking / decoding failed with linuxmint 20

Posted: Thu Jul 23, 2020 5:23 pm
by Ceilidh2
I had this in 19, and now it has reappeared in 20. I think it slows boot down by a few seconds, but otherwise appears harmless (on my laptop). It seems to be a well-known bug that remains unfixed.
And todays' (24/07/2020) updates, including kernel 5.4.0-42, have not fixed it.