ETAT INITIAL :
La manip est faite dans une machine virtuelle avec VirtualBox. Elle est configurée pour le mode non-EFI (mode Bios classique).
Je pars d'une installation de Ubuntu 18.04.4 réalisée avec le choix "Effacer le disque et installer Ubuntu" à l'étape "Type d''installation"
Je colle le Boot-info obtenu depuis une session du Ubuntu 18.04.4 installé :
boot-info-4ppa125 [20200624_1830]
============================== Boot Info Summary ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos1)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
=> libparted MBR boot code is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 18.04.4 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
sdb1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
================================ 1 OS detected =================================
OS#1: L'OS actuellement utilisé - Ubuntu 18.04.4 LTS CurrentSession on sda1
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.3.0-28-generic root=UUID=fd391806-3e6b-4891-8aaf-26af0f12dffe ro quiet splash
===================================== UEFI =====================================
This installed-session is not in EFI-mode.
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
sdb : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda1 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, not-far
sdb1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
sda1 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda1 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sdb1 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
fdisk -l (filtered): ___________________________________________________________
Disk sda: 20.1 GiB, 21613379584 bytes, 42213632 sectors
Disk identifier: 0xca23d591
Boot Start End Sectors Size Id Type
sda1 * 2048 42213375 42211328 20.1G 83 Linux
Disk sdb: 61.3 GiB, 65763082240 bytes, 128443520 sectors
Disk identifier: 0xd8be4c12
Boot Start End Sectors Size Id Type
sdb1 2048 128442367 128440320 61.3G 83 Linux
parted -lm (filtered): _________________________________________________________
sda:21.6GB:scsi:512:512:msdos:ATA VBOX HARDDISK:;
1:1049kB:21.6GB:21.6GB:ext4::boot;
sdb:65.8GB:scsi:512:512:msdos:ATA VBOX HARDDISK:;
1:1049kB:65.8GB:65.8GB:ext4::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
└─sda1 ext4 fd391806-3e6b-4891-8aaf-26af0f12dffe ca23d591-01
sdb
└─sdb1 ext4 11efb032-65f4-4ffb-83a9-19b2579e0138 d8be4c12-01 img_clonezilla
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda1 12.9G 29% /
sdb1 50.4G 11% /mnt/boot-sav/sdb1
Mount options: __________________________________________________________________
sda1 rw,relatime,errors=remount-ro
sdb1 rw,relatime
====================== sda1/boot/grub/grub.cfg (filtered) ======================
Ubuntu fd391806-3e6b-4891-8aaf-26af0f12dffe
Ubuntu, avec Linux 5.3.0-28-generic fd391806-3e6b-4891-8aaf-26af0f12dffe
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sda1/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=fd391806-3e6b-4891-8aaf-26af0f12dffe / ext4 errors=remount-ro 0 1
/swapfile none swap sw 0 0
======================= sda1/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
==================== sda1: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
10.279594421 = 11.037630464 boot/grub/grub.cfg 1
16.619136810 = 17.844662272 boot/grub/i386-pc/core.img 1
3.407222748 = 3.658477568 boot/vmlinuz-5.3.0-28-generic 2
3.407222748 = 3.658477568 vmlinuz 2
4.640563965 = 4.982767616 boot/initrd.img-5.3.0-28-generic 4
4.640563965 = 4.982767616 initrd.img 4
4.640563965 = 4.982767616 initrd.img.old 4
===================== sda1: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 12693 nov. 11 2019 10_linux
-rwxr-xr-x 1 root root 11298 nov. 11 2019 20_linux_xen
-rwxr-xr-x 1 root root 12059 nov. 11 2019 30_os-prober
-rwxr-xr-x 1 root root 1418 nov. 11 2019 30_uefi-firmware
-rwxr-xr-x 1 root root 214 nov. 11 2019 40_custom
-rwxr-xr-x 1 root root 216 nov. 11 2019 41_custom
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub2 of
sda1 into the MBRs of all disks (except live-disks and removable disks without OS).
Additional repair would be performed: unhide-bootmenu-10s
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your BIOS boot on sda (ATA VBOX HARDDISK) disk!
On y voit que l'installateur a créé une partition unique sur le disque sda, ce qui est parfait. Ne pas tenir compte de sdb : il n'intervient pas dans la manip. J'ai créé cet état initial pour montrer que l'installateur de Ubuntu 18.04.4 fonctionne de façon satisfaisante et mieux mettre en évidence que l'installateur de Ubuntu 20.04 est merdique.
INSTALLATION DE UBUNTU 20.04 :
J'installe en écrasant l'installation 18.04.4 précédente. Le disque virtuel utilisé est le fichier ISO de Ubuntu 20.04 : ubuntu-20.04-desktop-amd64.iso
Je colle les captures des étapes significatives :




Photo 1 : je montre que la session live est démarrée en mode non-EFI (mode Bios classique). Normal puisque la machine virtuelle est configurée dans ce mode non-EFI
Photo 2 : Après lancement de l'installation depuis la session live, je choisis "Effacer le disque et installer Ubuntu"
Photo 3 : l’installateur indique "une partition sera supprimée". C'est la partition dans laquelle Ubuntu 18.04.4 est installée.
Photo 4 : c'est là qu'on peut voir qu'il va merder : on peut lire qu'il va créer une partition n°1 et une partition n°5
Photo 5 : j'ai poursuivi l'installation et arrivé à la fin, je choisis "Continuer à tester" afin de faire un Boot-info
Boot-info réalisé en fin d'installation de Ubuntu 20.04, depuis la session live :
boot-info-4ppa125 [20200624_2030]
============================== Boot Info Summary ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos5)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
=> libparted MBR boot code is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 20.04 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
sdb1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
================================ 1 OS detected =================================
OS#1: Ubuntu 20.04 LTS on sda5
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04 LTS, focal, x86_64)
===================================== UEFI =====================================
This live-session is not in EFI-mode.
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : notGPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
sdb : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdb1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda5 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, not-far
Partitions info (2/3): _________________________________________________________
sda1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda5 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sdb1 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
sda5 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 20.13 GiB, 21613379584 bytes, 42213632 sectors
Disk identifier: 0xb329f377
Boot Start End Sectors Size Id Type
sda1 * 2048 1050623 1048576 512M b W95 FAT32
sda2 1052670 42213375 41160706 19.6G 5 Extended
sda5 1052672 42213375 41160704 19.6G 83 Linux
Disk sdb: 61.25 GiB, 65763082240 bytes, 128443520 sectors
Disk identifier: 0xd8be4c12
Boot Start End Sectors Size Id Type
sdb1 2048 128442367 128440320 61.3G 83 Linux
parted -lm (filtered): _________________________________________________________
sda:21.6GB:scsi:512:512:msdos:ATA VBOX HARDDISK:;
1:1049kB:538MB:537MB:fat32::boot;
2:539MB:21.6GB:21.1GB:::;
5:539MB:21.6GB:21.1GB:ext4::;
sdb:65.8GB:scsi:512:512:msdos:ATA VBOX HARDDISK:;
1:1049kB:65.8GB:65.8GB:ext4::;
sr0:2715MB:scsi:2048:2048:mac:VBOX CD-ROM:;
1:2048B:6143B:4096B::Apple:;
2:2162MB:2166MB:4063kB::EFI:;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat 5864-5D2F b329f377-01
├─sda2 b329f377-02
└─sda5 ext4 5a7cf819-9c28-495f-96f5-a732c7a5df14 b329f377-05
sdb
└─sdb1 ext4 11efb032-65f4-4ffb-83a9-19b2579e0138 d8be4c12-01 img_clonezilla
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda1 511M 0% /mnt/boot-sav/sda1
sda5 11.8G 34% /target
sdb1 50.4G 11% /mnt/boot-sav/sdb1
Mount options: __________________________________________________________________
sda1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda5 rw,relatime,errors=remount-ro
sdb1 rw,relatime
====================== sda5/boot/grub/grub.cfg (filtered) ======================
Ubuntu 5a7cf819-9c28-495f-96f5-a732c7a5df14
Ubuntu, avec Linux 5.4.0-37-generic 5a7cf819-9c28-495f-96f5-a732c7a5df14
Ubuntu, avec Linux 5.4.0-26-generic 5a7cf819-9c28-495f-96f5-a732c7a5df14
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sda5/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=5a7cf819-9c28-495f-96f5-a732c7a5df14 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=5864-5D2F /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
======================= sda5/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
==================== sda5: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
14,629669189 = 15,708487680 boot/grub/grub.cfg 2
4,911090851 = 5,273243648 boot/grub/i386-pc/core.img 1
5,731563568 = 6,154219520 boot/vmlinuz 1
4,017574310 = 4,313837568 boot/vmlinuz-5.4.0-26-generic 2
5,731563568 = 6,154219520 boot/vmlinuz-5.4.0-37-generic 1
4,017574310 = 4,313837568 boot/vmlinuz.old 2
6,008968353 = 6,452080640 boot/initrd.img 3
5,977695465 = 6,418501632 boot/initrd.img-5.4.0-26-generic 2
6,008968353 = 6,452080640 boot/initrd.img-5.4.0-37-generic 3
5,977695465 = 6,418501632 boot/initrd.img.old 2
===================== sda5: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 17123 avril 15 13:31 10_linux
-rwxr-xr-x 1 root root 42128 avril 15 13:31 10_linux_zfs
-rwxr-xr-x 1 root root 12894 avril 15 13:31 20_linux_xen
-rwxr-xr-x 1 root root 12059 avril 15 13:31 30_os-prober
-rwxr-xr-x 1 root root 1424 avril 15 13:31 30_uefi-firmware
-rwxr-xr-x 1 root root 214 avril 15 13:31 40_custom
-rwxr-xr-x 1 root root 216 avril 15 13:31 41_custom
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub-efi-amd64-signed of
sda5,
using the following options: sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file
Blockers in case of suggested repair: __________________________________________
/target detected. Please close the Ubuntu installer, then retry. The current session is in BIOS-compatibility mode. Please disable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB) that is compatible with UEFI booting mode. For example, use a live-USB of Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), after making sure your BIOS is set up to boot USB in EFI mode. This will enable this feature.
Confirmation request before suggested repair: __________________________________
The boot of your PC is in BIOS-compatibility/CSM/Legacy mode. You may want to retry after changing it to EFI mode.
Alternatively, you may want to retry after deactivating the [Separate /usr partition:] option.
Are you sure you want to continue anyway?
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the Ubuntu 20.04 LTS entry (sda1/efi/****/shim****.efi (**** will be updated in the final message) file) !
The boot of your PC is in BIOS-compatibility/CSM/Legacy mode. You may want to retry after changing it to UEFI mode.
Comme il l'avait annoncé dans la photo 4, l'installateur a créé une partition sda1 er une partition sda5
Non seulement l'installateur a créé cette partition sda1 (format FAT32) au début du disque mais le pompon c'est qu'il a créé une ligne de montage de cette partition dans /boot/efi comme on peut voir dans cet extrait concernant le fichier fstab :
========================== sda5/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=5a7cf819-9c28-495f-96f5-a732c7a5df14 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=5864-5D2F /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
Or on est dans une installation faite en mode non-EFI donc ce montage est absurde.
Boot-info réalisé depuis une session du Ubuntu 20.04 installé :
boot-info-4ppa125 [20200624_2051]
============================== Boot Info Summary ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos5)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
=> libparted MBR boot code is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 20.04 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
sdb1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
================================ 1 OS detected =================================
OS#1: L'OS actuellement utilisé - Ubuntu 20.04 LTS CurrentSession on sda5
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-37-generic root=UUID=5a7cf819-9c28-495f-96f5-a732c7a5df14 ro quiet splash
===================================== UEFI =====================================
This installed-session is not in EFI-mode.
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : notGPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
sdb : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda5 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, not-far
sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sdb1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
sda5 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda5 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sda1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sdb1 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
fdisk -l (filtered): ___________________________________________________________
Disk sda: 20.13 GiB, 21613379584 bytes, 42213632 sectors
Disk identifier: 0xb329f377
Boot Start End Sectors Size Id Type
sda1 * 2048 1050623 1048576 512M b W95 FAT32
sda2 1052670 42213375 41160706 19.6G 5 Extended
sda5 1052672 42213375 41160704 19.6G 83 Linux
Disk sdb: 61.25 GiB, 65763082240 bytes, 128443520 sectors
Disk identifier: 0xd8be4c12
Boot Start End Sectors Size Id Type
sdb1 2048 128442367 128440320 61.3G 83 Linux
parted -lm (filtered): _________________________________________________________
sda:21.6GB:scsi:512:512:msdos:ATA VBOX HARDDISK:;
1:1049kB:538MB:537MB:fat32::boot;
2:539MB:21.6GB:21.1GB:::;
5:539MB:21.6GB:21.1GB:ext4::;
sdb:65.8GB:scsi:512:512:msdos:ATA VBOX HARDDISK:;
1:1049kB:65.8GB:65.8GB:ext4::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat 5864-5D2F b329f377-01
├─sda2 b329f377-02
└─sda5 ext4 5a7cf819-9c28-495f-96f5-a732c7a5df14 b329f377-05
sdb
└─sdb1 ext4 11efb032-65f4-4ffb-83a9-19b2579e0138 d8be4c12-01 img_clonezilla
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda5 11.6G 34% /
sdb1 50.4G 11% /mnt/boot-sav/sdb1
Mount options: __________________________________________________________________
sda5 rw,relatime,errors=remount-ro
sdb1 rw,relatime
====================== sda5/boot/grub/grub.cfg (filtered) ======================
Ubuntu 5a7cf819-9c28-495f-96f5-a732c7a5df14
Ubuntu, avec Linux 5.4.0-37-generic 5a7cf819-9c28-495f-96f5-a732c7a5df14
Ubuntu, avec Linux 5.4.0-26-generic 5a7cf819-9c28-495f-96f5-a732c7a5df14
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sda5/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=5a7cf819-9c28-495f-96f5-a732c7a5df14 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=5864-5D2F /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
======================= sda5/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
==================== sda5: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
14,629669189 = 15,708487680 boot/grub/grub.cfg 2
4,911090851 = 5,273243648 boot/grub/i386-pc/core.img 1
5,731563568 = 6,154219520 boot/vmlinuz 1
4,017574310 = 4,313837568 boot/vmlinuz-5.4.0-26-generic 2
5,731563568 = 6,154219520 boot/vmlinuz-5.4.0-37-generic 1
4,017574310 = 4,313837568 boot/vmlinuz.old 2
6,008968353 = 6,452080640 boot/initrd.img 3
5,977695465 = 6,418501632 boot/initrd.img-5.4.0-26-generic 2
6,008968353 = 6,452080640 boot/initrd.img-5.4.0-37-generic 3
5,977695465 = 6,418501632 boot/initrd.img.old 2
===================== sda5: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 17123 avril 15 13:31 10_linux
-rwxr-xr-x 1 root root 42128 avril 15 13:31 10_linux_zfs
-rwxr-xr-x 1 root root 12894 avril 15 13:31 20_linux_xen
-rwxr-xr-x 1 root root 12059 avril 15 13:31 30_os-prober
-rwxr-xr-x 1 root root 1424 avril 15 13:31 30_uefi-firmware
-rwxr-xr-x 1 root root 214 avril 15 13:31 40_custom
-rwxr-xr-x 1 root root 216 avril 15 13:31 41_custom
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub-efi-amd64-signed of
sda5,
using the following options: sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file
Blockers in case of suggested repair: __________________________________________
The current session is in BIOS-compatibility mode. Please disable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB) that is compatible with UEFI booting mode. For example, use a live-USB of Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), after making sure your BIOS is set up to boot USB in EFI mode. This will enable this feature.
Confirmation request before suggested repair: __________________________________
The boot of your PC is in BIOS-compatibility/CSM/Legacy mode. You may want to retry after changing it to EFI mode.
Alternatively, you may want to retry after deactivating the [Separate /usr partition:] option.
Are you sure you want to continue anyway?
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 20.04 LTS CurrentSession entry (sda1/efi/****/shim****.efi (**** will be updated in the final message) file) !
The boot of your PC is in BIOS-compatibility/CSM/Legacy mode. You may want to retry after changing it to UEFI mode.
On y voit que la session est bien démarrée en mode non-EFI :
===================================== UEFI =====================================
This installed-session is not in EFI-mode.
Et on trouve la proposition de réparation délirante qui existait déjà dans le Boot-info précédent :
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would purge (in order to fix packages) and reinstall the grub-efi-amd64-signed of
sda5,
using the following options: sda1/boot/efi
A savoir que Boot-repair propose de réinstaller la version EFI de grub alors que l'installation est en mode non-EFI. La présence de la partition sda1 au format FAT32 est interprétée dans le Boot-info comme le signe d'une installation EFI alors qu'il n'en est rien.
Conclusion :
Le défaut de l'installateur de Ubuntu 20.04 se produit dans des conditions particulières : installation en mode non-EFI et choix "Effacer le disque et installer Ubuntu" lors de l'installation. Je pense que c'est pour cette raison qu'il n'est pas rencontré fréquemment. EDIT : ce défaut affecte également Xubuntu 20.04 alors que Lubuntu 20.04 n'a pas le problème (voir mon post #12 plus bas)