Babdu89 a écrit;
Bon, on va voir si çà redémarre sur la clé copie de tests en Mode UEFI.
Çà démarre en mode UEFI.
Le menu grub s'affiche, plymouth s'affiche...
Au bout d'un quart d'heur vingt minutes, il n'y a qu'a voir la différence de temps entre les posts#20 et 21. Je laisse tombé l'attente du démarrage...
Il me semble avoir vu un sujet où un Ubuntu était installé en mode UEFI sur un support table de partition MSDos.
L'utilisateur se plaignait d'avoir trop à attendre au démarrage.
Je vais refaire les test du post#20 avec une autre copie sur la clé avec table de partition GPT. Pour voir, si il y a une différence.
Edit;
Non, non!!. çà marche après avoir changer les UUID des partitions dans le fstab de le copie, chose que j'avais oublié de faire depuis la machine Bios_Legacy.
Je vais installer un grub_pc pour voir la clé démarrer dans les deux modes UEFI/Bios_Legacy.
Pour aller assez vite, j'installe boot-repair dans la copie, puis je la redémarre en Bios_Legacy à l'aide de super grub2 disk en Bios_Legacy.
Un boot-info fait depuis la copie démarrée en Bios_Legacy;
boot-info-4ppa125 [20200706_0039]
============================== 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 (,msdos2)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
=> Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos2)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 7/2008: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
sda2: __________________________________________________________________________
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: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/BOOT/bootx64.efi /efi/BOOT/fbx64.efi
/efi/BOOT/grubx64.efi /efi/BOOT/mmx64.efi
/efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi
/efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg
sdb2: __________________________________________________________________________
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
================================ 3 OS detected =================================
OS#1: L'OS actuellement utilisé - Ubuntu 20.04 LTS CurrentSession on sdb2
OS#2: Windows 7 on sda1
OS#3: Ubuntu 20.04 LTS on sda2
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-40-generic root=UUID=0192457a-a5f1-47c7-984e-b81212150196 ro quiet splash vt.handoff=7
===================================== UEFI =====================================
This installed-session is not in EFI-mode.
f7a57b08bc7c1c85417ae4cea582d1d4 sdb1/BOOT/bootx64.efi
bed45d1c9554cea09924d3814cb7c446 sdb1/BOOT/fbx64.efi
5c14b2158486ded02655f86386b249e2 sdb1/BOOT/grubx64.efi
4487628005555bfd4a4c0a47211e0700 sdb1/BOOT/mmx64.efi
5c14b2158486ded02655f86386b249e2 sdb1/ubuntu/grubx64.efi
4487628005555bfd4a4c0a47211e0700 sdb1/ubuntu/mmx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4 sdb1/ubuntu/shimx64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sdb : notGPT, no-BIOSboot, has---ESP, usb-disk, not-mmc, has-os, 2048 sectors * 512 bytes
sda : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sdb2 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, not-far
sda1 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda2 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, farbios
sdb1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
sdb2 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda1 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, is-winboot
sda2 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sdb2 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sdb
sda1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda2 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sdb1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
fdisk -l (filtered): ___________________________________________________________
Disk sda: 111.81 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 0x00040603
Boot Start End Sectors Size Id Type
sda1 * 2048 56383487 56381440 26.9G 7 HPFS/NTFS/exFAT
sda2 56383488 234440703 178057216 84.9G 83 Linux
Disk sdb: 60.1 GiB, 64525172736 bytes, 126025728 sectors
Disk identifier: 0x3aedbe9d
Boot Start End Sectors Size Id Type
sdb1 * 2048 616447 614400 300M ef EFI (FAT-12/16/32)
sdb2 616448 126025727 125409280 59.8G 83 Linux
parted -lm (filtered): _________________________________________________________
sda:120GB:scsi:512:512:msdos:ATA LDLC:;
1:1049kB:28.9GB:28.9GB:ntfs::boot;
2:28.9GB:120GB:91.2GB:ext4::;
sdb:64.5GB:scsi:512:512:msdos:Verbatim STORE N GO:;
1:1049kB:316MB:315MB:fat32::boot, esp;
2:316MB:64.5GB:64.2GB:ext4::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 ntfs FA2AC6152AC5CF37 00040603-01 windows-7-del
└─sda2 ext4 9f5305b9-ddf9-4400-838d-7bb99f8b492f 00040603-02 ubuntu20.04-dell
sdb
├─sdb1 vfat E220-C4CF 3aedbe9d-01
└─sdb2 ext4 0192457a-a5f1-47c7-984e-b81212150196 3aedbe9d-02 copy-xubu-20.04
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda1 3G 89% /mnt/boot-sav/sda1
sda2 32.8G 55% /mnt/boot-sav/sda2
sdb1 290M 3% /mnt/boot-sav/sdb1
sdb2 45.7G 17% /
Mount options: __________________________________________________________________
sda1 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda2 rw,relatime
sdb1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sdb2 rw,relatime,errors=remount-ro
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu 9f5305b9-ddf9-4400-838d-7bb99f8b492f
Ubuntu, avec Linux 5.4.0-40-generic 9f5305b9-ddf9-4400-838d-7bb99f8b492f
Ubuntu, avec Linux 5.4.0-39-generic 9f5305b9-ddf9-4400-838d-7bb99f8b492f
Windows 7 (sur sda1) FA2AC6152AC5CF37
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sda2/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdc16 during installation
UUID=9f5305b9-ddf9-4400-838d-7bb99f8b492f / ext4 errors=remount-ro 0 1
# swap was on /dev/sdc6 during installation
/file.swap none swap sw 0 0
======================= sda2/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
==================== sda2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
31,015373230 = 33,302503424 boot/grub/grub.cfg 1
31,032611847 = 33,321013248 boot/grub/i386-pc/core.img 1
57,755977631 = 62,015008768 boot/vmlinuz 1
58,529415131 = 62,845480960 boot/vmlinuz-5.4.0-39-generic 1
57,755977631 = 62,015008768 boot/vmlinuz-5.4.0-40-generic 1
58,529415131 = 62,845480960 boot/vmlinuz.old 1
50,737300873 = 54,478761984 boot/initrd.img 6
57,390190125 = 61,622247424 boot/initrd.img-5.4.0-39-generic 2
50,737300873 = 54,478761984 boot/initrd.img-5.4.0-40-generic 6
57,390190125 = 61,622247424 boot/initrd.img.old 2
===================== sda2: 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
===================== sdb1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid 0192457a-a5f1-47c7-984e-b81212150196 root hd1,msdos2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sdb2/boot/grub/grub.cfg (filtered) ======================
Ubuntu 0192457a-a5f1-47c7-984e-b81212150196
Ubuntu, with Linux 5.4.0-40-generic 0192457a-a5f1-47c7-984e-b81212150196
Ubuntu, with Linux 5.4.0-39-generic 0192457a-a5f1-47c7-984e-b81212150196
Windows 7 (on sda1) FA2AC6152AC5CF37
Ubuntu 20.04 LTS (20.04) (on sda2) 9f5305b9-ddf9-4400-838d-7bb99f8b492f
Ubuntu (on sda2) 9f5305b9-ddf9-4400-838d-7bb99f8b492f
Ubuntu, avec Linux 5.4.0-40-generic (on sda2) 9f5305b9-ddf9-4400-838d-7bb99f8b492f
Ubuntu, avec Linux 5.4.0-39-generic (on sda2) 9f5305b9-ddf9-4400-838d-7bb99f8b492f
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sdb2/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=0192457a-a5f1-47c7-984e-b81212150196 / ext4 errors=remount-ro 0 1
# swap was on /dev/sdc5 during installation
UUID=d3b7af4e-d1ea-4042-be93-6f01923525a7 none swap sw 0 0
======================= sdb2/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
==================== sdb2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
22,902339935 = 24,591200256 boot/grub/grub.cfg 1
6,848026276 = 7,353012224 boot/grub/i386-pc/core.img 1
0,598628998 = 0,642772992 boot/vmlinuz 2
0,578243256 = 0,620883968 boot/vmlinuz-5.4.0-39-generic 1
0,598628998 = 0,642772992 boot/vmlinuz-5.4.0-40-generic 2
0,578243256 = 0,620883968 boot/vmlinuz.old 1
0,603019714 = 0,647487488 boot/initrd.img 6
0,540515900 = 0,580374528 boot/initrd.img-5.4.0-39-generic 4
0,603019714 = 0,647487488 boot/initrd.img-5.4.0-40-generic 6
0,540515900 = 0,580374528 boot/initrd.img.old 4
===================== sdb2: 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
================================= User choice ==================================
Is sdb (Verbatim STORE N GO) a removable disk? yes
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub2 of
sdb2 into the MBR of sdb.
It would also fix access to other systems (other MBRs) for the situations
when the removable media is disconnected.
Grub-efi would not be selected by default because: legacy-win no-win-efi
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 the removable disk!
Un boot-info fait depuis la copie en mode UEFI;
boot-info-4ppa125 [20200706_0047]
============================== 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 (,msdos2)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
=> Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos2)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 7/2008: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
sda2: __________________________________________________________________________
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: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/BOOT/bootx64.efi /efi/BOOT/fbx64.efi
/efi/BOOT/grubx64.efi /efi/BOOT/mmx64.efi
/efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi
/efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg
sdb2: __________________________________________________________________________
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
================================ 3 OS detected =================================
OS#1: L'OS actuellement utilisé - Ubuntu 20.04 LTS CurrentSession on sdb2
OS#2: Ubuntu 20.04 LTS on sda2
OS#3: Windows 7 on sda1
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-40-generic root=UUID=0192457a-a5f1-47c7-984e-b81212150196 ro quiet splash vt.handoff=7
===================================== UEFI =====================================
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
efibootmgr -v
BootCurrent: 000A
Timeout: 2 seconds
BootOrder: 0005,0006,0000,0002,0001,0003,0004,000A
Boot0000 Diskette Drive BBS(Floppy,,0x0)
Boot0001* Internal HDD BBS(HD,,0x0)P0: LDLC .
Boot0002* USB Storage Device BBS(USB,,0x0)USB Storage Device.
Boot0003* CD/DVD/CD-RW Drive BBS(CDROM,,0x0)P1: TSSTcorp DVD+/-RW TS-U633J.
Boot0004 Onboard NIC BBS(Network,,0x0)
Boot0005* ubuntu HD(1,MBR,0x3aedbe9d,0x800,0x96000)/File(\EFI\ubuntu\shimx64.efi)
Boot0006* ubuntu HD(1,MBR,0x3aedbe9d,0x800,0x96000)/File(\EFI\ubuntu\shimx64.efi)
Boot000A UEFI: INT13(USB,0x80) PciRoot(0x0)/Pci(0x1d,0x0)/VenHw(aa7ba38a-dabf-40c3-8d18-b55b39609ef7,8001000000005553422020202020ffffffffffffffffffffffffffffffffffffffffffffffff)/HD(1,MBR,0x3aedbe9d,0x800,0x96000)
f7a57b08bc7c1c85417ae4cea582d1d4 sdb1/BOOT/bootx64.efi
bed45d1c9554cea09924d3814cb7c446 sdb1/BOOT/fbx64.efi
5c14b2158486ded02655f86386b249e2 sdb1/BOOT/grubx64.efi
4487628005555bfd4a4c0a47211e0700 sdb1/BOOT/mmx64.efi
5c14b2158486ded02655f86386b249e2 sdb1/ubuntu/grubx64.efi
4487628005555bfd4a4c0a47211e0700 sdb1/ubuntu/mmx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4 sdb1/ubuntu/shimx64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sdb : notGPT, no-BIOSboot, has---ESP, usb-disk, not-mmc, has-os, 2048 sectors * 512 bytes
sda : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sdb2 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, not-far
sda1 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda2 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, farbios
sdb1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
Partitions info (2/3): _________________________________________________________
sdb2 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda1 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, is-winboot
sda2 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sdb2 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sdb
sda1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda2 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sdb1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
fdisk -l (filtered): ___________________________________________________________
Disk sda: 111.81 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 0x00040603
Boot Start End Sectors Size Id Type
sda1 * 2048 56383487 56381440 26.9G 7 HPFS/NTFS/exFAT
sda2 56383488 234440703 178057216 84.9G 83 Linux
Disk sdb: 60.1 GiB, 64525172736 bytes, 126025728 sectors
Disk identifier: 0x3aedbe9d
Boot Start End Sectors Size Id Type
sdb1 * 2048 616447 614400 300M ef EFI (FAT-12/16/32)
sdb2 616448 126025727 125409280 59.8G 83 Linux
parted -lm (filtered): _________________________________________________________
sda:120GB:scsi:512:512:msdos:ATA LDLC:;
1:1049kB:28.9GB:28.9GB:ntfs::boot;
2:28.9GB:120GB:91.2GB:ext4::;
sdb:64.5GB:scsi:512:512:msdos:Verbatim STORE N GO:;
1:1049kB:316MB:315MB:fat32::boot, esp;
2:316MB:64.5GB:64.2GB:ext4::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 ntfs FA2AC6152AC5CF37 00040603-01 windows-7-del
└─sda2 ext4 9f5305b9-ddf9-4400-838d-7bb99f8b492f 00040603-02 ubuntu20.04-dell
sdb
├─sdb1 vfat E220-C4CF 3aedbe9d-01
└─sdb2 ext4 0192457a-a5f1-47c7-984e-b81212150196 3aedbe9d-02 copy-xubu-20.04
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda1 3G 89% /mnt/boot-sav/sda1
sda2 32.8G 55% /mnt/boot-sav/sda2
sdb1 290M 3% /mnt/boot-sav/sdb1
sdb2 45.7G 17% /
Mount options: __________________________________________________________________
sda1 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda2 rw,relatime
sdb1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sdb2 rw,relatime,errors=remount-ro
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu 9f5305b9-ddf9-4400-838d-7bb99f8b492f
Ubuntu, avec Linux 5.4.0-40-generic 9f5305b9-ddf9-4400-838d-7bb99f8b492f
Ubuntu, avec Linux 5.4.0-39-generic 9f5305b9-ddf9-4400-838d-7bb99f8b492f
Windows 7 (sur sda1) FA2AC6152AC5CF37
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sda2/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdc16 during installation
UUID=9f5305b9-ddf9-4400-838d-7bb99f8b492f / ext4 errors=remount-ro 0 1
# swap was on /dev/sdc6 during installation
/file.swap none swap sw 0 0
======================= sda2/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
==================== sda2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
31,015373230 = 33,302503424 boot/grub/grub.cfg 1
31,032611847 = 33,321013248 boot/grub/i386-pc/core.img 1
57,755977631 = 62,015008768 boot/vmlinuz 1
58,529415131 = 62,845480960 boot/vmlinuz-5.4.0-39-generic 1
57,755977631 = 62,015008768 boot/vmlinuz-5.4.0-40-generic 1
58,529415131 = 62,845480960 boot/vmlinuz.old 1
50,737300873 = 54,478761984 boot/initrd.img 6
57,390190125 = 61,622247424 boot/initrd.img-5.4.0-39-generic 2
50,737300873 = 54,478761984 boot/initrd.img-5.4.0-40-generic 6
57,390190125 = 61,622247424 boot/initrd.img.old 2
===================== sda2: 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
===================== sdb1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid 0192457a-a5f1-47c7-984e-b81212150196 root hd1,msdos2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sdb2/boot/grub/grub.cfg (filtered) ======================
Ubuntu 0192457a-a5f1-47c7-984e-b81212150196
Ubuntu, with Linux 5.4.0-40-generic 0192457a-a5f1-47c7-984e-b81212150196
Ubuntu, with Linux 5.4.0-39-generic 0192457a-a5f1-47c7-984e-b81212150196
Windows 7 (on sda1) FA2AC6152AC5CF37
Ubuntu 20.04 LTS (20.04) (on sda2) 9f5305b9-ddf9-4400-838d-7bb99f8b492f
Ubuntu (on sda2) 9f5305b9-ddf9-4400-838d-7bb99f8b492f
Ubuntu, avec Linux 5.4.0-40-generic (on sda2) 9f5305b9-ddf9-4400-838d-7bb99f8b492f
Ubuntu, avec Linux 5.4.0-39-generic (on sda2) 9f5305b9-ddf9-4400-838d-7bb99f8b492f
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sdb2/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=0192457a-a5f1-47c7-984e-b81212150196 / ext4 errors=remount-ro 0 1
# swap was on /dev/sdc5 during installation
UUID=d3b7af4e-d1ea-4042-be93-6f01923525a7 none swap sw 0 0
======================= sdb2/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
==================== sdb2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
22,902339935 = 24,591200256 boot/grub/grub.cfg 1
6,848026276 = 7,353012224 boot/grub/i386-pc/core.img 1
0,598628998 = 0,642772992 boot/vmlinuz 2
0,578243256 = 0,620883968 boot/vmlinuz-5.4.0-39-generic 1
0,598628998 = 0,642772992 boot/vmlinuz-5.4.0-40-generic 2
0,578243256 = 0,620883968 boot/vmlinuz.old 1
0,603019714 = 0,647487488 boot/initrd.img 6
0,540515900 = 0,580374528 boot/initrd.img-5.4.0-39-generic 4
0,603019714 = 0,647487488 boot/initrd.img-5.4.0-40-generic 6
0,540515900 = 0,580374528 boot/initrd.img.old 4
===================== sdb2: 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
================================= User choice ==================================
Is sdb (Verbatim STORE N GO) a removable disk? yes
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub2 of
sdb2 into the MBR of sdb.
It would also fix access to other systems (other MBRs) for the situations
when the removable media is disconnected.
Grub-efi would not be selected by default because: legacy-win no-win-efi
Additional repair would be performed: unhide-bootmenu-10s
Blockers in case of suggested repair: __________________________________________
LegacyWindows detected. Please enable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB).
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your BIOS boot on the removable disk!
The boot of your PC is in UEFI mode. You may want to retry after changing it to BIOS-compatibility/CSM/Legacy mode.
Au sujet de la purge de boot-Repair, pour réinstaller un grub-efi en présence d'un système où il manque la structure efi, suite à une installation en mode Bios_Legacy,. Je pense que çà va intéresser YannUbuntu, au regard des post#19 et 20.
@+. Babdu89 .