Boot error initramfs & plymouth splash screen

Asked by Johnny

hi Cubic PPA team,

I have a strange behavior on the splash screen with plymouth when booting the custom live cd, after grub booting

In legacy mode on VirtualBox or on a laptop, plymouth launches well with the Ubuntu logo and the nice checksum verification page.

In UEFI mode I'm in text mode with some errors

Initramfs : unpacking failded : Decoding failed
 No error found

Then the check of the integrity of the livecd is done correctly and the installation proceeds normally.

I only have this text mode in UEFI mode. With the officiel live CD, i don't have the behaviour in UEFI mode

Do you have an idea ?

Thank you
Best regards

Question information

Language:
English Edit question
Status:
Solved
For:
Cubic Edit question
Assignee:
No assignee Edit question
Solved by:
Johnny
Solved:
Last query:
Last reply:
Revision history for this message
Johnny (johnnybee) said :
#1

After a :

update-initramfs -k all -c -t in chroot Cubic environnement, i don't have the Initramfs : unpacking failded : Decoding failed error anymore.

But i'm still in text mode cdrom check integrity in UEFI mode with Virtualbox or laptop mode

Revision history for this message
Johnny (johnnybee) said :
#2
Revision history for this message
Johnny (johnnybee) said :
#3

After executing commands in my last post : https://answers.launchpad.net/cubic/+question/692285 the error message came back

Initramfs : unpacking failded : Decoding failed

But the installation process installation continue and works fine.

Revision history for this message
Johnny (johnnybee) said :
#4

In verbose mode it's the plymouth error message

https://askubuntu.com/questions/1241050/booting-ubuntu-20-04-live-server-amd64-iso-on-vmware-virtual-machine-fails

ln: /tmp/mountroot-fail-hooks.d//scripts/init-premount/lvm2: No such file or directory
mount: mounting /cow on /root/cow failed: No such file or directory
Checking integrity, this may take some time
Connecting to plymouth: Connection refused

Revision history for this message
Johnny (johnnybee) said :
#5

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1835660

About the ISO boot "error" Initramfs : unpacking failded : Decoding failed

Revision history for this message
Johnny (johnnybee) said :
#6

Hi,

On my first bug with the error : Initramfs : unpacking failded : Decoding failed

I did this in chroot environment :

sed -i 's/COMPRESS=lz4/COMPRESS=gzip/g' /etc/initramfs-tools/initramfs.conf

update-initramfs -c -k $(uname -r)

And use gzip compression in Cubic.

On boot there is no error anymore concerning Initrams decoding

Revision history for this message
Johnny (johnnybee) said :
#7

For providing more information on Initramfs error, you can use lz4 compression in Cubic. Just change lz4 to gzip in /etc/initramfs-tools/initramfs.conf in chroot environment

Revision history for this message
Cubic PPA (cubic-wizard) said :
#8

It sounds like there are two errors here:
1. initramfs
2. plymouth

[1]
Regarding the initramfs error...

Bug #1835660 seems to indicate that this error can be ignored? But in your case, it sounds like the bug is preventing you from booting up?

Did changing the compression to gzip fix this bug for you?

[2]
Are you still experiencing an error in Plymouth, or was that also resolved with the above change?

Revision history for this message
Johnny (johnnybee) said :
#9

Hi Cubic PPA :

It sounds like there are two errors here:
1. initramfs
2. plymouth

Yes i have 2 issue

[1]
Yes if i change lz4 to gzip in chroot env in /etc/initramfs-tools/initramfs.conf the bug is fixed

[2]
I don't know if it is an error, but in UEFI mode plymouth is in text mode for the error checking ISO. In legacy mode plymouth is charging plymouth-theme-spinner. I don't know why i am in text mode in UEFI mode with the same custom ISO. The only error log i can see is " Connecting to plymouth: Connection refused"

Revision history for this message
Johnny (johnnybee) said :
#10

Hi Cubic PPA,

for issue [2]

I add noprompt noshell at the end of line in my grub.cfg and txt.cfg

quiet splash noprompt noshell --

now the plymouth theme is charging.

Revision history for this message
Johnny (johnnybee) said :
#11

Hi Cubic PPA,

for issue [2]

I add noprompt noshell at the end of line in my grub.cfg and txt.cfg

quiet splash noprompt noshell --

now the plymouth theme is charging.

Revision history for this message
Cubic PPA (cubic-wizard) said :
#12

Ok. Good.