I have an error with grub after doing an upgrade package, can I get some help please ?
Here the error during installing
Code: Select all
Setting up grub-common (2.02+dfsg1-20+deb10u3) ...
Setting up grub-efi-amd64-bin (2.02+dfsg1-20+deb10u3) ...
Setting up grub-efi-amd64-signed (1+2.02+dfsg1+20+deb10u3) ...
Setting up grub2-common (2.02+dfsg1-20+deb10u3) ...
Setting up grub-pc-bin (2.02+dfsg1-20+deb10u3) ...
Setting up grub-pc (2.02+dfsg1-20+deb10u3) ...
Installing for i386-pc platform.
grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
grub-install: error: embedding is not possible, but this is required for RAID and LVM install.
You must correct your GRUB install devices before proceeding:
dpkg-reconfigure grub-pc
dpkg: error processing package grub-pc (--configure):
installed grub-pc package post-installation script subprocess returned error exit status 1
Processing triggers for dbus (1.12.20-0+deb10u1) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for systemd (241-7~deb10u6) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for ntp (1:4.2.8p12+dfsg-4) ...
Processing triggers for ca-certificates (20200601~deb10u2) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Processing triggers for initramfs-tools (0.133+deb10u1) ...
update-initramfs: Generating /boot/initrd.img-4.19.0-8-amd64
I: The initramfs will attempt to resume from /dev/sdb3
I: (UUID=4400e9c5-936f-46c9-8da6-4acc5f8b97af)
I: Set the RESUME variable to override this.
Processing triggers for dovecot-core (1:2.3.4.1-5+deb10u6) ...
Errors were encountered while processing:
grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)
Code: Select all
> fdisk -l
Disk /dev/sda: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors
Disk model: HGST HUS724040AL
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 2DB59B16-136E-40F9-A322-D5235563FB9B
Device Start End Sectors Size Type
/dev/sda1 2048 1048575 1046528 511M EFI System
/dev/sda2 1048576 7812980735 7811932160 3.7T Linux RAID
/dev/sda3 7812980736 7814027263 1046528 511M Linux swap
/dev/sda4 7814035215 7814037134 1920 960K Linux filesystem
Disk /dev/sdb: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors
Disk model: HGST HUS724040AL
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 8D2D6667-FC64-4EFF-BD18-81871D1C99FE
Device Start End Sectors Size Type
/dev/sdb1 2048 1048575 1046528 511M EFI System
/dev/sdb2 1048576 7812980735 7811932160 3.7T Linux RAID
/dev/sdb3 7812980736 7814027263 1046528 511M Linux swap
Disk /dev/md2: 3.7 TiB, 3999709200384 bytes, 7811932032 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
> od -tx1z -Ax -N 446 /dev/sda1
000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 08 20 00 >.X.mkfs.fat... .<
000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 >........?.......<
000020 00 f8 0f 00 fc 03 00 00 00 00 00 00 02 00 00 00 >................<
000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000040 80 00 29 a8 83 38 13 45 46 49 5f 53 59 53 50 41 >..)..8.EFI_SYSPA<
000050 52 54 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac >RTFAT32 ...w|.<
000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 >".t.V.......^..2<
000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e >.......This is n<
000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 >ot a bootable di<
000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 >sk. Please inse<
0000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c >rt a bootable fl<
0000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 >oppy and..press <
0000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 >any key to try a<
0000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 >gain ... .......<
0000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
*
0001b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >..............<
0001be
> od -tx1z -Ax -N 446 /dev/sdb1
000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 08 20 00 >.X.mkfs.fat... .<
000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 >........?.......<
000020 00 f8 0f 00 fc 03 00 00 00 00 00 00 02 00 00 00 >................<
000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
000040 80 01 29 c2 3d 7e 13 45 46 49 5f 53 59 53 50 41 >..).=~.EFI_SYSPA<
000050 52 54 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac >RTFAT32 ...w|.<
000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 >".t.V.......^..2<
000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e >.......This is n<
000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 >ot a bootable di<
000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 >sk. Please inse<
0000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c >rt a bootable fl<
0000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 >oppy and..press <
0000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 >any key to try a<
0000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 >gain ... .......<
0000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
*
0001b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >..............<
0001be
> blkid
/dev/sda1: LABEL_FATBOOT="EFI_SYSPART" LABEL="EFI_SYSPART" UUID="1338-83A8" TYPE="vfat" PARTLABEL="primary" PARTUUID="f70faeba-7221-4637-96b8-a47a9579d3fd"
/dev/sda2: UUID="b8df49cb-3565-aab8-a4d2-adc226fd5302" TYPE="linux_raid_member" PARTLABEL="primary" PARTUUID="989ce6a1-286c-4d9d-8413-c093135d43c2"
/dev/sda3: LABEL="swap-sda3" UUID="f2a4c1c1-07af-473c-abee-e323d456aa5a" TYPE="swap" PARTLABEL="primary" PARTUUID="a3234ad6-2524-4ca8-aa9c-81dde53fca78"
/dev/sda4: UUID="2020-04-07-10-42-57-00" LABEL="config-2" TYPE="iso9660" PARTLABEL="config-drive" PARTUUID="bca400b9-8cff-4a69-88e4-1431b0d2f07c"
/dev/sdb1: LABEL_FATBOOT="EFI_SYSPART" LABEL="EFI_SYSPART" UUID="137E-3DC2" TYPE="vfat" PARTLABEL="primary" PARTUUID="69cec58c-cd38-4129-85e9-f701c931506d"
/dev/sdb2: UUID="b8df49cb-3565-aab8-a4d2-adc226fd5302" TYPE="linux_raid_member" PARTLABEL="primary" PARTUUID="803642da-2c63-41b1-ab96-8e9e6fa57197"
/dev/sdb3: LABEL="swap-sdb3" UUID="4400e9c5-936f-46c9-8da6-4acc5f8b97af" TYPE="swap" PARTLABEL="primary" PARTUUID="51e5fc3f-eaa1-4e3d-9c29-8ba88481e4d4"
/dev/md2: LABEL="/" UUID="2088258e-06ac-4de8-b63e-29e0a741760d" TYPE="ext4"
> cat /proc/mdstat
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
md2 : active raid1 sdb2[1] sda2[0]
3905966016 blocks [2/2] [UU]
bitmap: 13/30 pages [52KB], 65536KB chunk
unused devices: <none>
Kernel CPU Linux 4.19.0-8-amd64 on x86_64
Thank you a lot in advance for your help