Boot Issues

Asked by Mark Whittingham on 2020-05-30

I have a Ubuntu 18.04 bionic dedicated server which all of a sudden has started crashing upon boot up.
I have had a KVM connected and its down to the Kernel version somehow using a version that doesnt work so i have to boot up and enter advanced settings and use a known good kernel.

I am trying to set up the correct boot Kernal by repairing packages etc but facing issues as per below;

root@Ubuntu-1804-bionic-64-minimal ~ # sudo dpkg --configure -a
Setting up linux-image-unsigned-4.15.0-101-generic (4.15.0-101.102) ...
Setting up initramfs-tools (0.130ubuntu3.9) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-firmware (1.173.18) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-99-generic
cryptsetup: WARNING: failed to detect canonical device of /dev/md/2
cryptsetup: WARNING: could not determine root device from /etc/fstab
/usr/share/initramfs-tools/hooks/plymouth: 36: /usr/share/initramfs-tools/hooks/plymouth: plymouth: not found
E: /usr/share/initramfs-tools/hooks/plymouth failed with return 127.
update-initramfs: failed for /boot/initrd.img-4.15.0-99-generic with 127.
dpkg: error processing package linux-firmware (--configure):
 installed linux-firmware package post-installation script subprocess returned error exit status 127
Processing triggers for linux-image-unsigned-4.15.0-101-generic (4.15.0-101.102) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.15.0-101-generic
cryptsetup: WARNING: failed to detect canonical device of /dev/md/2
cryptsetup: WARNING: could not determine root device from /etc/fstab
/usr/share/initramfs-tools/hooks/plymouth: 36: /usr/share/initramfs-tools/hooks/plymouth: plymouth: not found
E: /usr/share/initramfs-tools/hooks/plymouth failed with return 127.
update-initramfs: failed for /boot/initrd.img-4.15.0-101-generic with 127.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 127
dpkg: error processing package linux-image-unsigned-4.15.0-101-generic (--configure):
 installed linux-image-unsigned-4.15.0-101-generic package post-installation script subprocess returned error exit status 1
Processing triggers for initramfs-tools (0.130ubuntu3.9) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-99-generic
cryptsetup: WARNING: failed to detect canonical device of /dev/md/2
cryptsetup: WARNING: could not determine root device from /etc/fstab
/usr/share/initramfs-tools/hooks/plymouth: 36: /usr/share/initramfs-tools/hooks/plymouth: plymouth: not found
E: /usr/share/initramfs-tools/hooks/plymouth failed with return 127.
update-initramfs: failed for /boot/initrd.img-4.15.0-99-generic with 127.
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
 linux-firmware
 linux-image-unsigned-4.15.0-101-generic
 initramfs-tools

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu linux-firmware Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Whittingham
Solved:
2020-05-31
Last query:
2020-05-31
Last reply:
2020-05-31

If you are root, why are you prefixing commands with sudo?

Manfred Hampl (m-hampl) said : #2

"plymouth: not found"

Have you tried (re)-installing plymouth?

Mark Whittingham (wwhitty0) said : #3

Thank you chaps, I had to uninstall cryptsetup and force re-install Plymouth package.