Linux image update (linux-headers-4.15.0-106) made Ubuntu 18.04 LTS unbootable

Asked by Samuraiwarm

Refer to https://askubuntu.com/questions/1248848/linux-image-update-linux-headers-4-15-0-106-made-ubuntu-18-04-lts-unbootable

Recently there was an update on the Linux image update from Livepatch, and requires restart. But after restart, I cannot boot my Ubuntu at all. My computer is dual boot with both Ubuntu and Windows, and I can open Grub, but when I select Ubuntu, my computer is stuck at Grub background.

I do have 3 other versions (101, 99, 65) of images able to be used, and I can use the older versions. However, when I use version 101 once and then restart, I cannot use version 101 anymore. Now I am at version 65, and have no plans to restart at all. When I select the latest corrupted version, the Grub screen is stuck at "Loading Linux 4.15.0-106-generic" and "Loading initial ramdisk ..."

I inspected the /boot, and saw that the 3 images (initrd.img-4.15.0-101-generic, 106, 99) are somehow altered that it is unbootable. Here is the log on /boot, and notice that initrd.img-4.15.0-x-generic is altered for 99, 101, 106 corresponding to reboot time, but 65 is still in the same condition.

```
samuraiwarm@samuraiwarm-ThinkPad-13:/boot$ ls -la
total 303380
drwxr-xr-x 4 root root 4096 Jun 10 18:23 .
drwxr-xr-x 29 root root 4096 Jun 10 17:02 ..
-rw-r--r-- 1 root root 217449 May 11 16:08 config-4.15.0-101-generic
-rw-r--r-- 1 root root 217473 Jun 4 17:16 config-4.15.0-106-generic
-rw-r--r-- 1 root root 217362 Sep 17 2019 config-4.15.0-65-generic
-rw-r--r-- 1 root root 217458 Apr 23 01:31 config-4.15.0-99-generic
drwx------ 5 root root 4096 Jan 1 1970 efi
drwxr-xr-x 6 root root 4096 Jun 10 18:37 grub
-rw-r--r-- 1 root root 64862602 Jun 10 17:03 initrd.img-4.15.0-101-generic
-rw-r--r-- 1 root root 64877796 Jun 10 17:03 initrd.img-4.15.0-106-generic
-rw-r--r-- 1 root root 64780759 May 7 16:38 initrd.img-4.15.0-65-generic
-rw-r--r-- 1 root root 64853590 Jun 10 18:23 initrd.img-4.15.0-99-generic
-rw-r--r-- 1 root root 182704 Jan 28 2016 memtest86+.bin
-rw-r--r-- 1 root root 184380 Jan 28 2016 memtest86+.elf
-rw-r--r-- 1 root root 184840 Jan 28 2016 memtest86+_multiboot.bin
-rw------- 1 root root 4072495 May 11 16:08 System.map-4.15.0-101-generic
-rw------- 1 root root 4073353 Jun 4 17:16 System.map-4.15.0-106-generic
-rw------- 1 root root 4064177 Sep 17 2019 System.map-4.15.0-65-generic
-rw------- 1 root root 4071696 Apr 23 01:31 System.map-4.15.0-99-generic
-rw------- 1 root root 8380064 May 11 16:14 vmlinuz-4.15.0-101-generic
-rw------- 1 root root 8380064 Jun 4 17:29 vmlinuz-4.15.0-106-generic
-rw------- 1 root root 8359576 Sep 17 2019 vmlinuz-4.15.0-65-generic
-rw------- 1 root root 8380056 Apr 23 01:32 vmlinuz-4.15.0-99-generic
```

And here is an update log right before the unbootable problem in `/var/log/apt/history.log`
```
Start-Date: 2020-06-10 17:02:10
Commandline: aptdaemon role='role-commit-packages' sender=':1.163'
Install: linux-headers-4.15.0-106-generic:amd64 (4.15.0-106.107, automatic), linux-modules-4.15.0-106-generic:amd64 (4.15.0-106.107, automatic), linux-image-4.15.0-106-generic:amd64 (4.15.0-106.107, automatic), linux-modules-extra-4.15.0-106-generic:amd64 (4.15.0-106.107, automatic), linux-headers-4.15.0-106:amd64 (4.15.0-106.107, automatic)
Upgrade: libjpeg-turbo-progs:amd64 (1.5.2-0ubuntu5.18.04.3, 1.5.2-0ubuntu5.18.04.4), intel-microcode:amd64 (3.20191115.1ubuntu0.18.04.2, 3.20200609.0ubuntu0.18.04.0), linux-headers-generic:amd64 (4.15.0.101.91, 4.15.0.106.94), linux-libc-dev:amd64 (4.15.0-101.102, 4.15.0-106.107), linux-libc-dev:i386 (4.15.0-101.102, 4.15.0-106.107), linux-image-generic:amd64 (4.15.0.101.91, 4.15.0.106.94), linux-signed-generic:amd64 (4.15.0.101.91, 4.15.0.106.94), libjpeg-turbo8:amd64 (1.5.2-0ubuntu5.18.04.3, 1.5.2-0ubuntu5.18.04.4), libjpeg-turbo8:i386 (1.5.2-0ubuntu5.18.04.3, 1.5.2-0ubuntu5.18.04.4), linux-generic:amd64 (4.15.0.101.91, 4.15.0.106.94)
End-Date: 2020-06-10 17:03:25
```

Summary - there are 2 major issues; initrd.img-4.15.0-106-generic is update corrupts, and using other images also corrupts the image on reboot.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug

Revision history for this message
Kai Kasurinen (kai-kasurinen) said :
#2
Revision history for this message
Kai Kasurinen (kai-kasurinen) said :
#3

"To bypass the microcode update during system startup, you must instruct the
boot loader (grub, lilo, etc) to pass the "dis_ucode_ldr" parameter
(without the quotes) to the kernel."
(source: /usr/share/doc/intel-microcode/README.Debian.gz)

Can you help with this problem?

Provide an answer of your own, or ask Samuraiwarm for more information if necessary.

To post a message you must log in.