Now we have something which can be investigated.
If you see this message or a similar message about any other grub
, initramfs
or linux
related package there is a probably that the system will not boot after reboot.
This needs to be debugged further. It can possibly be done both, before or after you have seen this error.
- Open /usr/share/initramfs-tools/hooks/live with root rights.
.
sudoedit /usr/share/initramfs-tools/hooks/live
- Enable
xtrace
/-x
(for sh script debugging).
I.e. change the first line
#!/bin/sh
by appending -x
. So it looks like this.
#!/bin/sh -x
(Btw this also works not only for #!/bin/sh
shebang but also for #!/bin/bash
shebang.)
-
Save.
-
Try to trigger this error again.
Command to dpkg finishing upgrades.
First one should work but if not try second one. Running both commands should be safe either way. Just in case run both commands.
sudo dpkg --configure -a
Or initramfs regeneration.
sudo update-initramfs -u
- Post the output of these commands here.