I've setup a RAID1 with separate EFI boot partition and even tested the recovery process successfuly
But I'm unsure on how to correctly update RAID1 system
On a non RAID it's quite clear to me:
1. First I do the update using:
Code: Select all
$ sudo apt update
[sudo] password for admin:
Hit:1 http://debian.ethz.ch/debian bullseye InRelease
Get:2 http://debian.ethz.ch/debian bullseye-updates InRelease [44.1 kB]
Get:3 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Get:4 https://deb.nodesource.com/node_16.x bullseye InRelease [4586 B]
Get:5 http://security.debian.org/debian-security bullseye-security/main Sources [172 kB]
Get:6 http://security.debian.org/debian-security bullseye-security/main amd64 Packages [208 kB]
Get:7 http://security.debian.org/debian-security bullseye-security/main Translation-en [135 kB]
Get:8 http://debian.ethz.ch/debian bullseye-updates/main Sources.diff/Index [15.1 kB]
Get:9 http://debian.ethz.ch/debian bullseye-updates/main amd64 Packages.diff/Index [15.1 kB]
Get:10 http://debian.ethz.ch/debian bullseye-updates/main Translation-en.diff/Index [6117 B]
Get:11 https://deb.nodesource.com/node_16.x bullseye/main amd64 Packages [774 B]
Get:12 http://debian.ethz.ch/debian bullseye-updates/main Sources T-2022-10-31-2015.41-F-2022-10-15-2035.13.pdiff [2196 B]
Get:12 http://debian.ethz.ch/debian bullseye-updates/main Sources T-2022-10-31-2015.41-F-2022-10-15-2035.13.pdiff [2196 B]
Get:13 http://debian.ethz.ch/debian bullseye-updates/main amd64 Packages T-2022-10-31-2015.41-F-2022-10-15-2035.13.pdiff [10.1 kB]
Get:13 http://debian.ethz.ch/debian bullseye-updates/main amd64 Packages T-2022-10-31-2015.41-F-2022-10-15-2035.13.pdiff [10.1 kB]
Get:14 http://debian.ethz.ch/debian bullseye-updates/main Translation-en T-2022-10-21-2017.32-F-2022-10-21-2017.32.pdiff [2494 B]
Get:14 http://debian.ethz.ch/debian bullseye-updates/main Translation-en T-2022-10-21-2017.32-F-2022-10-21-2017.32.pdiff [2494 B]
Fetched 664 kB in 1s (1053 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
35 packages can be upgraded. Run 'apt list --upgradable' to see them.
Code: Select all
$ sudo apt list --upgradable -a
Listing... Done
grub-common/stable-security 2.06-3~deb11u4 amd64 [upgradable from: 2.06-3~deb11u2]
grub-common/stable-updates,now 2.06-3~deb11u2 amd64 [installed,upgradable to: 2.06-3~deb11u4]
grub-common/stable 2.06-3~deb11u1 amd64
grub-efi-amd64-bin/stable-security 2.06-3~deb11u4 amd64 [upgradable from: 2.06-3~deb11u2]
grub-efi-amd64-bin/stable-updates,now 2.06-3~deb11u2 amd64 [installed,upgradable to: 2.06-3~deb11u4]
grub-efi-amd64-bin/stable 2.06-3~deb11u1 amd64
grub-efi-amd64-signed/stable-security 1+2.06+3~deb11u4 amd64 [upgradable from: 1+2.06+3~deb11u2]
grub-efi-amd64-signed/stable-updates,now 1+2.06+3~deb11u2 amd64 [installed,upgradable to: 1+2.06+3~deb11u4]
grub-efi-amd64-signed/stable 1+2.06+3~deb11u1 amd64
grub-efi-amd64/stable-security 2.06-3~deb11u4 amd64 [upgradable from: 2.06-3~deb11u2]
grub-efi-amd64/stable-updates,now 2.06-3~deb11u2 amd64 [installed,upgradable to: 2.06-3~deb11u4]
grub-efi-amd64/stable 2.06-3~deb11u1 amd64
grub2-common/stable-security 2.06-3~deb11u4 amd64 [upgradable from: 2.06-3~deb11u2]
grub2-common/stable-updates,now 2.06-3~deb11u2 amd64 [installed,upgradable to: 2.06-3~deb11u4]
grub2-common/stable 2.06-3~deb11u1 amd64
krb5-locales/stable-security 1.18.3-6+deb11u3 all [upgradable from: 1.18.3-6+deb11u2]
krb5-locales/stable,now 1.18.3-6+deb11u2 all [installed,upgradable to: 1.18.3-6+deb11u3]
libc-bin/stable-updates 2.31-13+deb11u5 amd64 [upgradable from: 2.31-13+deb11u4]
libc-bin/stable,now 2.31-13+deb11u4 amd64 [installed,upgradable to: 2.31-13+deb11u5]
libc-dev-bin/stable-updates 2.31-13+deb11u5 amd64 [upgradable from: 2.31-13+deb11u4]
libc-dev-bin/stable,now 2.31-13+deb11u4 amd64 [installed,upgradable to: 2.31-13+deb11u5]
libc-devtools/stable-updates 2.31-13+deb11u5 amd64 [upgradable from: 2.31-13+deb11u4]
libc-devtools/stable,now 2.31-13+deb11u4 amd64 [installed,upgradable to: 2.31-13+deb11u5]
libc-l10n/stable-updates 2.31-13+deb11u5 all [upgradable from: 2.31-13+deb11u4]
libc-l10n/stable,now 2.31-13+deb11u4 all [installed,upgradable to: 2.31-13+deb11u5]
libc6-dbg/stable-updates 2.31-13+deb11u5 amd64 [upgradable from: 2.31-13+deb11u4]
libc6-dbg/stable,now 2.31-13+deb11u4 amd64 [installed,upgradable to: 2.31-13+deb11u5]
libc6-dev/stable-updates 2.31-13+deb11u5 amd64 [upgradable from: 2.31-13+deb11u4]
libc6-dev/stable,now 2.31-13+deb11u4 amd64 [installed,upgradable to: 2.31-13+deb11u5]
libc6-i386/stable-updates 2.31-13+deb11u5 amd64 [upgradable from: 2.31-13+deb11u4]
libc6-i386/stable,now 2.31-13+deb11u4 amd64 [installed,upgradable to: 2.31-13+deb11u5]
libc6/stable-updates 2.31-13+deb11u5 amd64 [upgradable from: 2.31-13+deb11u4]
libc6/stable,now 2.31-13+deb11u4 amd64 [installed,upgradable to: 2.31-13+deb11u5]
libexpat1/stable-security 2.2.10-2+deb11u5 amd64 [upgradable from: 2.2.10-2+deb11u4]
libexpat1/now 2.2.10-2+deb11u4 amd64 [installed,upgradable to: 2.2.10-2+deb11u5]
libexpat1/stable 2.2.10-2+deb11u3 amd64
libgssapi-krb5-2/stable-security 1.18.3-6+deb11u3 amd64 [upgradable from: 1.18.3-6+deb11u2]
libgssapi-krb5-2/stable,now 1.18.3-6+deb11u2 amd64 [installed,upgradable to: 1.18.3-6+deb11u3]
libk5crypto3/stable-security 1.18.3-6+deb11u3 amd64 [upgradable from: 1.18.3-6+deb11u2]
libk5crypto3/stable,now 1.18.3-6+deb11u2 amd64 [installed,upgradable to: 1.18.3-6+deb11u3]
libkrb5-3/stable-security 1.18.3-6+deb11u3 amd64 [upgradable from: 1.18.3-6+deb11u2]
libkrb5-3/stable,now 1.18.3-6+deb11u2 amd64 [installed,upgradable to: 1.18.3-6+deb11u3]
libkrb5support0/stable-security 1.18.3-6+deb11u3 amd64 [upgradable from: 1.18.3-6+deb11u2]
libkrb5support0/stable,now 1.18.3-6+deb11u2 amd64 [installed,upgradable to: 1.18.3-6+deb11u3]
libksba8/stable-security 1.5.0-3+deb11u1 amd64 [upgradable from: 1.5.0-3]
libksba8/stable,now 1.5.0-3 amd64 [installed,upgradable to: 1.5.0-3+deb11u1]
libnginx-mod-http-geoip/stable-security 1.18.0-6.1+deb11u3 amd64 [upgradable from: 1.18.0-6.1+deb11u2]
libnginx-mod-http-geoip/stable,now 1.18.0-6.1+deb11u2 amd64 [installed,upgradable to: 1.18.0-6.1+deb11u3]
libnginx-mod-http-image-filter/stable-security 1.18.0-6.1+deb11u3 amd64 [upgradable from: 1.18.0-6.1+deb11u2]
libnginx-mod-http-image-filter/stable,now 1.18.0-6.1+deb11u2 amd64 [installed,upgradable to: 1.18.0-6.1+deb11u3]
libnginx-mod-http-xslt-filter/stable-security 1.18.0-6.1+deb11u3 amd64 [upgradable from: 1.18.0-6.1+deb11u2]
libnginx-mod-http-xslt-filter/stable,now 1.18.0-6.1+deb11u2 amd64 [installed,upgradable to: 1.18.0-6.1+deb11u3]
libnginx-mod-mail/stable-security 1.18.0-6.1+deb11u3 amd64 [upgradable from: 1.18.0-6.1+deb11u2]
libnginx-mod-mail/stable,now 1.18.0-6.1+deb11u2 amd64 [installed,upgradable to: 1.18.0-6.1+deb11u3]
libnginx-mod-stream-geoip/stable-security 1.18.0-6.1+deb11u3 amd64 [upgradable from: 1.18.0-6.1+deb11u2]
libnginx-mod-stream-geoip/stable,now 1.18.0-6.1+deb11u2 amd64 [installed,upgradable to: 1.18.0-6.1+deb11u3]
libnginx-mod-stream/stable-security 1.18.0-6.1+deb11u3 amd64 [upgradable from: 1.18.0-6.1+deb11u2]
libnginx-mod-stream/stable,now 1.18.0-6.1+deb11u2 amd64 [installed,upgradable to: 1.18.0-6.1+deb11u3]
libxml2/stable-security 2.9.10+dfsg-6.7+deb11u3 amd64 [upgradable from: 2.9.10+dfsg-6.7+deb11u2]
libxml2/stable,now 2.9.10+dfsg-6.7+deb11u2 amd64 [installed,upgradable to: 2.9.10+dfsg-6.7+deb11u3]
linux-image-amd64/stable-security 5.10.149-2 amd64 [upgradable from: 5.10.140-1]
linux-image-amd64/stable,now 5.10.140-1 amd64 [installed,upgradable to: 5.10.149-2]
linux-libc-dev/stable-security 5.10.149-2 amd64 [upgradable from: 5.10.140-1]
linux-libc-dev/stable,now 5.10.140-1 amd64 [installed,upgradable to: 5.10.149-2]
locales/stable-updates 2.31-13+deb11u5 all [upgradable from: 2.31-13+deb11u4]
locales/stable,now 2.31-13+deb11u4 all [installed,upgradable to: 2.31-13+deb11u5]
nginx-common/stable-security 1.18.0-6.1+deb11u3 all [upgradable from: 1.18.0-6.1+deb11u2]
nginx-common/stable,now 1.18.0-6.1+deb11u2 all [installed,upgradable to: 1.18.0-6.1+deb11u3]
nginx-core/stable-security 1.18.0-6.1+deb11u3 amd64 [upgradable from: 1.18.0-6.1+deb11u2]
nginx-core/stable,now 1.18.0-6.1+deb11u2 amd64 [installed,upgradable to: 1.18.0-6.1+deb11u3]
nginx/stable-security 1.18.0-6.1+deb11u3 all [upgradable from: 1.18.0-6.1+deb11u2]
nginx/stable,now 1.18.0-6.1+deb11u2 all [installed,upgradable to: 1.18.0-6.1+deb11u3]
nodejs/unknown 16.18.1-deb-1nodesource1 amd64 [upgradable from: 16.17.1-deb-1nodesource1]
nodejs/now 16.17.1-deb-1nodesource1 amd64 [installed,upgradable to: 16.18.1-deb-1nodesource1]
nodejs/stable-security 12.22.12~dfsg-1~deb11u1 amd64
nodejs/stable 12.22.5~dfsg-2~11u1 amd64
tzdata/stable-updates 2021a-1+deb11u8 all [upgradable from: 2021a-1+deb11u6]
tzdata/now 2021a-1+deb11u6 all [installed,upgradable to: 2021a-1+deb11u8]
tzdata/stable 2021a-1+deb11u5 all
Code: Select all
$ sudo apt full-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
linux-image-5.10.0-19-amd64
The following packages will be upgraded:
grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed grub2-common krb5-locales libc-bin libc-dev-bin libc-devtools libc-l10n libc6
libc6-dbg libc6-dev libc6-i386 libexpat1 libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0 libksba8 libnginx-mod-http-geoip
libnginx-mod-http-image-filter libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream libnginx-mod-stream-geoip libxml2 linux-image-amd64
linux-libc-dev locales nginx nginx-common nginx-core nodejs tzdata
35 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 114 MB of archives.
After this operation, 318 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://security.debian.org/debian-security bullseye-security/main amd64 linux-libc-dev amd64 5.10.149-2 [1551 kB]
Get:2 http://debian.ethz.ch/debian bullseye-updates/main amd64 libc6-dbg amd64 2.31-13+deb11u5 [7521 kB]
Get:3 https://deb.nodesource.com/node_16.x bullseye/main amd64 nodejs amd64 16.18.1-deb-1nodesource1 [27.2 MB]
Get:4 http://security.debian.org/debian-security bullseye-security/main amd64 libk5crypto3 amd64 1.18.3-6+deb11u3 [114 kB]
Get:5 http://security.debian.org/debian-security bullseye-security/main amd64 libkrb5support0 amd64 1.18.3-6+deb11u3 [65.5 kB]
Get:6 http://security.debian.org/debian-security bullseye-security/main amd64 libkrb5-3 amd64 1.18.3-6+deb11u3 [364 kB]
Get:7 http://security.debian.org/debian-security bullseye-security/main amd64 libgssapi-krb5-2 amd64 1.18.3-6+deb11u3 [165 kB]
Get:8 http://security.debian.org/debian-security bullseye-security/main amd64 krb5-locales all 1.18.3-6+deb11u3 [95.5 kB]
Get:9 http://security.debian.org/debian-security bullseye-security/main amd64 grub2-common amd64 2.06-3~deb11u4 [611 kB]
Get:10 http://security.debian.org/debian-security bullseye-security/main amd64 grub-efi-amd64 amd64 2.06-3~deb11u4 [40.2 kB]
Get:11 http://security.debian.org/debian-security bullseye-security/main amd64 grub-efi-amd64-bin amd64 2.06-3~deb11u4 [712 kB]
Get:12 http://security.debian.org/debian-security bullseye-security/main amd64 grub-common amd64 2.06-3~deb11u4 [2763 kB]
Get:13 http://security.debian.org/debian-security bullseye-security/main amd64 grub-efi-amd64-signed amd64 1+2.06+3~deb11u4 [474 kB]
Get:14 http://security.debian.org/debian-security bullseye-security/main amd64 libexpat1 amd64 2.2.10-2+deb11u5 [98.2 kB]
Get:15 http://security.debian.org/debian-security bullseye-security/main amd64 libksba8 amd64 1.5.0-3+deb11u1 [123 kB]
Get:16 http://security.debian.org/debian-security bullseye-security/main amd64 nginx-core amd64 1.18.0-6.1+deb11u3 [515 kB]
Get:17 http://security.debian.org/debian-security bullseye-security/main amd64 nginx all 1.18.0-6.1+deb11u3 [92.9 kB]
Get:18 http://security.debian.org/debian-security bullseye-security/main amd64 libnginx-mod-stream-geoip amd64 1.18.0-6.1+deb11u3 [97.7 kB]
Get:19 http://security.debian.org/debian-security bullseye-security/main amd64 libnginx-mod-stream amd64 1.18.0-6.1+deb11u3 [154 kB]
Get:20 http://security.debian.org/debian-security bullseye-security/main amd64 libnginx-mod-mail amd64 1.18.0-6.1+deb11u3 [129 kB]
Get:21 http://security.debian.org/debian-security bullseye-security/main amd64 libxml2 amd64 2.9.10+dfsg-6.7+deb11u3 [693 kB]
Get:22 http://security.debian.org/debian-security bullseye-security/main amd64 libnginx-mod-http-xslt-filter amd64 1.18.0-6.1+deb11u3 [100 kB]
Get:23 http://security.debian.org/debian-security bullseye-security/main amd64 libnginx-mod-http-image-filter amd64 1.18.0-6.1+deb11u3 [102 kB]
Get:24 http://security.debian.org/debian-security bullseye-security/main amd64 libnginx-mod-http-geoip amd64 1.18.0-6.1+deb11u3 [98.4 kB]
Get:25 http://security.debian.org/debian-security bullseye-security/main amd64 nginx-common all 1.18.0-6.1+deb11u3 [126 kB]
Get:26 http://security.debian.org/debian-security bullseye-security/main amd64 linux-image-5.10.0-19-amd64 amd64 5.10.149-2 [55.5 MB]
Get:27 http://debian.ethz.ch/debian bullseye-updates/main amd64 libc6-i386 amd64 2.31-13+deb11u5 [2616 kB]
Get:28 http://debian.ethz.ch/debian bullseye-updates/main amd64 libc-devtools amd64 2.31-13+deb11u5 [246 kB]
Get:29 http://debian.ethz.ch/debian bullseye-updates/main amd64 libc6-dev amd64 2.31-13+deb11u5 [2359 kB]
Get:30 http://debian.ethz.ch/debian bullseye-updates/main amd64 libc-dev-bin amd64 2.31-13+deb11u5 [276 kB]
Get:31 http://debian.ethz.ch/debian bullseye-updates/main amd64 libc6 amd64 2.31-13+deb11u5 [2825 kB]
Get:32 http://debian.ethz.ch/debian bullseye-updates/main amd64 libc-bin amd64 2.31-13+deb11u5 [828 kB]
Get:33 http://debian.ethz.ch/debian bullseye-updates/main amd64 tzdata all 2021a-1+deb11u8 [284 kB]
Get:34 http://debian.ethz.ch/debian bullseye-updates/main amd64 libc-l10n all 2.31-13+deb11u5 [865 kB]
Get:35 http://debian.ethz.ch/debian bullseye-updates/main amd64 locales all 2.31-13+deb11u5 [4086 kB]
Get:36 http://security.debian.org/debian-security bullseye-security/main amd64 linux-image-amd64 amd64 5.10.149-2 [1476 B]
Fetched 114 MB in 3s (36.7 MB/s)
Reading changelogs... Done
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 47652 files and directories currently installed.)
Preparing to unpack .../0-libc6-dbg_2.31-13+deb11u5_amd64.deb ...
Unpacking libc6-dbg:amd64 (2.31-13+deb11u5) over (2.31-13+deb11u4) ...
Preparing to unpack .../1-libc6-i386_2.31-13+deb11u5_amd64.deb ...
Unpacking libc6-i386 (2.31-13+deb11u5) over (2.31-13+deb11u4) ...
Preparing to unpack .../2-libc-devtools_2.31-13+deb11u5_amd64.deb ...
Unpacking libc-devtools (2.31-13+deb11u5) over (2.31-13+deb11u4) ...
Preparing to unpack .../3-libc6-dev_2.31-13+deb11u5_amd64.deb ...
Unpacking libc6-dev:amd64 (2.31-13+deb11u5) over (2.31-13+deb11u4) ...
Preparing to unpack .../4-libc-dev-bin_2.31-13+deb11u5_amd64.deb ...
Unpacking libc-dev-bin (2.31-13+deb11u5) over (2.31-13+deb11u4) ...
Preparing to unpack .../5-linux-libc-dev_5.10.149-2_amd64.deb ...
Unpacking linux-libc-dev:amd64 (5.10.149-2) over (5.10.140-1) ...
Preparing to unpack .../6-libc6_2.31-13+deb11u5_amd64.deb ...
Unpacking libc6:amd64 (2.31-13+deb11u5) over (2.31-13+deb11u4) ...
Setting up libc6:amd64 (2.31-13+deb11u5) ...
(Reading database ... 47651 files and directories currently installed.)
Preparing to unpack .../libc-bin_2.31-13+deb11u5_amd64.deb ...
Unpacking libc-bin (2.31-13+deb11u5) over (2.31-13+deb11u4) ...
Setting up libc-bin (2.31-13+deb11u5) ...
(Reading database ... 47651 files and directories currently installed.)
Preparing to unpack .../libk5crypto3_1.18.3-6+deb11u3_amd64.deb ...
Unpacking libk5crypto3:amd64 (1.18.3-6+deb11u3) over (1.18.3-6+deb11u2) ...
Setting up libk5crypto3:amd64 (1.18.3-6+deb11u3) ...
(Reading database ... 47651 files and directories currently installed.)
Preparing to unpack .../libkrb5support0_1.18.3-6+deb11u3_amd64.deb ...
Unpacking libkrb5support0:amd64 (1.18.3-6+deb11u3) over (1.18.3-6+deb11u2) ...
Setting up libkrb5support0:amd64 (1.18.3-6+deb11u3) ...
(Reading database ... 47651 files and directories currently installed.)
Preparing to unpack .../libkrb5-3_1.18.3-6+deb11u3_amd64.deb ...
Unpacking libkrb5-3:amd64 (1.18.3-6+deb11u3) over (1.18.3-6+deb11u2) ...
Setting up libkrb5-3:amd64 (1.18.3-6+deb11u3) ...
(Reading database ... 47651 files and directories currently installed.)
Preparing to unpack .../libgssapi-krb5-2_1.18.3-6+deb11u3_amd64.deb ...
Unpacking libgssapi-krb5-2:amd64 (1.18.3-6+deb11u3) over (1.18.3-6+deb11u2) ...
Setting up libgssapi-krb5-2:amd64 (1.18.3-6+deb11u3) ...
(Reading database ... 47651 files and directories currently installed.)
Preparing to unpack .../00-tzdata_2021a-1+deb11u8_all.deb ...
Unpacking tzdata (2021a-1+deb11u8) over (2021a-1+deb11u6) ...
Preparing to unpack .../01-krb5-locales_1.18.3-6+deb11u3_all.deb ...
Unpacking krb5-locales (1.18.3-6+deb11u3) over (1.18.3-6+deb11u2) ...
Preparing to unpack .../02-libc-l10n_2.31-13+deb11u5_all.deb ...
Unpacking libc-l10n (2.31-13+deb11u5) over (2.31-13+deb11u4) ...
Preparing to unpack .../03-locales_2.31-13+deb11u5_all.deb ...
Unpacking locales (2.31-13+deb11u5) over (2.31-13+deb11u4) ...
Preparing to unpack .../04-grub2-common_2.06-3~deb11u4_amd64.deb ...
Unpacking grub2-common (2.06-3~deb11u4) over (2.06-3~deb11u2) ...
Preparing to unpack .../05-grub-efi-amd64_2.06-3~deb11u4_amd64.deb ...
Unpacking grub-efi-amd64 (2.06-3~deb11u4) over (2.06-3~deb11u2) ...
Preparing to unpack .../06-grub-efi-amd64-bin_2.06-3~deb11u4_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.06-3~deb11u4) over (2.06-3~deb11u2) ...
Preparing to unpack .../07-grub-common_2.06-3~deb11u4_amd64.deb ...
Unpacking grub-common (2.06-3~deb11u4) over (2.06-3~deb11u2) ...
Preparing to unpack .../08-grub-efi-amd64-signed_1+2.06+3~deb11u4_amd64.deb ...
Unpacking grub-efi-amd64-signed (1+2.06+3~deb11u4) over (1+2.06+3~deb11u2) ...
Preparing to unpack .../09-libexpat1_2.2.10-2+deb11u5_amd64.deb ...
Unpacking libexpat1:amd64 (2.2.10-2+deb11u5) over (2.2.10-2+deb11u4) ...
Preparing to unpack .../10-libksba8_1.5.0-3+deb11u1_amd64.deb ...
Unpacking libksba8:amd64 (1.5.0-3+deb11u1) over (1.5.0-3) ...
Preparing to unpack .../11-nginx-core_1.18.0-6.1+deb11u3_amd64.deb ...
Unpacking nginx-core (1.18.0-6.1+deb11u3) over (1.18.0-6.1+deb11u2) ...
Preparing to unpack .../12-nginx_1.18.0-6.1+deb11u3_all.deb ...
Unpacking nginx (1.18.0-6.1+deb11u3) over (1.18.0-6.1+deb11u2) ...
Preparing to unpack .../13-libnginx-mod-stream-geoip_1.18.0-6.1+deb11u3_amd64.deb ...
Unpacking libnginx-mod-stream-geoip (1.18.0-6.1+deb11u3) over (1.18.0-6.1+deb11u2) ...
Preparing to unpack .../14-libnginx-mod-stream_1.18.0-6.1+deb11u3_amd64.deb ...
Unpacking libnginx-mod-stream (1.18.0-6.1+deb11u3) over (1.18.0-6.1+deb11u2) ...
Preparing to unpack .../15-libnginx-mod-mail_1.18.0-6.1+deb11u3_amd64.deb ...
Unpacking libnginx-mod-mail (1.18.0-6.1+deb11u3) over (1.18.0-6.1+deb11u2) ...
Preparing to unpack .../16-libxml2_2.9.10+dfsg-6.7+deb11u3_amd64.deb ...
Unpacking libxml2:amd64 (2.9.10+dfsg-6.7+deb11u3) over (2.9.10+dfsg-6.7+deb11u2) ...
Preparing to unpack .../17-libnginx-mod-http-xslt-filter_1.18.0-6.1+deb11u3_amd64.deb ...
Unpacking libnginx-mod-http-xslt-filter (1.18.0-6.1+deb11u3) over (1.18.0-6.1+deb11u2) ...
Preparing to unpack .../18-libnginx-mod-http-image-filter_1.18.0-6.1+deb11u3_amd64.deb ...
Unpacking libnginx-mod-http-image-filter (1.18.0-6.1+deb11u3) over (1.18.0-6.1+deb11u2) ...
Preparing to unpack .../19-libnginx-mod-http-geoip_1.18.0-6.1+deb11u3_amd64.deb ...
Unpacking libnginx-mod-http-geoip (1.18.0-6.1+deb11u3) over (1.18.0-6.1+deb11u2) ...
Preparing to unpack .../20-nginx-common_1.18.0-6.1+deb11u3_all.deb ...
Unpacking nginx-common (1.18.0-6.1+deb11u3) over (1.18.0-6.1+deb11u2) ...
Selecting previously unselected package linux-image-5.10.0-19-amd64.
Preparing to unpack .../21-linux-image-5.10.0-19-amd64_5.10.149-2_amd64.deb ...
Unpacking linux-image-5.10.0-19-amd64 (5.10.149-2) ...
Preparing to unpack .../22-linux-image-amd64_5.10.149-2_amd64.deb ...
Unpacking linux-image-amd64 (5.10.149-2) over (5.10.140-1) ...
Preparing to unpack .../23-nodejs_16.18.1-deb-1nodesource1_amd64.deb ...
Unpacking nodejs (16.18.1-deb-1nodesource1) over (16.17.1-deb-1nodesource1) ...
Setting up libksba8:amd64 (1.5.0-3+deb11u1) ...
Setting up libexpat1:amd64 (2.2.10-2+deb11u5) ...
Setting up libc-l10n (2.31-13+deb11u5) ...
Setting up linux-libc-dev:amd64 (5.10.149-2) ...
Setting up nginx-common (1.18.0-6.1+deb11u3) ...
Setting up krb5-locales (1.18.3-6+deb11u3) ...
Setting up locales (2.31-13+deb11u5) ...
Generating locales (this might take a while)...
en_US.UTF-8... done
Generation complete.
Setting up nodejs (16.18.1-deb-1nodesource1) ...
Setting up libc6-dbg:amd64 (2.31-13+deb11u5) ...
Setting up tzdata (2021a-1+deb11u8) ...
Current default time zone: 'Europe/Zurich'
Local time is now: Mon Dec 5 12:44:57 CET 2022.
Universal Time is now: Mon Dec 5 11:44:57 UTC 2022.
Run 'dpkg-reconfigure tzdata' if you wish to change it.
Setting up grub-common (2.06-3~deb11u4) ...
Setting up libnginx-mod-http-geoip (1.18.0-6.1+deb11u3) ...
Setting up linux-image-5.10.0-19-amd64 (5.10.149-2) ...
I: /vmlinuz is now a symlink to boot/vmlinuz-5.10.0-19-amd64
I: /initrd.img is now a symlink to boot/initrd.img-5.10.0-19-amd64
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.10.0-19-amd64
W: Possible missing firmware /lib/firmware/tigon/tg3_tso5.bin for module tg3
W: Possible missing firmware /lib/firmware/tigon/tg3_tso.bin for module tg3
W: Possible missing firmware /lib/firmware/tigon/tg3.bin for module tg3
/etc/kernel/postinst.d/zz-update-grub:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.10.0-19-amd64
Found initrd image: /boot/initrd.img-5.10.0-19-amd64
Found linux image: /boot/vmlinuz-5.10.0-18-amd64
Found initrd image: /boot/initrd.img-5.10.0-18-amd64
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
done
Setting up libc6-i386 (2.31-13+deb11u5) ...
Setting up grub-efi-amd64-bin (2.06-3~deb11u4) ...
Setting up libc-dev-bin (2.31-13+deb11u5) ...
Setting up libxml2:amd64 (2.9.10+dfsg-6.7+deb11u3) ...
Setting up libc-devtools (2.31-13+deb11u5) ...
Setting up libnginx-mod-mail (1.18.0-6.1+deb11u3) ...
Setting up grub-efi-amd64-signed (1+2.06+3~deb11u4) ...
Setting up grub2-common (2.06-3~deb11u4) ...
Setting up libnginx-mod-http-image-filter (1.18.0-6.1+deb11u3) ...
Setting up libnginx-mod-stream (1.18.0-6.1+deb11u3) ...
Setting up libnginx-mod-stream-geoip (1.18.0-6.1+deb11u3) ...
Setting up linux-image-amd64 (5.10.149-2) ...
Setting up libnginx-mod-http-xslt-filter (1.18.0-6.1+deb11u3) ...
Setting up grub-efi-amd64 (2.06-3~deb11u4) ...
Installing for x86_64-efi platform.
Installation finished. No error reported.
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.10.0-19-amd64
Found initrd image: /boot/initrd.img-5.10.0-19-amd64
Found linux image: /boot/vmlinuz-5.10.0-18-amd64
Found initrd image: /boot/initrd.img-5.10.0-18-amd64
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
done
Setting up libc6-dev:amd64 (2.31-13+deb11u5) ...
Setting up nginx-core (1.18.0-6.1+deb11u3) ...
Upgrading binary: nginx.
Setting up nginx (1.18.0-6.1+deb11u3) ...
Processing triggers for ufw (0.36-7.1) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for libc-bin (2.31-13+deb11u5) ...
Processing triggers for shim-signed:amd64 (1.38+15.4-7) ...
But if I have a RAID1 with a separate EFi boot partition, I think the system needs some additional steps to update it correctlly!
My structure of the RAID1 is as follows:
Code: Select all
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
|-sda1 8:1 0 953M 0 part /boot/efi
|-sda2 8:2 0 14.9G 0 part
| `-md0 9:0 0 14.9G 0 raid1 [SWAP]
`-sda3 8:3 0 915.7G 0 part
`-md1 9:1 0 915.6G 0 raid1 /
sdb 8:16 0 931.5G 0 disk
|-sdb1 8:17 0 953M 0 part
|-sdb2 8:18 0 14.9G 0 part
| `-md0 9:0 0 14.9G 0 raid1 [SWAP]
`-sdb3 8:19 0 915.7G 0 part
`-md1 9:1 0 915.6G 0 raid1 /
Now my question is:
Would it be sufficient to make a new temporary directory, mount the other (sdb1) and reinstall grub then unmount it again and delete the diretory?
Code: Select all
$ mkdir /tmp/otherboot
$ mount /dev/sdb1 /tmp/otherboot
$ grub-install --efi-directory=/tmp/otherboot --force-extra-removable
$ umount /dev/sdb1
$ rmdir /tmp/otherboot
Many thanks in advance for any hints and/or suggestions