= focal verification = The verification steps required some tweaking to get them to work on focal. Where divergences were required, I've noted them with a "**Note**" below. == Test 1 == ubuntu@ubuntu:~$ sudo apt install -y shim-signed Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed grub2-common os-prober shim Suggested packages: multiboot-doc grub-emu xorriso desktop-base The following NEW packages will be installed: grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed grub2-common os-prober shim shim-signed 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded. Need to get 4597 kB of archives. After this operation, 32.5 MB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 grub-common amd64 2.04-1ubuntu26 [1853 kB] Get:2 http://archive.ubuntu.com/ubuntu focal/main amd64 grub-efi-amd64-bin amd64 2.04-1ubuntu26 [702 kB] Get:3 http://archive.ubuntu.com/ubuntu focal/main amd64 grub2-common amd64 2.04-1ubuntu26 [589 kB] Get:4 http://archive.ubuntu.com/ubuntu focal/main amd64 grub-efi-amd64 amd64 2.04-1ubuntu26 [46.6 kB] Get:5 http://archive.ubuntu.com/ubuntu focal/main amd64 grub-efi-amd64-signed amd64 1.142+2.04-1ubuntu26 [468 kB] Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 os-prober amd64 1.74ubuntu2 [20.1 kB] Get:7 http://archive.ubuntu.com/ubuntu focal/main amd64 shim amd64 15+1533136590.3beb971-0ubuntu1 [575 kB] Get:8 http://archive.ubuntu.com/ubuntu focal/main amd64 shim-signed amd64 1.40.3+15+1533136590.3beb971-0ubuntu1 [344 kB] Fetched 4597 kB in 0s (13.3 MB/s) Preconfiguring packages ... Selecting previously unselected package grub-common. (Reading database ... 63129 files and directories currently installed.) Preparing to unpack .../0-grub-common_2.04-1ubuntu26_amd64.deb ... Unpacking grub-common (2.04-1ubuntu26) ... Selecting previously unselected package grub-efi-amd64-bin. Preparing to unpack .../1-grub-efi-amd64-bin_2.04-1ubuntu26_amd64.deb ... Unpacking grub-efi-amd64-bin (2.04-1ubuntu26) ... Selecting previously unselected package grub2-common. Preparing to unpack .../2-grub2-common_2.04-1ubuntu26_amd64.deb ... Unpacking grub2-common (2.04-1ubuntu26) ... Selecting previously unselected package grub-efi-amd64. Preparing to unpack .../3-grub-efi-amd64_2.04-1ubuntu26_amd64.deb ... Unpacking grub-efi-amd64 (2.04-1ubuntu26) ... Selecting previously unselected package grub-efi-amd64-signed. Preparing to unpack .../4-grub-efi-amd64-signed_1.142+2.04-1ubuntu26_amd64.deb ... Unpacking grub-efi-amd64-signed (1.142+2.04-1ubuntu26) ... Selecting previously unselected package os-prober. Preparing to unpack .../5-os-prober_1.74ubuntu2_amd64.deb ... Unpacking os-prober (1.74ubuntu2) ... Selecting previously unselected package shim. Preparing to unpack .../6-shim_15+1533136590.3beb971-0ubuntu1_amd64.deb ... Unpacking shim (15+1533136590.3beb971-0ubuntu1) ... Selecting previously unselected package shim-signed. Preparing to unpack .../7-shim-signed_1.40.3+15+1533136590.3beb971-0ubuntu1_amd64.deb ... Unpacking shim-signed (1.40.3+15+1533136590.3beb971-0ubuntu1) ... Setting up shim (15+1533136590.3beb971-0ubuntu1) ... Setting up grub-common (2.04-1ubuntu26) ... Created symlink /etc/systemd/system/multi-user.target.wants/grub-initrd-fallback.service → / lib/systemd/system/grub-initrd-fallback.service. Created symlink /etc/systemd/system/rescue.target.wants/grub-initrd-fallback.service → /lib/ systemd/system/grub-initrd-fallback.service. Created symlink /etc/systemd/system/emergency.target.wants/grub-initrd-fallback.service → /l ib/systemd/system/grub-initrd-fallback.service. update-rc.d: warning: start and stop actions are no longer supported; falling back to defaul ts Setting up os-prober (1.74ubuntu2) ... Setting up grub-efi-amd64-bin (2.04-1ubuntu26) ... Setting up grub2-common (2.04-1ubuntu26) ... Setting up grub-efi-amd64 (2.04-1ubuntu26) ... Creating config file /etc/default/grub with new version Trying to migrate /boot/efi into esp config Unknown device "/dev/disk/by-id/*": No such file or directory Installing grub to /boot/efi. Installing for x86_64-efi platform. Installation finished. No error reported. Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.4.0-135-generic Found initrd image: /boot/initrd.img-5.4.0-135-generic Adding boot menu entry for UEFI Firmware Settings done Setting up grub-efi-amd64-signed (1.142+2.04-1ubuntu26) ... Unknown device "/dev/disk/by-id/*": No such file or directory Installing grub to /boot/efi. Installing for x86_64-efi platform. Installation finished. No error reported. Setting up shim-signed (1.40.3+15+1533136590.3beb971-0ubuntu1) ... Unknown device "/dev/disk/by-id/*": No such file or directory Installing grub to /boot/efi. Installing for x86_64-efi platform. Installation finished. No error reported. Processing triggers for systemd (245.4-4ubuntu3.19) ... Processing triggers for man-db (2.9.1-1) ... Processing triggers for install-info (6.7.0.dfsg.2-5) ... ubuntu@ubuntu:~$ sudo ln -s focal-updates.list.disabled /etc/apt/sources.list.d/focal-updates.list ubuntu@ubuntu:~$ sudo ln -s focal-proposed.list.disabled /etc/apt/sources.list.d/focal-proposed.list ubuntu@ubuntu:~$ sudo apt update Get:1 http://archive.ubuntu.com/ubuntu focal-proposed InRelease [267 kB] Get:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB] Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease Get:4 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages [254 kB] Get:5 http://archive.ubuntu.com/ubuntu focal-proposed/main Translation-en [57.8 kB] Get:6 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 c-n-f Metadata [2200 B] Get:7 http://archive.ubuntu.com/ubuntu focal-proposed/restricted amd64 Packages [313 kB] Get:8 http://archive.ubuntu.com/ubuntu focal-proposed/restricted Translation-en [44.0 kB] Get:9 http://archive.ubuntu.com/ubuntu focal-proposed/restricted amd64 c-n-f Metadata [348 B] Get:10 http://archive.ubuntu.com/ubuntu focal-proposed/universe amd64 Packages [61.1 kB] Get:11 http://archive.ubuntu.com/ubuntu focal-proposed/universe Translation-en [27.5 kB] Get:12 http://archive.ubuntu.com/ubuntu focal-proposed/universe amd64 c-n-f Metadata [2532 B] Get:13 http://archive.ubuntu.com/ubuntu focal-proposed/multiverse amd64 Packages [1440 B] Get:14 http://archive.ubuntu.com/ubuntu focal-proposed/multiverse Translation-en [3732 B] Get:15 http://archive.ubuntu.com/ubuntu focal-proposed/multiverse amd64 c-n-f Metadata [204 B] Get:16 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [2300 kB] Get:17 http://archive.ubuntu.com/ubuntu focal-updates/main Translation-en [398 kB] Get:18 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [16.1 kB] Get:19 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [1503 kB] Get:20 http://archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [212 kB] Get:21 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 c-n-f Metadata [616 B] Get:22 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1011 kB] Get:23 http://archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [234 kB] Get:24 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [23.2 kB] Get:25 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [25.2 kB] Get:26 http://archive.ubuntu.com/ubuntu focal-updates/multiverse Translation-en [7408 B] Get:27 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [604 B] Fetched 6880 kB in 3s (1982 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done 43 packages can be upgraded. Run 'apt list --upgradable' to see them. ubuntu@ubuntu:~$ sudo apt dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following package was automatically installed and is no longer required: shim Use 'sudo apt autoremove' to remove it. # # News about significant security updates, features and services will # appear here to raise awareness and perhaps tease /r/Linux ;) # Use 'pro config set apt_news=false' to hide this and future APT news. # The following NEW packages will be installed: linux-headers-5.4.0-136 linux-headers-5.4.0-136-generic linux-image-5.4.0-136-generic linux-modules-5.4.0-136-generic The following packages will be upgraded: apparmor bolt dmeventd dmsetup fwupd grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed grub2-common iputils-ping iputils-tracepath libapparmor1 libdevmapper-event1.02.1 libdevmapper1.02.1 libdrm-common libdrm2 libfwupd2 libfwupdplugin5 liblvm2cmd2.03 libunwind8 libx11-6 libx11-data linux-headers-generic linux-headers-virtual linux-image-virtual linux-virtual lvm2 open-vm-tools openssh-client openssh-server openssh-sftp-server python-apt-common python3-apt secureboot-db shim shim-signed update-notifier-common vim vim-common vim-runtime vim-tiny xxd 43 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 60.0 MB of archives. After this operation, 183 MB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 python-apt-common all 2.0.1 [17.0 kB] Get:2 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 python3-apt amd64 2.0.1 [154 kB] Get:3 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 update-notifier-common all 3.192.30.14 [174 kB] Get:4 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 libdrm-common all 2.4.110-1ubuntu1~20.04.1 [5348 B] Get:5 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 libdrm2 amd64 2.4.110-1ubuntu1~20.04.1 [34.8 kB] Get:6 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 open-vm-tools amd64 2:11.3.0-2ubuntu0~ubuntu20.04.4 [647 kB] Get:7 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 libdevmapper1.02.1 amd64 2:1.02.167-1ubuntu1.1 [127 kB] Get:8 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 dmsetup amd64 2:1.02.167-1ubuntu1.1 [75.4 kB] Get:9 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 iputils-ping amd64 3:20190709-3ubuntu1 [40.0 kB] Get:10 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 libapparmor1 amd64 2.13.3-7ubuntu5.2 [35.4 kB] Get:11 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 vim amd64 2:8.1.2269-1ubuntu5.10 [1238 kB] Get:12 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 vim-tiny amd64 2:8.1.2269-1ubuntu5.10 [578 kB] Get:13 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 vim-runtime all 2:8.1.2269-1ubuntu5.10 [5874 kB] Get:14 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 xxd amd64 2:8.1.2269-1ubuntu5.10 [50.0 kB] Get:15 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 vim-common all 2:8.1.2269-1ubuntu5.10 [85.0 kB] Get:16 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 apparmor amd64 2.13.3-7ubuntu5.2 [502 kB] Get:17 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 iputils-tracepath amd64 3:20190709-3ubuntu1 [20.1 kB] Get:18 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 libx11-data all 2:1.6.9-2ubuntu1.3 [113 kB] Get:19 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 libx11-6 amd64 2:1.6.9-2ubuntu1.3 [577 kB] Get:20 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 openssh-sftp-server amd64 1:8.2p1-4ubuntu0.6 [51.4 kB] Get:21 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 openssh-server amd64 1:8.2p1-4ubuntu0.6 [377 kB] Get:22 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 openssh-client amd64 1:8.2p1-4ubuntu0.6 [672 kB] Get:23 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 bolt amd64 0.9.1-2~ubuntu20.04.2 [143 kB] Get:24 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 libdevmapper-event1.02.1 amd64 2:1.02.167-1ubuntu1.1 [11.9 kB] Get:25 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 liblvm2cmd2.03 amd64 2.03.07-1ubuntu1.1 [672 kB] Get:26 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 dmeventd amd64 2:1.02.167-1ubuntu1.1 [35.1 kB] Get:27 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 fwupd amd64 1.7.9-1~20.04.2 [2454 kB] Get:28 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 libfwupdplugin5 amd64 1.7.9-1~20.04.2 [170 kB] Get:29 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 libfwupd2 amd64 1.7.9-1~20.04.2 [91.9 kB] Get:30 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub-efi-amd64-signed amd64 1.173.4+2.04-1ubuntu47.5 [1333 kB] Get:31 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub-efi-amd64 amd64 2.04-1ubuntu47.5 [47.1 kB] Get:32 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub2-common amd64 2.04-1ubuntu26.16 [590 kB] Get:33 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub-efi-amd64-bin amd64 2.04-1ubuntu47.5 [1584 kB] Get:34 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub-common amd64 2.04-1ubuntu26.16 [1878 kB] Get:35 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 libunwind8 amd64 1.2.1-9ubuntu0.1 [47.7 kB] Get:36 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 linux-headers-5.4.0-136 all 5.4.0-136.153 [11.0 MB] Get:37 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 linux-headers-5.4.0-136-generic amd64 5.4.0-136.153 [1403 kB] Get:38 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 linux-modules-5.4.0-136-generic amd64 5.4.0-136.153 [15.0 MB] Get:39 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 linux-image-5.4.0-136-generic amd64 5.4.0-136.153 [10.5 MB] Get:40 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 linux-virtual amd64 5.4.0.136.134 [1876 B] Get:41 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 linux-image-virtual amd64 5.4.0.136.134 [2484 B] Get:42 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 linux-headers-virtual amd64 5.4.0.136.134 [1840 B] Get:43 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 linux-headers-generic amd64 5.4.0.136.134 [2384 B] Get:44 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 lvm2 amd64 2.03.07-1ubuntu1.1 [1052 kB] Get:45 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 secureboot-db amd64 1.6~20.04.1 [14.2 kB] Get:46 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 shim amd64 15.4-0ubuntu9 [12.7 kB] Get:47 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 shim-signed amd64 1.40.7+15.4-0ubuntu9 [448 kB] Fetched 60.0 MB in 4s (16.8 MB/s) Extracting templates from packages: 100% Preconfiguring packages ... (Reading database ... 63611 files and directories currently installed.) Preparing to unpack .../00-python-apt-common_2.0.1_all.deb ... Unpacking python-apt-common (2.0.1) over (2.0.0ubuntu0.20.04.8) ... Preparing to unpack .../01-python3-apt_2.0.1_amd64.deb ... Unpacking python3-apt (2.0.1) over (2.0.0ubuntu0.20.04.8) ... Preparing to unpack .../02-update-notifier-common_3.192.30.14_all.deb ... Unpacking update-notifier-common (3.192.30.14) over (3.192.30.11) ... Preparing to unpack .../03-libdrm-common_2.4.110-1ubuntu1~20.04.1_all.deb ... Unpacking libdrm-common (2.4.110-1ubuntu1~20.04.1) over (2.4.107-8ubuntu1~20.04.2) ... Preparing to unpack .../04-libdrm2_2.4.110-1ubuntu1~20.04.1_amd64.deb ... Unpacking libdrm2:amd64 (2.4.110-1ubuntu1~20.04.1) over (2.4.107-8ubuntu1~20.04.2) ... Preparing to unpack .../05-open-vm-tools_2%3a11.3.0-2ubuntu0~ubuntu20.04.4_amd64.deb ... Unpacking open-vm-tools (2:11.3.0-2ubuntu0~ubuntu20.04.4) over (2:11.3.0-2ubuntu0~ubuntu20.0 4.3) ... Preparing to unpack .../06-libdevmapper1.02.1_2%3a1.02.167-1ubuntu1.1_amd64.deb ... Unpacking libdevmapper1.02.1:amd64 (2:1.02.167-1ubuntu1.1) over (2:1.02.167-1ubuntu1) ... Preparing to unpack .../07-dmsetup_2%3a1.02.167-1ubuntu1.1_amd64.deb ... Unpacking dmsetup (2:1.02.167-1ubuntu1.1) over (2:1.02.167-1ubuntu1) ... Preparing to unpack .../08-iputils-ping_3%3a20190709-3ubuntu1_amd64.deb ... Unpacking iputils-ping (3:20190709-3ubuntu1) over (3:20190709-3) ... Preparing to unpack .../09-libapparmor1_2.13.3-7ubuntu5.2_amd64.deb ... Unpacking libapparmor1:amd64 (2.13.3-7ubuntu5.2) over (2.13.3-7ubuntu5.1) ... Preparing to unpack .../10-vim_2%3a8.1.2269-1ubuntu5.10_amd64.deb ... Unpacking vim (2:8.1.2269-1ubuntu5.10) over (2:8.1.2269-1ubuntu5.9) ... Preparing to unpack .../11-vim-tiny_2%3a8.1.2269-1ubuntu5.10_amd64.deb ... Unpacking vim-tiny (2:8.1.2269-1ubuntu5.10) over (2:8.1.2269-1ubuntu5.9) ... Preparing to unpack .../12-vim-runtime_2%3a8.1.2269-1ubuntu5.10_all.deb ... Unpacking vim-runtime (2:8.1.2269-1ubuntu5.10) over (2:8.1.2269-1ubuntu5.9) ... Preparing to unpack .../13-xxd_2%3a8.1.2269-1ubuntu5.10_amd64.deb ... Unpacking xxd (2:8.1.2269-1ubuntu5.10) over (2:8.1.2269-1ubuntu5.9) ... Preparing to unpack .../14-vim-common_2%3a8.1.2269-1ubuntu5.10_all.deb ... Unpacking vim-common (2:8.1.2269-1ubuntu5.10) over (2:8.1.2269-1ubuntu5.9) ... Preparing to unpack .../15-apparmor_2.13.3-7ubuntu5.2_amd64.deb ... Unpacking apparmor (2.13.3-7ubuntu5.2) over (2.13.3-7ubuntu5.1) ... Preparing to unpack .../16-iputils-tracepath_3%3a20190709-3ubuntu1_amd64.deb ... Unpacking iputils-tracepath (3:20190709-3ubuntu1) over (3:20190709-3) ... Preparing to unpack .../17-libx11-data_2%3a1.6.9-2ubuntu1.3_all.deb ... Unpacking libx11-data (2:1.6.9-2ubuntu1.3) over (2:1.6.9-2ubuntu1.2) ... Preparing to unpack .../18-libx11-6_2%3a1.6.9-2ubuntu1.3_amd64.deb ... Unpacking libx11-6:amd64 (2:1.6.9-2ubuntu1.3) over (2:1.6.9-2ubuntu1.2) ... Preparing to unpack .../19-openssh-sftp-server_1%3a8.2p1-4ubuntu0.6_amd64.deb ... Unpacking openssh-sftp-server (1:8.2p1-4ubuntu0.6) over (1:8.2p1-4ubuntu0.5) ... Preparing to unpack .../20-openssh-server_1%3a8.2p1-4ubuntu0.6_amd64.deb ... Unpacking openssh-server (1:8.2p1-4ubuntu0.6) over (1:8.2p1-4ubuntu0.5) ... Preparing to unpack .../21-openssh-client_1%3a8.2p1-4ubuntu0.6_amd64.deb ... Unpacking openssh-client (1:8.2p1-4ubuntu0.6) over (1:8.2p1-4ubuntu0.5) ... Preparing to unpack .../22-bolt_0.9.1-2~ubuntu20.04.2_amd64.deb ... Unpacking bolt (0.9.1-2~ubuntu20.04.2) over (0.9.1-2~ubuntu20.04.1) ... Preparing to unpack .../23-libdevmapper-event1.02.1_2%3a1.02.167-1ubuntu1.1_amd64.deb ... Unpacking libdevmapper-event1.02.1:amd64 (2:1.02.167-1ubuntu1.1) over (2:1.02.167-1ubuntu1) ... Preparing to unpack .../24-liblvm2cmd2.03_2.03.07-1ubuntu1.1_amd64.deb ... Unpacking liblvm2cmd2.03:amd64 (2.03.07-1ubuntu1.1) over (2.03.07-1ubuntu1) ... Preparing to unpack .../25-dmeventd_2%3a1.02.167-1ubuntu1.1_amd64.deb ... Unpacking dmeventd (2:1.02.167-1ubuntu1.1) over (2:1.02.167-1ubuntu1) ... Preparing to unpack .../26-fwupd_1.7.9-1~20.04.2_amd64.deb ... Unpacking fwupd (1.7.9-1~20.04.2) over (1.7.9-1~20.04.1) ... Preparing to unpack .../27-libfwupdplugin5_1.7.9-1~20.04.2_amd64.deb ... Unpacking libfwupdplugin5:amd64 (1.7.9-1~20.04.2) over (1.7.9-1~20.04.1) ... Preparing to unpack .../28-libfwupd2_1.7.9-1~20.04.2_amd64.deb ... Unpacking libfwupd2:amd64 (1.7.9-1~20.04.2) over (1.7.9-1~20.04.1) ... Preparing to unpack .../29-grub-efi-amd64-signed_1.173.4+2.04-1ubuntu47.5_amd64.deb ... Unpacking grub-efi-amd64-signed (1.173.4+2.04-1ubuntu47.5) over (1.142+2.04-1ubuntu26) ... Preparing to unpack .../30-grub-efi-amd64_2.04-1ubuntu47.5_amd64.deb ... Unpacking grub-efi-amd64 (2.04-1ubuntu47.5) over (2.04-1ubuntu26) ... Preparing to unpack .../31-grub2-common_2.04-1ubuntu26.16_amd64.deb ... Unpacking grub2-common (2.04-1ubuntu26.16) over (2.04-1ubuntu26) ... Preparing to unpack .../32-grub-efi-amd64-bin_2.04-1ubuntu47.5_amd64.deb ... Unpacking grub-efi-amd64-bin (2.04-1ubuntu47.5) over (2.04-1ubuntu26) ... Preparing to unpack .../33-grub-common_2.04-1ubuntu26.16_amd64.deb ... Unpacking grub-common (2.04-1ubuntu26.16) over (2.04-1ubuntu26) ... Preparing to unpack .../34-libunwind8_1.2.1-9ubuntu0.1_amd64.deb ... Unpacking libunwind8:amd64 (1.2.1-9ubuntu0.1) over (1.2.1-9build1) ... Selecting previously unselected package linux-headers-5.4.0-136. Preparing to unpack .../35-linux-headers-5.4.0-136_5.4.0-136.153_all.deb ... Unpacking linux-headers-5.4.0-136 (5.4.0-136.153) ... Selecting previously unselected package linux-headers-5.4.0-136-generic. Preparing to unpack .../36-linux-headers-5.4.0-136-generic_5.4.0-136.153_amd64.deb ... Unpacking linux-headers-5.4.0-136-generic (5.4.0-136.153) ... Selecting previously unselected package linux-modules-5.4.0-136-generic. Preparing to unpack .../37-linux-modules-5.4.0-136-generic_5.4.0-136.153_amd64.deb ... Unpacking linux-modules-5.4.0-136-generic (5.4.0-136.153) ... Selecting previously unselected package linux-image-5.4.0-136-generic. Preparing to unpack .../38-linux-image-5.4.0-136-generic_5.4.0-136.153_amd64.deb ... Unpacking linux-image-5.4.0-136-generic (5.4.0-136.153) ... Preparing to unpack .../39-linux-virtual_5.4.0.136.134_amd64.deb ... Unpacking linux-virtual (5.4.0.136.134) over (5.4.0.135.133) ... Preparing to unpack .../40-linux-image-virtual_5.4.0.136.134_amd64.deb ... Unpacking linux-image-virtual (5.4.0.136.134) over (5.4.0.135.133) ... Preparing to unpack .../41-linux-headers-virtual_5.4.0.136.134_amd64.deb ... Unpacking linux-headers-virtual (5.4.0.136.134) over (5.4.0.135.133) ... Preparing to unpack .../42-linux-headers-generic_5.4.0.136.134_amd64.deb ... Unpacking linux-headers-generic (5.4.0.136.134) over (5.4.0.135.133) ... Preparing to unpack .../43-lvm2_2.03.07-1ubuntu1.1_amd64.deb ... Unpacking lvm2 (2.03.07-1ubuntu1.1) over (2.03.07-1ubuntu1) ... Preparing to unpack .../44-secureboot-db_1.6~20.04.1_amd64.deb ... Unpacking secureboot-db (1.6~20.04.1) over (1.5) ... Preparing to unpack .../45-shim_15.4-0ubuntu9_amd64.deb ... Unpacking shim (15.4-0ubuntu9) over (15+1533136590.3beb971-0ubuntu1) ... Preparing to unpack .../46-shim-signed_1.40.7+15.4-0ubuntu9_amd64.deb ... Unpacking shim-signed (1.40.7+15.4-0ubuntu9) over (1.40.3+15+1533136590.3beb971-0ubuntu1) .. . Setting up libapparmor1:amd64 (2.13.3-7ubuntu5.2) ... Setting up openssh-client (1:8.2p1-4ubuntu0.6) ... Setting up libfwupd2:amd64 (1.7.9-1~20.04.2) ... Setting up shim (15.4-0ubuntu9) ... Setting up secureboot-db (1.6~20.04.1) ... Setting up libunwind8:amd64 (1.2.1-9ubuntu0.1) ... Setting up xxd (2:8.1.2269-1ubuntu5.10) ... Setting up apparmor (2.13.3-7ubuntu5.2) ... Installing new version of config file /etc/apparmor/parser.conf ... Reloading AppArmor profiles Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd Setting up vim-common (2:8.1.2269-1ubuntu5.10) ... Setting up libx11-data (2:1.6.9-2ubuntu1.3) ... Setting up linux-modules-5.4.0-136-generic (5.4.0-136.153) ... Setting up libdevmapper1.02.1:amd64 (2:1.02.167-1ubuntu1.1) ... Setting up python-apt-common (2.0.1) ... Setting up dmsetup (2:1.02.167-1ubuntu1.1) ... update-initramfs: deferring update (trigger activated) Setting up libx11-6:amd64 (2:1.6.9-2ubuntu1.3) ... Setting up linux-headers-5.4.0-136 (5.4.0-136.153) ... Setting up vim-runtime (2:8.1.2269-1ubuntu5.10) ... Setting up linux-image-5.4.0-136-generic (5.4.0-136.153) ... I: /boot/vmlinuz is now a symlink to vmlinuz-5.4.0-136-generic I: /boot/initrd.img is now a symlink to initrd.img-5.4.0-136-generic Setting up libfwupdplugin5:amd64 (1.7.9-1~20.04.2) ... Setting up libdrm-common (2.4.110-1ubuntu1~20.04.1) ... Setting up iputils-ping (3:20190709-3ubuntu1) ... Setting up fwupd (1.7.9-1~20.04.2) ... fwupd-offline-update.service is a disabled or a static unit not running, not starting it. fwupd-refresh.service is a disabled or a static unit not running, not starting it. fwupd.service is a disabled or a static unit not running, not starting it. Setting up iputils-tracepath (3:20190709-3ubuntu1) ... Setting up bolt (0.9.1-2~ubuntu20.04.2) ... bolt.service is a disabled or a static unit not running, not starting it. Setting up openssh-sftp-server (1:8.2p1-4ubuntu0.6) ... Setting up vim (2:8.1.2269-1ubuntu5.10) ... Setting up libdevmapper-event1.02.1:amd64 (2:1.02.167-1ubuntu1.1) ... Setting up openssh-server (1:8.2p1-4ubuntu0.6) ... rescue-ssh.target is a disabled or a static unit, not starting it. Setting up python3-apt (2.0.1) ... Setting up update-notifier-common (3.192.30.14) ... Setting up vim-tiny (2:8.1.2269-1ubuntu5.10) ... Setting up grub-common (2.04-1ubuntu26.16) ... Installing new version of config file /etc/grub.d/10_linux ... Installing new version of config file /etc/grub.d/10_linux_zfs ... Created symlink /etc/systemd/system/multi-user.target.wants/grub-common.service → /lib/syste md/system/grub-common.service. Created symlink /etc/systemd/system/sleep.target.wants/grub-common.service → /lib/systemd/sy stem/grub-common.service. update-rc.d: warning: start and stop actions are no longer supported; falling back to defaul ts Setting up linux-headers-5.4.0-136-generic (5.4.0-136.153) ... Setting up libdrm2:amd64 (2.4.110-1ubuntu1~20.04.1) ... Setting up open-vm-tools (2:11.3.0-2ubuntu0~ubuntu20.04.4) ... Setting up linux-image-virtual (5.4.0.136.134) ... Setting up grub-efi-amd64-bin (2.04-1ubuntu47.5) ... Setting up grub2-common (2.04-1ubuntu26.16) ... Setting up linux-headers-generic (5.4.0.136.134) ... Setting up grub-efi-amd64 (2.04-1ubuntu47.5) ... Unknown device "/dev/disk/by-id/*": No such file or directory Installing grub to /boot/efi. Installing for x86_64-efi platform. Installation finished. No error reported. Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.4.0-136-generic Found linux image: /boot/vmlinuz-5.4.0-135-generic Found initrd image: /boot/initrd.img-5.4.0-135-generic Adding boot menu entry for UEFI Firmware Settings done Setting up linux-headers-virtual (5.4.0.136.134) ... Setting up grub-efi-amd64-signed (1.173.4+2.04-1ubuntu47.5) ... Unknown device "/dev/disk/by-id/*": No such file or directory Installing grub to /boot/efi. Installing for x86_64-efi platform. Installation finished. No error reported. Setting up shim-signed (1.40.7+15.4-0ubuntu9) ... Unknown device "/dev/disk/by-id/*": No such file or directory Installing grub to /boot/efi. Installing for x86_64-efi platform. Installation finished. No error reported. Setting up linux-virtual (5.4.0.136.134) ... Setting up liblvm2cmd2.03:amd64 (2.03.07-1ubuntu1.1) ... Setting up dmeventd (2:1.02.167-1ubuntu1.1) ... dm-event.service is a disabled or a static unit not running, not starting it. Setting up lvm2 (2.03.07-1ubuntu1.1) ... update-initramfs: deferring update (trigger activated) Processing triggers for dbus (1.12.16-2ubuntu2.3) ... Processing triggers for install-info (6.7.0.dfsg.2-5) ... Processing triggers for mime-support (3.64ubuntu1) ... Processing triggers for libc-bin (2.31-0ubuntu9.9) ... Processing triggers for ufw (0.36-6ubuntu1) ... Processing triggers for systemd (245.4-4ubuntu3.19) ... Processing triggers for man-db (2.9.1-1) ... Processing triggers for initramfs-tools (0.136ubuntu6.7) ... update-initramfs: Generating /boot/initrd.img-5.4.0-135-generic Processing triggers for linux-image-5.4.0-136-generic (5.4.0-136.153) ... /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-5.4.0-136-generic /etc/kernel/postinst.d/zz-update-grub: Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.4.0-136-generic Found initrd image: /boot/initrd.img-5.4.0-136-generic Found linux image: /boot/vmlinuz-5.4.0-135-generic Found initrd image: /boot/initrd.img-5.4.0-135-generic Adding boot menu entry for UEFI Firmware Settings done ubuntu@ubuntu:~$ ls -l /etc/kernel/postinst.d/zz-update-grub -rwxr-xr-x 1 root root 646 Apr 15 2020 /etc/kernel/postinst.d/zz-update-grub == Test 2 == ubuntu@ubuntu:~$ dpkg -l | grep -e grub -e shim ubuntu@ubuntu:~$ sudo ln -s focal-updates.list.disabled /etc/apt/sources.list.d/focal-updates.list ubuntu@ubuntu:~$ sudo apt update Get:1 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB] Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [2300 kB] Get:4 http://archive.ubuntu.com/ubuntu focal-updates/main Translation-en [398 kB] Get:5 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [16.1 kB] Get:6 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [1503 kB] Get:7 http://archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [212 kB] Get:8 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 c-n-f Metadata [616 B] Get:9 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1011 kB] Get:10 http://archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [234 kB] Get:11 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [23.2 kB] Get:12 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [25.2 kB] Get:13 http://archive.ubuntu.com/ubuntu focal-updates/multiverse Translation-en [7408 B] Get:14 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [604 B] Fetched 5845 kB in 3s (1782 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. ubuntu@ubuntu:~$ sudo apt install shim-signed -y Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed grub2-common os-prober Suggested packages: multiboot-doc grub-emu xorriso desktop-base The following NEW packages will be installed: grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed grub2-common os-prober shim-signed 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. Need to get 4194 kB of archives. After this operation, 31.6 MB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 grub-common amd64 2.04-1ubuntu26.15 [1875 kB] Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 grub-efi-amd64-bin amd64 2.04-1ubuntu47.4 [730 kB] Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 grub2-common amd64 2.04-1ubuntu26.15 [592 kB] Get:4 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 grub-efi-amd64 amd64 2.04-1ubuntu47.4 [47.0 kB] Get:5 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 grub-efi-amd64-signed amd64 1.173.2~20.04.1+2.04-1ubuntu47.4 [483 kB] Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 os-prober amd64 1.74ubuntu2 [20.1 kB] Get:7 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 shim-signed amd64 1.40.7+15.4-0ubuntu9 [448 kB] Fetched 4194 kB in 0s (15.1 MB/s) Preconfiguring packages ... Selecting previously unselected package grub-common. (Reading database ... 94222 files and directories currently installed.) Preparing to unpack .../0-grub-common_2.04-1ubuntu26.15_amd64.deb ... Unpacking grub-common (2.04-1ubuntu26.15) ... Selecting previously unselected package grub-efi-amd64-bin. Preparing to unpack .../1-grub-efi-amd64-bin_2.04-1ubuntu47.4_amd64.deb ... Unpacking grub-efi-amd64-bin (2.04-1ubuntu47.4) ... Selecting previously unselected package grub2-common. Preparing to unpack .../2-grub2-common_2.04-1ubuntu26.15_amd64.deb ... Unpacking grub2-common (2.04-1ubuntu26.15) ... Selecting previously unselected package grub-efi-amd64. Preparing to unpack .../3-grub-efi-amd64_2.04-1ubuntu47.4_amd64.deb ... Unpacking grub-efi-amd64 (2.04-1ubuntu47.4) ... Selecting previously unselected package grub-efi-amd64-signed. Preparing to unpack .../4-grub-efi-amd64-signed_1.173.2~20.04.1+2.04-1ubuntu47.4_amd64.deb . .. Unpacking grub-efi-amd64-signed (1.173.2~20.04.1+2.04-1ubuntu47.4) ... Selecting previously unselected package os-prober. Preparing to unpack .../5-os-prober_1.74ubuntu2_amd64.deb ... Unpacking os-prober (1.74ubuntu2) ... Selecting previously unselected package shim-signed. Preparing to unpack .../6-shim-signed_1.40.7+15.4-0ubuntu9_amd64.deb ... Unpacking shim-signed (1.40.7+15.4-0ubuntu9) ... Setting up grub-common (2.04-1ubuntu26.15) ... Created symlink /etc/systemd/system/multi-user.target.wants/grub-common.service → /lib/syste md/system/grub-common.service. Created symlink /etc/systemd/system/sleep.target.wants/grub-common.service → /lib/systemd/sy stem/grub-common.service. Created symlink /etc/systemd/system/multi-user.target.wants/grub-initrd-fallback.service → / lib/systemd/system/grub-initrd-fallback.service. Created symlink /etc/systemd/system/rescue.target.wants/grub-initrd-fallback.service → /lib/ systemd/system/grub-initrd-fallback.service. Created symlink /etc/systemd/system/emergency.target.wants/grub-initrd-fallback.service → /l ib/systemd/system/grub-initrd-fallback.service. Created symlink /etc/systemd/system/sleep.target.wants/grub-initrd-fallback.service → /lib/s ystemd/system/grub-initrd-fallback.service. update-rc.d: warning: start and stop actions are no longer supported; falling back to defaul ts Setting up os-prober (1.74ubuntu2) ... Setting up grub-efi-amd64-bin (2.04-1ubuntu47.4) ... Setting up grub2-common (2.04-1ubuntu26.15) ... Setting up grub-efi-amd64 (2.04-1ubuntu47.4) ... Creating config file /etc/default/grub with new version Trying to migrate /boot/efi into esp config Unknown device "/dev/disk/by-id/*": No such file or directory Installing grub to /boot/efi. Installing for x86_64-efi platform. Installation finished. No error reported. Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.4.0-136-generic Found initrd image: /boot/initrd.img-5.4.0-136-generic Found linux image: /boot/vmlinuz-5.4.0-135-generic Found initrd image: /boot/initrd.img-5.4.0-135-generic Adding boot menu entry for UEFI Firmware Settings done Setting up grub-efi-amd64-signed (1.173.2~20.04.1+2.04-1ubuntu47.4) ... Unknown device "/dev/disk/by-id/*": No such file or directory Installing grub to /boot/efi. Installing for x86_64-efi platform. Installation finished. No error reported. Setting up shim-signed (1.40.7+15.4-0ubuntu9) ... Unknown device "/dev/disk/by-id/*": No such file or directory Installing grub to /boot/efi. Installing for x86_64-efi platform. Installation finished. No error reported. Processing triggers for systemd (245.4-4ubuntu3.19) ... Processing triggers for man-db (2.9.1-1) ... Processing triggers for install-info (6.7.0.dfsg.2-5) ... ubuntu@ubuntu:~$ sudo ln -s focal-proposed.list.disabled /etc/apt/sources.list.d/focal-proposed.list ubuntu@ubuntu:~$ sudo apt update Get:1 http://archive.ubuntu.com/ubuntu focal-proposed InRelease [267 kB] Hit:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease Get:4 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages [254 kB] Get:5 http://archive.ubuntu.com/ubuntu focal-proposed/main Translation-en [57.8 kB] Get:6 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 c-n-f Metadata [2200 B] Get:7 http://archive.ubuntu.com/ubuntu focal-proposed/restricted amd64 Packages [313 kB] Get:8 http://archive.ubuntu.com/ubuntu focal-proposed/restricted Translation-en [44.0 kB] Get:9 http://archive.ubuntu.com/ubuntu focal-proposed/restricted amd64 c-n-f Metadata [348 B] Get:10 http://archive.ubuntu.com/ubuntu focal-proposed/universe amd64 Packages [61.1 kB] Get:11 http://archive.ubuntu.com/ubuntu focal-proposed/universe Translation-en [27.5 kB] Get:12 http://archive.ubuntu.com/ubuntu focal-proposed/universe amd64 c-n-f Metadata [2532 B] Get:13 http://archive.ubuntu.com/ubuntu focal-proposed/multiverse amd64 Packages [1440 B] Get:14 http://archive.ubuntu.com/ubuntu focal-proposed/multiverse Translation-en [3732 B] Get:15 http://archive.ubuntu.com/ubuntu focal-proposed/multiverse amd64 c-n-f Metadata [204 B] Fetched 1035 kB in 2s (512 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done 5 packages can be upgraded. Run 'apt list --upgradable' to see them. ubuntu@ubuntu:~$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done # # News about significant security updates, features and services will # appear here to raise awareness and perhaps tease /r/Linux ;) # Use 'pro config set apt_news=false' to hide this and future APT news. # The following packages will be upgraded: grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed grub2-common 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 5433 kB of archives. After this operation, 4920 kB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub2-common amd64 2.04-1ubuntu26.16 [590 kB] Get:2 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub-common amd64 2.04-1ubuntu26.16 [1878 kB] Get:3 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub-efi-amd64 amd64 2.04-1ubuntu47.5 [47.1 kB] Get:4 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub-efi-amd64-signed amd64 1.173.4+2.04-1ubuntu47.5 [1333 kB] Get:5 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub-efi-amd64-bin amd64 2.04-1ubuntu47.5 [1584 kB] Fetched 5433 kB in 1s (4688 kB/s) Preconfiguring packages ... (Reading database ... 94706 files and directories currently installed.) Preparing to unpack .../grub2-common_2.04-1ubuntu26.16_amd64.deb ... Unpacking grub2-common (2.04-1ubuntu26.16) over (2.04-1ubuntu26.15) ... Preparing to unpack .../grub-common_2.04-1ubuntu26.16_amd64.deb ... Unpacking grub-common (2.04-1ubuntu26.16) over (2.04-1ubuntu26.15) ... Preparing to unpack .../grub-efi-amd64_2.04-1ubuntu47.5_amd64.deb ... Unpacking grub-efi-amd64 (2.04-1ubuntu47.5) over (2.04-1ubuntu47.4) ... Preparing to unpack .../grub-efi-amd64-signed_1.173.4+2.04-1ubuntu47.5_amd64.deb ... Unpacking grub-efi-amd64-signed (1.173.4+2.04-1ubuntu47.5) over (1.173.2~20.04.1+2.04-1ubunt u47.4) ... Preparing to unpack .../grub-efi-amd64-bin_2.04-1ubuntu47.5_amd64.deb ... Unpacking grub-efi-amd64-bin (2.04-1ubuntu47.5) over (2.04-1ubuntu47.4) ... Setting up grub-common (2.04-1ubuntu26.16) ... update-rc.d: warning: start and stop actions are no longer supported; falling back to defaul ts Setting up grub-efi-amd64-bin (2.04-1ubuntu47.5) ... Setting up grub2-common (2.04-1ubuntu26.16) ... Setting up grub-efi-amd64 (2.04-1ubuntu47.5) ... Unknown device "/dev/disk/by-id/*": No such file or directory Installing grub to /boot/efi. Installing for x86_64-efi platform. Installation finished. No error reported. Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.4.0-136-generic Found initrd image: /boot/initrd.img-5.4.0-136-generic Found linux image: /boot/vmlinuz-5.4.0-135-generic Found initrd image: /boot/initrd.img-5.4.0-135-generic Adding boot menu entry for UEFI Firmware Settings done Setting up grub-efi-amd64-signed (1.173.4+2.04-1ubuntu47.5) ... Unknown device "/dev/disk/by-id/*": No such file or directory Installing grub to /boot/efi. Installing for x86_64-efi platform. Installation finished. No error reported. Processing triggers for man-db (2.9.1-1) ... Processing triggers for install-info (6.7.0.dfsg.2-5) ... Processing triggers for systemd (245.4-4ubuntu3.19) ... Processing triggers for shim-signed (1.40.7+15.4-0ubuntu9) ... ubuntu@ubuntu:~$ ls -l /etc/kernel/postinst.d/zz-update-grub -rwxr-xr-x 1 root root 646 Jan 11 2022 /etc/kernel/postinst.d/zz-update-grub == Test 3 == ubuntu@ubuntu:~$ dpkg -l | grep -e grub -e shim ubuntu@ubuntu:~$ sudo ln -s focal-updates.list.disabled /etc/apt/sources.list.d/focal-updates.list ubuntu@ubuntu:~$ sudo ln -s focal-proposed.list.disabled /etc/apt/sources.list.d/focal-proposed.list ubuntu@ubuntu:~$ sudo apt update Hit:1 http://archive.ubuntu.com/ubuntu focal-proposed InRelease Hit:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. ubuntu@ubuntu:~$ sudo apt install shim-signed -y Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed grub2-common os-prober Suggested packages: multiboot-doc grub-emu xorriso desktop-base The following NEW packages will be installed: grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed grub2-common os-prober shim-signed 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. Need to get 5901 kB of archives. After this operation, 36.5 MB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub-common amd64 2.04-1ubuntu26.16 [1878 kB] Get:2 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub-efi-amd64-bin amd64 2.04-1ubuntu47.5 [1584 kB] Get:3 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub2-common amd64 2.04-1ubuntu26.16 [590 kB] Get:4 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub-efi-amd64 amd64 2.04-1ubuntu47.5 [47.1 kB] Get:5 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub-efi-amd64-signed amd64 1.173.4+2.04-1ubuntu47.5 [1333 kB] Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 os-prober amd64 1.74ubuntu2 [20.1 kB] Get:7 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 shim-signed amd64 1.40.7+15.4-0ubuntu9 [448 kB] Fetched 5901 kB in 0s (14.7 MB/s) Preconfiguring packages ... Selecting previously unselected package grub-common. (Reading database ... 94222 files and directories currently installed.) Preparing to unpack .../0-grub-common_2.04-1ubuntu26.16_amd64.deb ... Unpacking grub-common (2.04-1ubuntu26.16) ... Selecting previously unselected package grub-efi-amd64-bin. Preparing to unpack .../1-grub-efi-amd64-bin_2.04-1ubuntu47.5_amd64.deb ... Unpacking grub-efi-amd64-bin (2.04-1ubuntu47.5) ... Selecting previously unselected package grub2-common. Preparing to unpack .../2-grub2-common_2.04-1ubuntu26.16_amd64.deb ... Unpacking grub2-common (2.04-1ubuntu26.16) ... Selecting previously unselected package grub-efi-amd64. Preparing to unpack .../3-grub-efi-amd64_2.04-1ubuntu47.5_amd64.deb ... Unpacking grub-efi-amd64 (2.04-1ubuntu47.5) ... Selecting previously unselected package grub-efi-amd64-signed. Preparing to unpack .../4-grub-efi-amd64-signed_1.173.4+2.04-1ubuntu47.5_amd64.deb ... Unpacking grub-efi-amd64-signed (1.173.4+2.04-1ubuntu47.5) ... Selecting previously unselected package os-prober. Preparing to unpack .../5-os-prober_1.74ubuntu2_amd64.deb ... Unpacking os-prober (1.74ubuntu2) ... Selecting previously unselected package shim-signed. Preparing to unpack .../6-shim-signed_1.40.7+15.4-0ubuntu9_amd64.deb ... Unpacking shim-signed (1.40.7+15.4-0ubuntu9) ... Setting up grub-common (2.04-1ubuntu26.16) ... Created symlink /etc/systemd/system/multi-user.target.wants/grub-common.service → /lib/syste md/system/grub-common.service. Created symlink /etc/systemd/system/sleep.target.wants/grub-common.service → /lib/systemd/sy stem/grub-common.service. Created symlink /etc/systemd/system/multi-user.target.wants/grub-initrd-fallback.service → / lib/systemd/system/grub-initrd-fallback.service. Created symlink /etc/systemd/system/rescue.target.wants/grub-initrd-fallback.service → /lib/ systemd/system/grub-initrd-fallback.service. Created symlink /etc/systemd/system/emergency.target.wants/grub-initrd-fallback.service → /l ib/systemd/system/grub-initrd-fallback.service. Created symlink /etc/systemd/system/sleep.target.wants/grub-initrd-fallback.service → /lib/s ystemd/system/grub-initrd-fallback.service. update-rc.d: warning: start and stop actions are no longer supported; falling back to defaul ts Setting up os-prober (1.74ubuntu2) ... Setting up grub-efi-amd64-bin (2.04-1ubuntu47.5) ... Setting up grub2-common (2.04-1ubuntu26.16) ... Setting up grub-efi-amd64 (2.04-1ubuntu47.5) ... Creating config file /etc/default/grub with new version Trying to migrate /boot/efi into esp config Unknown device "/dev/disk/by-id/*": No such file or directory Installing grub to /boot/efi. Installing for x86_64-efi platform. Installation finished. No error reported. Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.4.0-136-generic Found initrd image: /boot/initrd.img-5.4.0-136-generic Found linux image: /boot/vmlinuz-5.4.0-135-generic Found initrd image: /boot/initrd.img-5.4.0-135-generic Adding boot menu entry for UEFI Firmware Settings done Setting up grub-efi-amd64-signed (1.173.4+2.04-1ubuntu47.5) ... Unknown device "/dev/disk/by-id/*": No such file or directory Installing grub to /boot/efi. Installing for x86_64-efi platform. Installation finished. No error reported. Setting up shim-signed (1.40.7+15.4-0ubuntu9) ... Unknown device "/dev/disk/by-id/*": No such file or directory Installing grub to /boot/efi. Installing for x86_64-efi platform. Installation finished. No error reported. Processing triggers for systemd (245.4-4ubuntu3.19) ... Processing triggers for man-db (2.9.1-1) ... Processing triggers for install-info (6.7.0.dfsg.2-5) ... ubuntu@ubuntu:~$ ls -l /etc/kernel/postinst.d/zz-update-grub -rwxr-xr-x 1 root root 646 Dec 2 15:20 /etc/kernel/postinst.d/zz-update-grub == Test 1a == **Note** - shim-signed is not installable with grub-pc. This test is done without installing shim-signed (I'm not sure why that would matter for the test anyway). ubuntu@ubuntu:~$ dpkg -l | grep -e grub -e shim ubuntu@ubuntu:~$ sudo apt install grub-pc Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: grub-common grub-gfxpayload-lists grub-pc-bin grub2-common os-prober Suggested packages: multiboot-doc grub-emu xorriso desktop-base The following NEW packages will be installed: grub-common grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common os-prober 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 3559 kB of archives. After this operation, 18.8 MB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 grub-common amd64 2.04-1ubuntu26 [1853 kB] Get:2 http://archive.ubuntu.com/ubuntu focal/main amd64 grub2-common amd64 2.04-1ubuntu26 [589 kB] Get:3 http://archive.ubuntu.com/ubuntu focal/main amd64 grub-pc-bin amd64 2.04-1ubuntu26 [969 kB] Get:4 http://archive.ubuntu.com/ubuntu focal/main amd64 grub-pc amd64 2.04-1ubuntu26 [125 kB] Get:5 http://archive.ubuntu.com/ubuntu focal/main amd64 grub-gfxpayload-lists amd64 0.7 [3658 B] Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 os-prober amd64 1.74ubuntu2 [20.1 kB] Fetched 3559 kB in 1s (3890 kB/s) Preconfiguring packages ... Selecting previously unselected package grub-common. (Reading database ... 94222 files and directories currently installed.) Preparing to unpack .../0-grub-common_2.04-1ubuntu26_amd64.deb ... Unpacking grub-common (2.04-1ubuntu26) ... Selecting previously unselected package grub2-common. Preparing to unpack .../1-grub2-common_2.04-1ubuntu26_amd64.deb ... Unpacking grub2-common (2.04-1ubuntu26) ... Selecting previously unselected package grub-pc-bin. Preparing to unpack .../2-grub-pc-bin_2.04-1ubuntu26_amd64.deb ... Unpacking grub-pc-bin (2.04-1ubuntu26) ... Selecting previously unselected package grub-pc. Preparing to unpack .../3-grub-pc_2.04-1ubuntu26_amd64.deb ... Unpacking grub-pc (2.04-1ubuntu26) ... Selecting previously unselected package grub-gfxpayload-lists. Preparing to unpack .../4-grub-gfxpayload-lists_0.7_amd64.deb ... Unpacking grub-gfxpayload-lists (0.7) ... Selecting previously unselected package os-prober. Preparing to unpack .../5-os-prober_1.74ubuntu2_amd64.deb ... Unpacking os-prober (1.74ubuntu2) ... Setting up grub-common (2.04-1ubuntu26) ... Created symlink /etc/systemd/system/multi-user.target.wants/grub-initrd-fallback.service → / lib/systemd/system/grub-initrd-fallback.service. Created symlink /etc/systemd/system/rescue.target.wants/grub-initrd-fallback.service → /lib/ systemd/system/grub-initrd-fallback.service. Created symlink /etc/systemd/system/emergency.target.wants/grub-initrd-fallback.service → /l ib/systemd/system/grub-initrd-fallback.service. update-rc.d: warning: start and stop actions are no longer supported; falling back to defaul ts Setting up os-prober (1.74ubuntu2) ... Setting up grub2-common (2.04-1ubuntu26) ... Setting up grub-pc-bin (2.04-1ubuntu26) ... Setting up grub-pc (2.04-1ubuntu26) ... Creating config file /etc/default/grub with new version Installing for i386-pc platform. Installation finished. No error reported. Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.4.0-136-generic Found initrd image: /boot/initrd.img-5.4.0-136-generic Found linux image: /boot/vmlinuz-5.4.0-135-generic Found initrd image: /boot/initrd.img-5.4.0-135-generic Adding boot menu entry for UEFI Firmware Settings done Setting up grub-gfxpayload-lists (0.7) ... Processing triggers for install-info (6.7.0.dfsg.2-5) ... Processing triggers for systemd (245.4-4ubuntu3.19) ... Processing triggers for man-db (2.9.1-1) ... ubuntu@ubuntu:~$ sudo ln -s focal-updates.list.disabled /etc/apt/sources.list.d/focal-updates.list ubuntu@ubuntu:~$ sudo ln -s focal-proposed.list.disabled /etc/apt/sources.list.d/focal-proposed.list ubuntu@ubuntu:~$ sudo apt update Get:1 http://archive.ubuntu.com/ubuntu focal-proposed InRelease [267 kB] Get:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB] Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease Get:4 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages [254 kB] Get:5 http://archive.ubuntu.com/ubuntu focal-proposed/main Translation-en [57.8 kB] Get:6 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 c-n-f Metadata [2200 B] Get:7 http://archive.ubuntu.com/ubuntu focal-proposed/restricted amd64 Packages [313 kB] Get:8 http://archive.ubuntu.com/ubuntu focal-proposed/restricted Translation-en [44.0 kB] Get:9 http://archive.ubuntu.com/ubuntu focal-proposed/restricted amd64 c-n-f Metadata [348 B] Get:10 http://archive.ubuntu.com/ubuntu focal-proposed/universe amd64 Packages [61.1 kB] Get:11 http://archive.ubuntu.com/ubuntu focal-proposed/universe Translation-en [27.5 kB] Get:12 http://archive.ubuntu.com/ubuntu focal-proposed/universe amd64 c-n-f Metadata [2532 B] Get:13 http://archive.ubuntu.com/ubuntu focal-proposed/multiverse amd64 Packages [1440 B] Get:14 http://archive.ubuntu.com/ubuntu focal-proposed/multiverse Translation-en [3732 B] Get:15 http://archive.ubuntu.com/ubuntu focal-proposed/multiverse amd64 c-n-f Metadata [204 B] Get:16 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [2300 kB] Get:17 http://archive.ubuntu.com/ubuntu focal-updates/main Translation-en [398 kB] Get:18 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [16.1 kB] Get:19 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [1503 kB] Get:20 http://archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [212 kB] Get:21 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 c-n-f Metadata [616 B] Get:22 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1011 kB] Get:23 http://archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [234 kB] Get:24 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [23.2 kB] Get:25 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [25.2 kB] Get:26 http://archive.ubuntu.com/ubuntu focal-updates/multiverse Translation-en [7408 B] Get:27 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [604 B] Fetched 6880 kB in 3s (2573 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done 4 packages can be upgraded. Run 'apt list --upgradable' to see them. ubuntu@ubuntu:~$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done # # News about significant security updates, features and services will # appear here to raise awareness and perhaps tease /r/Linux ;) # Use 'pro config set apt_news=false' to hide this and future APT news. # The following packages will be upgraded: grub-common grub-pc grub-pc-bin grub2-common 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 3564 kB of archives. After this operation, 71.7 kB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub2-common amd64 2.04-1ubuntu26.16 [590 kB] Get:2 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub-pc amd64 2.04-1ubuntu26.16 [125 kB] Get:3 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub-pc-bin amd64 2.04-1ubuntu26.16 [971 kB] Get:4 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub-common amd64 2.04-1ubuntu26.16 [1878 kB] Fetched 3564 kB in 1s (3428 kB/s) Preconfiguring packages ... (Reading database ... 94713 files and directories currently installed.) Preparing to unpack .../grub2-common_2.04-1ubuntu26.16_amd64.deb ... Unpacking grub2-common (2.04-1ubuntu26.16) over (2.04-1ubuntu26) ... Preparing to unpack .../grub-pc_2.04-1ubuntu26.16_amd64.deb ... Unpacking grub-pc (2.04-1ubuntu26.16) over (2.04-1ubuntu26) ... Preparing to unpack .../grub-pc-bin_2.04-1ubuntu26.16_amd64.deb ... Unpacking grub-pc-bin (2.04-1ubuntu26.16) over (2.04-1ubuntu26) ... Preparing to unpack .../grub-common_2.04-1ubuntu26.16_amd64.deb ... Unpacking grub-common (2.04-1ubuntu26.16) over (2.04-1ubuntu26) ... Setting up grub-common (2.04-1ubuntu26.16) ... Installing new version of config file /etc/grub.d/10_linux ... Installing new version of config file /etc/grub.d/10_linux_zfs ... Created symlink /etc/systemd/system/multi-user.target.wants/grub-common.service → /lib/syste md/system/grub-common.service. Created symlink /etc/systemd/system/sleep.target.wants/grub-common.service → /lib/systemd/sy stem/grub-common.service. update-rc.d: warning: start and stop actions are no longer supported; falling back to defaul ts Setting up grub2-common (2.04-1ubuntu26.16) ... Setting up grub-pc-bin (2.04-1ubuntu26.16) ... Setting up grub-pc (2.04-1ubuntu26.16) ... Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.4.0-136-generic Found initrd image: /boot/initrd.img-5.4.0-136-generic Found linux image: /boot/vmlinuz-5.4.0-135-generic Found initrd image: /boot/initrd.img-5.4.0-135-generic Adding boot menu entry for UEFI Firmware Settings done Processing triggers for systemd (245.4-4ubuntu3.19) ... Processing triggers for man-db (2.9.1-1) ... Processing triggers for install-info (6.7.0.dfsg.2-5) ... ubuntu@ubuntu:~$ ls -l /etc/kernel/postinst.d/zz-update-grub -rwxr-xr-x 1 root root 646 Apr 15 2020 /etc/kernel/postinst.d/zz-update-grub == Test 2a == **Note** - shim-signed is not installable with grub-pc. This test is done without installing shim-signed (I'm not sure why that would matter for the test anyway). ubuntu@ubuntu:~$ dpkg -l | grep -e grub -e shim ubuntu@ubuntu:~$ sudo apt update Hit:1 http://archive.ubuntu.com/ubuntu focal-updates InRelease Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. ubuntu@ubuntu:~$ sudo apt install grub-pc -y Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: grub-common grub-gfxpayload-lists grub-pc-bin grub2-common os-prober Suggested packages: multiboot-doc grub-emu xorriso desktop-base The following NEW packages will be installed: grub-common grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common os-prober 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 3586 kB of archives. After this operation, 18.9 MB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 grub-common amd64 2.04-1ubuntu26.15 [1875 kB] Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 grub2-common amd64 2.04-1ubuntu26.15 [592 kB] Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 grub-pc-bin amd64 2.04-1ubuntu26.15 [971 kB] Get:4 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 grub-pc amd64 2.04-1ubuntu26.15 [125 kB] Get:5 http://archive.ubuntu.com/ubuntu focal/main amd64 grub-gfxpayload-lists amd64 0.7 [3658 B] Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 os-prober amd64 1.74ubuntu2 [20.1 kB] Fetched 3586 kB in 1s (3876 kB/s) Preconfiguring packages ... Selecting previously unselected package grub-common. (Reading database ... 94222 files and directories currently installed.) Preparing to unpack .../0-grub-common_2.04-1ubuntu26.15_amd64.deb ... Unpacking grub-common (2.04-1ubuntu26.15) ... Selecting previously unselected package grub2-common. Preparing to unpack .../1-grub2-common_2.04-1ubuntu26.15_amd64.deb ... Unpacking grub2-common (2.04-1ubuntu26.15) ... Selecting previously unselected package grub-pc-bin. Preparing to unpack .../2-grub-pc-bin_2.04-1ubuntu26.15_amd64.deb ... Unpacking grub-pc-bin (2.04-1ubuntu26.15) ... Selecting previously unselected package grub-pc. Preparing to unpack .../3-grub-pc_2.04-1ubuntu26.15_amd64.deb ... Unpacking grub-pc (2.04-1ubuntu26.15) ... Selecting previously unselected package grub-gfxpayload-lists. Preparing to unpack .../4-grub-gfxpayload-lists_0.7_amd64.deb ... Unpacking grub-gfxpayload-lists (0.7) ... Selecting previously unselected package os-prober. Preparing to unpack .../5-os-prober_1.74ubuntu2_amd64.deb ... Unpacking os-prober (1.74ubuntu2) ... Setting up grub-common (2.04-1ubuntu26.15) ... Created symlink /etc/systemd/system/multi-user.target.wants/grub-common.service → /lib/syste md/system/grub-common.service. Created symlink /etc/systemd/system/sleep.target.wants/grub-common.service → /lib/systemd/sy stem/grub-common.service. Created symlink /etc/systemd/system/multi-user.target.wants/grub-initrd-fallback.service → / lib/systemd/system/grub-initrd-fallback.service. Created symlink /etc/systemd/system/rescue.target.wants/grub-initrd-fallback.service → /lib/ systemd/system/grub-initrd-fallback.service. Created symlink /etc/systemd/system/emergency.target.wants/grub-initrd-fallback.service → /l ib/systemd/system/grub-initrd-fallback.service. Created symlink /etc/systemd/system/sleep.target.wants/grub-initrd-fallback.service → /lib/s ystemd/system/grub-initrd-fallback.service. update-rc.d: warning: start and stop actions are no longer supported; falling back to defaul ts Setting up os-prober (1.74ubuntu2) ... Setting up grub2-common (2.04-1ubuntu26.15) ... Setting up grub-pc-bin (2.04-1ubuntu26.15) ... Setting up grub-pc (2.04-1ubuntu26.15) ... Creating config file /etc/default/grub with new version Installing for i386-pc platform. Installation finished. No error reported. Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.4.0-136-generic Found initrd image: /boot/initrd.img-5.4.0-136-generic Found linux image: /boot/vmlinuz-5.4.0-135-generic Found initrd image: /boot/initrd.img-5.4.0-135-generic Adding boot menu entry for UEFI Firmware Settings done Setting up grub-gfxpayload-lists (0.7) ... Processing triggers for install-info (6.7.0.dfsg.2-5) ... Processing triggers for systemd (245.4-4ubuntu3.19) ... Processing triggers for man-db (2.9.1-1) ... ubuntu@ubuntu:~$ sudo ln -s focal-proposed.list.disabled /etc/apt/sources.list.d/focal-proposed.list ubuntu@ubuntu:~$ sudo apt update Get:1 http://archive.ubuntu.com/ubuntu focal-proposed InRelease [267 kB] Hit:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease Get:4 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages [254 kB] Get:5 http://archive.ubuntu.com/ubuntu focal-proposed/main Translation-en [57.8 kB] Get:6 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 c-n-f Metadata [2200 B] Get:7 http://archive.ubuntu.com/ubuntu focal-proposed/restricted amd64 Packages [313 kB] Get:8 http://archive.ubuntu.com/ubuntu focal-proposed/restricted Translation-en [44.0 kB] Get:9 http://archive.ubuntu.com/ubuntu focal-proposed/restricted amd64 c-n-f Metadata [348 B] Get:10 http://archive.ubuntu.com/ubuntu focal-proposed/universe amd64 Packages [61.1 kB] Get:11 http://archive.ubuntu.com/ubuntu focal-proposed/universe Translation-en [27.5 kB] Get:12 http://archive.ubuntu.com/ubuntu focal-proposed/universe amd64 c-n-f Metadata [2532 B] Get:13 http://archive.ubuntu.com/ubuntu focal-proposed/multiverse amd64 Packages [1440 B] Get:14 http://archive.ubuntu.com/ubuntu focal-proposed/multiverse Translation-en [3732 B] Get:15 http://archive.ubuntu.com/ubuntu focal-proposed/multiverse amd64 c-n-f Metadata [204 B] Fetched 1035 kB in 2s (670 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done 4 packages can be upgraded. Run 'apt list --upgradable' to see them. ubuntu@ubuntu:~$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done # # News about significant security updates, features and services will # appear here to raise awareness and perhaps tease /r/Linux ;) # Use 'pro config set apt_news=false' to hide this and future APT news. # The following packages will be upgraded: grub-common grub-pc grub-pc-bin grub2-common 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 3564 kB of archives. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub2-common amd64 2.04-1ubuntu26.16 [590 kB] Get:2 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub-pc amd64 2.04-1ubuntu26.16 [125 kB] Get:3 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub-pc-bin amd64 2.04-1ubuntu26.16 [971 kB] Get:4 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub-common amd64 2.04-1ubuntu26.16 [1878 kB] Fetched 3564 kB in 0s (18.7 MB/s) Preconfiguring packages ... (Reading database ... 94714 files and directories currently installed.) Preparing to unpack .../grub2-common_2.04-1ubuntu26.16_amd64.deb ... Unpacking grub2-common (2.04-1ubuntu26.16) over (2.04-1ubuntu26.15) ... Preparing to unpack .../grub-pc_2.04-1ubuntu26.16_amd64.deb ... Unpacking grub-pc (2.04-1ubuntu26.16) over (2.04-1ubuntu26.15) ... Preparing to unpack .../grub-pc-bin_2.04-1ubuntu26.16_amd64.deb ... Unpacking grub-pc-bin (2.04-1ubuntu26.16) over (2.04-1ubuntu26.15) ... Preparing to unpack .../grub-common_2.04-1ubuntu26.16_amd64.deb ... Unpacking grub-common (2.04-1ubuntu26.16) over (2.04-1ubuntu26.15) ... Setting up grub-common (2.04-1ubuntu26.16) ... update-rc.d: warning: start and stop actions are no longer supported; falling back to defaul ts Setting up grub2-common (2.04-1ubuntu26.16) ... Setting up grub-pc-bin (2.04-1ubuntu26.16) ... Setting up grub-pc (2.04-1ubuntu26.16) ... Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.4.0-136-generic Found initrd image: /boot/initrd.img-5.4.0-136-generic Found linux image: /boot/vmlinuz-5.4.0-135-generic Found initrd image: /boot/initrd.img-5.4.0-135-generic Adding boot menu entry for UEFI Firmware Settings done Processing triggers for systemd (245.4-4ubuntu3.19) ... Processing triggers for man-db (2.9.1-1) ... Processing triggers for install-info (6.7.0.dfsg.2-5) ... ubuntu@ubuntu:~$ ls -l /etc/kernel/postinst.d/zz-update-grub -rwxr-xr-x 1 root root 646 Jan 11 2022 /etc/kernel/postinst.d/zz-update-grub == Test 3a == **Note** - shim-signed is not installable with grub-pc. This test is done without installing shim-signed (I'm not sure why that would matter for the test anyway). ubuntu@ubuntu:~$ dpkg -l | grep -e grub -e shim ubuntu@ubuntu:~$ sudo apt install grub-pc -y Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: grub-common grub-gfxpayload-lists grub-pc-bin grub2-common os-prober Suggested packages: multiboot-doc grub-emu xorriso desktop-base The following NEW packages will be installed: grub-common grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common os-prober 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 3587 kB of archives. After this operation, 18.9 MB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub-common amd64 2.04-1ubuntu26.16 [1878 kB] Get:2 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub2-common amd64 2.04-1ubuntu26.16 [590 kB] Get:3 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub-pc-bin amd64 2.04-1ubuntu26.16 [971 kB] Get:4 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub-pc amd64 2.04-1ubuntu26.16 [125 kB] Get:5 http://archive.ubuntu.com/ubuntu focal/main amd64 grub-gfxpayload-lists amd64 0.7 [3658 B] Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 os-prober amd64 1.74ubuntu2 [20.1 kB] Fetched 3587 kB in 1s (3931 kB/s) Preconfiguring packages ... Selecting previously unselected package grub-common. (Reading database ... 94222 files and directories currently installed.) Preparing to unpack .../0-grub-common_2.04-1ubuntu26.16_amd64.deb ... Unpacking grub-common (2.04-1ubuntu26.16) ... Selecting previously unselected package grub2-common. Preparing to unpack .../1-grub2-common_2.04-1ubuntu26.16_amd64.deb ... Unpacking grub2-common (2.04-1ubuntu26.16) ... Selecting previously unselected package grub-pc-bin. Preparing to unpack .../2-grub-pc-bin_2.04-1ubuntu26.16_amd64.deb ... Unpacking grub-pc-bin (2.04-1ubuntu26.16) ... Selecting previously unselected package grub-pc. Preparing to unpack .../3-grub-pc_2.04-1ubuntu26.16_amd64.deb ... Unpacking grub-pc (2.04-1ubuntu26.16) ... Selecting previously unselected package grub-gfxpayload-lists. Preparing to unpack .../4-grub-gfxpayload-lists_0.7_amd64.deb ... Unpacking grub-gfxpayload-lists (0.7) ... Selecting previously unselected package os-prober. Preparing to unpack .../5-os-prober_1.74ubuntu2_amd64.deb ... Unpacking os-prober (1.74ubuntu2) ... Setting up grub-common (2.04-1ubuntu26.16) ... Created symlink /etc/systemd/system/multi-user.target.wants/grub-common.service → /lib/syste md/system/grub-common.service. Created symlink /etc/systemd/system/sleep.target.wants/grub-common.service → /lib/systemd/sy stem/grub-common.service. Created symlink /etc/systemd/system/multi-user.target.wants/grub-initrd-fallback.service → / lib/systemd/system/grub-initrd-fallback.service. Created symlink /etc/systemd/system/rescue.target.wants/grub-initrd-fallback.service → /lib/ systemd/system/grub-initrd-fallback.service. Created symlink /etc/systemd/system/emergency.target.wants/grub-initrd-fallback.service → /l ib/systemd/system/grub-initrd-fallback.service. Created symlink /etc/systemd/system/sleep.target.wants/grub-initrd-fallback.service → /lib/s ystemd/system/grub-initrd-fallback.service. update-rc.d: warning: start and stop actions are no longer supported; falling back to defaul ts Setting up os-prober (1.74ubuntu2) ... Setting up grub2-common (2.04-1ubuntu26.16) ... Setting up grub-pc-bin (2.04-1ubuntu26.16) ... Setting up grub-pc (2.04-1ubuntu26.16) ... Creating config file /etc/default/grub with new version Installing for i386-pc platform. Installation finished. No error reported. Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.4.0-136-generic Found initrd image: /boot/initrd.img-5.4.0-136-generic Found linux image: /boot/vmlinuz-5.4.0-135-generic Found initrd image: /boot/initrd.img-5.4.0-135-generic Adding boot menu entry for UEFI Firmware Settings done Setting up grub-gfxpayload-lists (0.7) ... Processing triggers for install-info (6.7.0.dfsg.2-5) ... Processing triggers for systemd (245.4-4ubuntu3.19) ... Processing triggers for man-db (2.9.1-1) ... ubuntu@ubuntu:~$ ls -l /etc/kernel/postinst.d/zz-update-grub -rwxr-xr-x 1 root root 646 Dec 2 15:20 /etc/kernel/postinst.d/zz-update-grub == Test 10 == ** Note ** for the focal test case, I assume the relevant "older grub2-common" is << 2.02-2ubuntu8.25 from bionic. Testing with 2.02-2ubuntu8.21, because its the latest such version I can find debs for in LP. ubuntu@ubuntu:~$ dpkg -l | grep -e grub -e shim ii grub-common 2.02-2ubuntu8.21 amd64 GRand Unified Bootloader (common files) ii grub2-common 2.02-2ubuntu8.21 amd64 GRand Unified Bootloader (common files for version 2) ubuntu@ubuntu:~$ sudo apt install grub-efi-amd64 Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: grub-common grub-efi-amd64-bin grub-efi-amd64-signed grub2-common Suggested packages: multiboot-doc grub-emu xorriso desktop-base Recommended packages: os-prober The following NEW packages will be installed: grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed The following packages will be upgraded: grub-common grub2-common 2 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 5433 kB of archives. After this operation, 19.0 MB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub2-common amd64 2.04-1ubuntu26.16 [590 kB] Get:2 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub-common amd64 2.04-1ubuntu26.16 [1878 kB] Get:3 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub-efi-amd64-bin amd64 2.04-1ubuntu47.5 [1584 kB] Get:4 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub-efi-amd64 amd64 2.04-1ubuntu47.5 [47.1 kB] Get:5 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub-efi-amd64-signed amd64 1.173.4+2.04-1ubuntu47.5 [1333 kB] Fetched 5433 kB in 1s (5031 kB/s) Preconfiguring packages ... (Reading database ... 94325 files and directories currently installed.) Preparing to unpack .../grub2-common_2.04-1ubuntu26.16_amd64.deb ... Unpacking grub2-common (2.04-1ubuntu26.16) over (2.02-2ubuntu8.21) ... Preparing to unpack .../grub-common_2.04-1ubuntu26.16_amd64.deb ... Unpacking grub-common (2.04-1ubuntu26.16) over (2.02-2ubuntu8.21) ... Selecting previously unselected package grub-efi-amd64-bin. Preparing to unpack .../grub-efi-amd64-bin_2.04-1ubuntu47.5_amd64.deb ... Unpacking grub-efi-amd64-bin (2.04-1ubuntu47.5) ... Selecting previously unselected package grub-efi-amd64. Preparing to unpack .../grub-efi-amd64_2.04-1ubuntu47.5_amd64.deb ... Unpacking grub-efi-amd64 (2.04-1ubuntu47.5) ... Selecting previously unselected package grub-efi-amd64-signed. Preparing to unpack .../grub-efi-amd64-signed_1.173.4+2.04-1ubuntu47.5_amd64.deb ... Unpacking grub-efi-amd64-signed (1.173.4+2.04-1ubuntu47.5) ... Setting up grub-common (2.04-1ubuntu26.16) ... Installing new version of config file /etc/grub.d/00_header ... Installing new version of config file /etc/grub.d/10_linux ... Installing new version of config file /etc/grub.d/20_linux_xen ... Installing new version of config file /etc/grub.d/30_uefi-firmware ... Created symlink /etc/systemd/system/multi-user.target.wants/grub-common.service → /lib/syste md/system/grub-common.service. Created symlink /etc/systemd/system/sleep.target.wants/grub-common.service → /lib/systemd/sy stem/grub-common.service. Created symlink /etc/systemd/system/multi-user.target.wants/grub-initrd-fallback.service → / lib/systemd/system/grub-initrd-fallback.service. Created symlink /etc/systemd/system/rescue.target.wants/grub-initrd-fallback.service → /lib/ systemd/system/grub-initrd-fallback.service. Created symlink /etc/systemd/system/emergency.target.wants/grub-initrd-fallback.service → /l ib/systemd/system/grub-initrd-fallback.service. Created symlink /etc/systemd/system/sleep.target.wants/grub-initrd-fallback.service → /lib/s ystemd/system/grub-initrd-fallback.service. Removing obsolete conffile /etc/bash_completion.d/grub ... update-rc.d: warning: start and stop actions are no longer supported; falling back to defaul ts Setting up grub-efi-amd64-bin (2.04-1ubuntu47.5) ... Setting up grub2-common (2.04-1ubuntu26.16) ... Setting up grub-efi-amd64 (2.04-1ubuntu47.5) ... Creating config file /etc/default/grub with new version Trying to migrate /boot/efi into esp config Unknown device "/dev/disk/by-id/*": No such file or directory Installing grub to /boot/efi. Installing for x86_64-efi platform. Installation finished. No error reported. Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.4.0-136-generic Found initrd image: /boot/initrd.img-5.4.0-136-generic Found linux image: /boot/vmlinuz-5.4.0-135-generic Found initrd image: /boot/initrd.img-5.4.0-135-generic Adding boot menu entry for UEFI Firmware Settings done Setting up grub-efi-amd64-signed (1.173.4+2.04-1ubuntu47.5) ... Unknown device "/dev/disk/by-id/*": No such file or directory Installing grub to /boot/efi. Installing for x86_64-efi platform. Installation finished. No error reported. Processing triggers for man-db (2.9.1-1) ... Processing triggers for install-info (6.7.0.dfsg.2-5) ... Processing triggers for systemd (245.4-4ubuntu3.19) ... == Test 20 == ** Note ** for the focal test case, I assume the relevant "older grub2-common" is 2.02-2ubuntu8.25 from bionic. Testing with 2.02-2ubuntu8.21, because its the latest such version I can find debs for in LP. ubuntu@ubuntu:~$ dpkg -l | grep -e grub -e shim ii grub-common 2.02-2ubuntu8.21 amd64 GRand Unified Bootloader (common files) ii grub2-common 2.02-2ubuntu8.21 amd64 GRand Unified Bootloader (common files for version 2) ubuntu@ubuntu:~$ sudo apt install grub-efi-amd64-signed Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: grub-common grub-efi-amd64 grub-efi-amd64-bin grub2-common Suggested packages: multiboot-doc grub-emu xorriso desktop-base Recommended packages: os-prober The following NEW packages will be installed: grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed The following packages will be upgraded: grub-common grub2-common 2 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 5433 kB of archives. After this operation, 19.0 MB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub2-common amd64 2.04-1ubuntu26.16 [590 kB] Get:2 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub-common amd64 2.04-1ubuntu26.16 [1878 kB] Get:3 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub-efi-amd64-bin amd64 2.04-1ubuntu47.5 [1584 kB] Get:4 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub-efi-amd64 amd64 2.04-1ubuntu47.5 [47.1 kB] Get:5 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 grub-efi-amd64-signed amd64 1.173.4+2.04-1ubuntu47.5 [1333 kB] Fetched 5433 kB in 1s (5237 kB/s) Preconfiguring packages ... (Reading database ... 94325 files and directories currently installed.) Preparing to unpack .../grub2-common_2.04-1ubuntu26.16_amd64.deb ... Unpacking grub2-common (2.04-1ubuntu26.16) over (2.02-2ubuntu8.21) ... Preparing to unpack .../grub-common_2.04-1ubuntu26.16_amd64.deb ... Unpacking grub-common (2.04-1ubuntu26.16) over (2.02-2ubuntu8.21) ... Selecting previously unselected package grub-efi-amd64-bin. Preparing to unpack .../grub-efi-amd64-bin_2.04-1ubuntu47.5_amd64.deb ... Unpacking grub-efi-amd64-bin (2.04-1ubuntu47.5) ... Selecting previously unselected package grub-efi-amd64. Preparing to unpack .../grub-efi-amd64_2.04-1ubuntu47.5_amd64.deb ... Unpacking grub-efi-amd64 (2.04-1ubuntu47.5) ... Selecting previously unselected package grub-efi-amd64-signed. Preparing to unpack .../grub-efi-amd64-signed_1.173.4+2.04-1ubuntu47.5_amd64.deb ... Unpacking grub-efi-amd64-signed (1.173.4+2.04-1ubuntu47.5) ... Setting up grub-common (2.04-1ubuntu26.16) ... Installing new version of config file /etc/grub.d/00_header ... Installing new version of config file /etc/grub.d/10_linux ... Installing new version of config file /etc/grub.d/20_linux_xen ... Installing new version of config file /etc/grub.d/30_uefi-firmware ... Created symlink /etc/systemd/system/multi-user.target.wants/grub-common.service → /lib/syste md/system/grub-common.service. Created symlink /etc/systemd/system/sleep.target.wants/grub-common.service → /lib/systemd/sy stem/grub-common.service. Created symlink /etc/systemd/system/multi-user.target.wants/grub-initrd-fallback.service → / lib/systemd/system/grub-initrd-fallback.service. Created symlink /etc/systemd/system/rescue.target.wants/grub-initrd-fallback.service → /lib/ systemd/system/grub-initrd-fallback.service. Created symlink /etc/systemd/system/emergency.target.wants/grub-initrd-fallback.service → /l ib/systemd/system/grub-initrd-fallback.service. Created symlink /etc/systemd/system/sleep.target.wants/grub-initrd-fallback.service → /lib/s ystemd/system/grub-initrd-fallback.service. Removing obsolete conffile /etc/bash_completion.d/grub ... update-rc.d: warning: start and stop actions are no longer supported; falling back to defaul ts Setting up grub-efi-amd64-bin (2.04-1ubuntu47.5) ... Setting up grub2-common (2.04-1ubuntu26.16) ... Setting up grub-efi-amd64 (2.04-1ubuntu47.5) ... Creating config file /etc/default/grub with new version Trying to migrate /boot/efi into esp config Unknown device "/dev/disk/by-id/*": No such file or directory Installing grub to /boot/efi. Installing for x86_64-efi platform. Installation finished. No error reported. Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.4.0-136-generic Found initrd image: /boot/initrd.img-5.4.0-136-generic Found linux image: /boot/vmlinuz-5.4.0-135-generic Found initrd image: /boot/initrd.img-5.4.0-135-generic Adding boot menu entry for UEFI Firmware Settings done Setting up grub-efi-amd64-signed (1.173.4+2.04-1ubuntu47.5) ... Unknown device "/dev/disk/by-id/*": No such file or directory Installing grub to /boot/efi. Installing for x86_64-efi platform. Installation finished. No error reported. Processing triggers for man-db (2.9.1-1) ... Processing triggers for install-info (6.7.0.dfsg.2-5) ... Processing triggers for systemd (245.4-4ubuntu3.19) ...