Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 09/05/2022, à 12:05

Jean-Marc_38

L'éxécution de grub-install/dev/sda à échoué "RESOLU"

Bonjour, smile

J'essaie de faire une installation de Kubuntu 20.04 et au final, j'obtiens le message d'erreur mentionné dans le titre du sujet.

Je souhaiterais un dual boot. W10 version 21H2 est installé mais ne fonctionne plus maintenant.

Le PC est un HP Probook 4540s avec un SSD.

Dans le Bios je n'ai pas accès à l'option  Secure Boot. L'option est grisée et décochée.

Le mode de démarrage est  UEFI avec CSM. Les autres options sont : Ancien et UEFI sans CSM.

J'ai effectué le Boot-info : https://paste.ubuntu.com/p/6FKfKwhsRn/

Je vous serai reconnaissant de bien vouloir m'aider à solutionner ce problème. J'effectue mes premiers pas avec Linux et je ne suis pas informaticien....

Actuellement le PC fonctionne avec une clé usb live Kubuntu.
Avant de commencer l'installation, j'ai sauvegardé une image système.

Afin de voir apparaître l'option du dual boot lors de l'installation, j'ai dû supprimer une partition de 632Mo qui était vide. Probablement un reste de la partition de Recovery system de HP.

Dernière modification par Jean-Marc_38 (Le 27/06/2022, à 15:49)

Hors ligne

#2 Le 09/05/2022, à 12:13

iznobe

Re : L'éxécution de grub-install/dev/sda à échoué "RESOLU"

Bonjour , je colle ton boot-info pour analyse :

boot-info-4ppa200                                              [20220509_1038]

============================== Boot Info Summary ===============================

 => Windows 7/8/10/11/2012 is installed in the MBR of /dev/sda.
 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/10/11/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Boot/BCD

sda2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/10/11/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 10 or 11
    Boot files:        /Windows/System32/winload.exe

sda3: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sda5: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi 
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg

sda6: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 20.04.4 LTS
    Boot files:        /etc/fstab /etc/default/grub

sda4: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/10/11/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.04
    Boot sector info:  Syslinux looks at sector 32784 of /dev/sdb1 for its 
                       second stage. The integrity check of Syslinux failed. 
                       No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg 
                       /efi/BOOT/grubx64.efi /efi/BOOT/mmx64.efi /ldlinux.sys


================================ 2 OS detected =================================

OS#1:   Ubuntu 20.04.4 LTS on sda6
OS#2:   Windows 10 or 11 on sda2

================================ Host/Hardware =================================

CPU architecture: 64-bit
Video: 3rd Gen Core processor Graphics Controller from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04.4 LTS, focal, x86_64)

===================================== UEFI =====================================

BIOS/UEFI firmware: 68IRR Ver. F.68(15.104) from Hewlett-Packard
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled - SecureBoot disabled
Platform is in Setup Mode - Veuillez indiquer ce message à boot.repair@gmail.com.
BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0000,0001,0002,0003
Boot0000* USB Hard Drive 1 - Generic Mass Storage	BBS(HD,,0x900).......................................................................
Boot0001* Optical Disk Drive	BBS(CDROM,,0x0).......................................................................
Boot0002* Notebook Hard Drive	BBS(HD,,0x0).......................................................................
Boot0003* Notebook Ethernet	BBS(128,,0x0).......................................................................
Boot0004* Notebook Ethernet	BBS(128,,0x0).......................................................................
Boot0005* ubuntu	HD(3,MBR,0xe77ee77e,0x33339ffe,0x4b09002)/HD(1,MBR,0x0,0x3333a000,0x100800)/File(\EFI\ubuntu\shimx64.efi)
Boot0006* ubuntu	HD(3,MBR,0xe77ee77e,0x33339ffe,0x4b09002)/HD(1,MBR,0x0,0x3333a000,0x100800)/File(\EFI\ubuntu\shimx64.efi)
Boot0007* ubuntu	HD(3,MBR,0xe77ee77e,0x2d0557fe,0xaded802)/HD(1,MBR,0x0,0x2d055800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot0008* ubuntu	HD(3,MBR,0xe77ee77e,0x2d0557fe,0xaded802)/HD(1,MBR,0x0,0x2d055800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot0009* ubuntu	HD(3,MBR,0xe77ee77e,0x2d0557fe,0xaded802)/HD(1,MBR,0x0,0x2d055800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot000A* ubuntu	HD(3,MBR,0xe77ee77e,0x2d0557fe,0xaded802)/HD(1,MBR,0x0,0x2d055800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot000B* ubuntu	HD(3,MBR,0xe77ee77e,0x2d0557fe,0xaded802)/HD(1,MBR,0x0,0x2d055800,0x100000)/File(\EFI\ubuntu\shimx64.efi)

85fa9d77b929ec4231aba29476574eb6   sda5/BOOT/fbx64.efi
469e608783843a701d172242f016c79c   sda5/BOOT/mmx64.efi
fa1bf1a7f90a852abe0bdbd089b7f1b0   sda5/ubuntu/grubx64.efi
469e608783843a701d172242f016c79c   sda5/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda5/ubuntu/shimx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda5/BOOT/BOOTX64.efi

============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

sda	: notGPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	has-win,	63 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda2	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda4	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda5	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda6	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios

Partitions info (2/3): _________________________________________________________

sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda5	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda6	: 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,	no--grub.d,	sda
sda2	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda4	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda5	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda6	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 447.13 GiB, 480103981056 bytes, 937703088 sectors
Disk identifier: 0xe77ee77e
      Boot     Start       End   Sectors   Size Id Type
sda1              63   1185854   1185792   579M  7 HPFS/NTFS/exFAT
sda2         1185855 308754214 307568360 146.7G  7 HPFS/NTFS/exFAT
sda3       755324926 937701375 182376450    87G  5 Extended
sda4       308754432 755323015 446568584   213G  7 HPFS/NTFS/exFAT
sda5  *    755324928 756373503   1048576   512M ef EFI (FAT-12/16/32)
sda6       756375552 937701375 181325824  86.5G 83 Linux
Partition table entries are not in disk order.
Disk sdb: 7.51 GiB, 8053063680 bytes, 15728640 sectors
Disk identifier: 0x00a5a640
      Boot Start      End  Sectors  Size Id Type
sdb1  *     2048 15728639 15726592  7.5G  c W95 FAT32 (LBA)

parted -lm (filtered): _________________________________________________________

sda:480GB:scsi:512:512:msdos:ATA CT480BX500SSD1:;
1:32.3kB:607MB:607MB:ntfs::;
2:607MB:158GB:157GB:ntfs::;
4:158GB:387GB:229GB:ntfs::;
3:387GB:480GB:93.4GB:::;
5:387GB:387GB:537MB:fat32::boot, esp;
6:387GB:480GB:92.8GB:ext4::;
sdb:8053MB:scsi:512:512:msdos:Generic Flash Disk:;
1:1049kB:8053MB:8052MB:fat32::boot, lba;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL              PARTLABEL
sda                                                                                                          
├─sda1 ntfs     01D7E7ACAFA53530                     e77ee77e-01                          Réservé au système 
├─sda2 ntfs     01D7E7B21CE00F80                     e77ee77e-02                          Windows            
├─sda3                                               e77ee77e-03                                             
├─sda4 ntfs     5EE0973FE0971BF9                     e77ee77e-04                          Données            
├─sda5 vfat     A7A1-78DC                            e77ee77e-05                                             
└─sda6 ext4     b2fbcb2d-11b0-4eea-970b-7cbd3e1adda1 e77ee77e-06                                             
sdb                                                                                                          
└─sdb1 vfat     0E51-DFAA                            00a5a640-01                          KUBUNTU 20_        

Mount points (filtered): _______________________________________________________

            Avail Use% Mounted on
/dev/sda1   548.2M   5% /mnt/boot-sav/sda1
/dev/sda2    57.7G  61% /mnt/boot-sav/sda2
/dev/sda4    84.5G  60% /media/kubuntu/Donnxc3xa9es
/dev/sda5   505.8M   1% /mnt/boot-sav/sda5
/dev/sda6    71.8G  10% /mnt/boot-sav/sda6
/dev/sdb1     4.3G  43% /cdrom

Mount options (filtered): ______________________________________________________

/dev/sda1   fuseblk     rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda2   fuseblk     rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda4   fuseblk     rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096
/dev/sda5   vfat        rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sda6   ext4        rw,relatime
/dev/sdb1   vfat        ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro

===================== sda5/efi/ubuntu/grub.cfg (filtered) ======================

search.fs_uuid b2fbcb2d-11b0-4eea-970b-7cbd3e1adda1 root hd0,msdos6 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

========================== sda6/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda6 during installation
UUID=b2fbcb2d-11b0-4eea-970b-7cbd3e1adda1 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda5 during installation
UUID=A7A1-78DC  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

======================= sda6/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=""

==================== sda6: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
 365,325878143 = 392,265674752  boot/vmlinuz                                   1
 365,325878143 = 392,265674752  boot/vmlinuz-5.13.0-30-generic                 1
 366,285152435 = 393,295687680  boot/initrd.img                                2
 366,285152435 = 393,295687680  boot/initrd.img-5.13.0-30-generic              2
 366,285152435 = 393,295687680  boot/initrd.img.old                            2

===================== sda6: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 18151 Aug 12  2021 10_linux
-rwxr-xr-x 1 root root 42359 Aug 12  2021 10_linux_zfs
-rwxr-xr-x 1 root root 12894 Aug 12  2021 20_linux_xen
-rwxr-xr-x 1 root root 12059 Aug 12  2021 30_os-prober
-rwxr-xr-x 1 root root  1424 Aug 12  2021 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Aug 12  2021 40_custom
-rwxr-xr-x 1 root root   216 Aug 12  2021 41_custom

====================== sdb1/boot/grub/grub.cfg (filtered) ======================

Start Kubuntu
Start Kubuntu (safe graphics)
OEM install (for manufacturers)
Boot from next volume
UEFI Firmware Settings

========================= sdb1/syslinux.cfg (filtered) =========================

DEFAULT loadconfig

LABEL loadconfig
  CONFIG /isolinux/isolinux.cfg
  APPEND /isolinux/

==================== sdb1: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1

================== sdb1: Location of files loaded by Syslinux ==================

           GiB - GB             File                                 Fragment(s)
            ?? = ??             syslinux.cfg                                   1
            ?? = ??             ldlinux.sys                                    1



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to remove grub-efi) and reinstall the grub2 of
sda6 into the MBR of sda.
Grub-efi would not be selected by default because legacy Windows detected.
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix

Confirmation request before suggested repair: __________________________________

LegacyWindows detected. The boot of your PC is in EFI mode. You may want to retry after changing it to BIOS-compatibility/CSM/Legacy mode.
Are you sure you want to continue anyway?

Final advice in case of suggested repair: ______________________________________

Please set your BIOS in Legacy mode in order to start your Ubuntu 20.04.4 LTS, then type command [sudo update-grub] in order to add the Windows entry to your GRUB menu.

D ' apres le rapport , on voit que ton windows est installé en mode LEGACY et que ton ubuntu est installé en mode EFI .
Malheuresuement , il faut que les 2 OS soit installé dans le meme mode .

La solution la plus simple serait d' appliquer la reparation recommandée de boot-info et donc de passer par boot-repair en live afin de reparer :

boot-info a écrit :

The default repair of the Boot-Repair utility would purge (in order to remove grub-efi) and reinstall the grub2 of
sda6 into the MBR of sda.

Sauf avis contraire d' autres intervenants .

Dernière modification par iznobe (Le 09/05/2022, à 12:21)


retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#3 Le 09/05/2022, à 17:48

geole

Re : L'éxécution de grub-install/dev/sda à échoué "RESOLU"

Bonjour,
Avec le support d'installation, il faut aussi que tu lances gparted et que tu supprimes la partition de boot EFI (SDA5) car boot-repair ne le fait pas et ton bios est prioritaire EFI.

Dernière modification par geole (Le 09/05/2022, à 17:49)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#4 Le 09/05/2022, à 18:34

Jean-Marc_38

Re : L'éxécution de grub-install/dev/sda à échoué "RESOLU"

Merci pour vos retours.

J'ai appliqué le Boot-Repair : le PC a redémaré sans dual boot sur Kubuntu.

J'ai supprimé sda5 : plus de démarrage sans live usb.

J'ai relancé Boot-Repair sans succès. Voici le rapport : http://paste.ubuntu.com/p/YMDY94SGSV/

Auriez-vous de nouvelles propositions ?

Hors ligne

#5 Le 09/05/2022, à 18:51

geole

Re : L'éxécution de grub-install/dev/sda à échoué "RESOLU"

Il faut aller dans le bios et lui dire de ne pas booter prioritairement en EFI mais en LEGACY


Lorsque Kubuntu sera lancé

sudo update-grub

Pour lui faire découvrir windows


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#6 Le 09/05/2022, à 18:58

xubu1957

Re : L'éxécution de grub-install/dev/sda à échoué "RESOLU"

Bonjour,

Collage du Boot-repair, pour les spécialistes :

boot-repair-4ppa200                                              [20220509_1714]

============================= Boot Repair Summary ==============================





grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.

Recommended repair: ____________________________________________________________

The default repair of the Boot-Repair utility will reinstall the grub2 of
sda5 into the MBR of sda.
Grub-efi will not be selected by default because no ESP detected.
Additional repair will be performed: unhide-bootmenu-10s win-legacy-basic-fix


Quantity of real Windows: 1
WinSE in sda2
Copied Win boot files from sda1 to sda2

========================= Reinstall the grub2 of sda5 ==========================

chroot /mnt/boot-sav/sda5 grub-install --version
grub-install (GRUB) 2.04-1ubuntu26.15

==> Reinstall the GRUB of sda5 into the MBR of sda

chroot /mnt/boot-sav/sda5 grub-install /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.

chroot /mnt/boot-sav/sda5 update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.13.0-40-generic
Found initrd image: /boot/initrd.img-5.13.0-40-generic
Found linux image: /boot/vmlinuz-5.13.0-30-generic
Found initrd image: /boot/initrd.img-5.13.0-30-generic
File descriptor 63 (pipe:[46883]) leaked on lvs invocation. Parent PID 16845: /bin/sh
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
Adding boot menu entry for UEFI Firmware Settings

Unhide GRUB boot menu in sda5/boot/grub/grub.cfg

Boot successfully repaired.

You can now reboot your computer.
Please set your BIOS in Legacy mode in order to start your Ubuntu 20.04.4 LTS, then type command [sudo update-grub] in order to add the Windows entry to your GRUB menu.


============================ Boot Info After Repair ============================

 => 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
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/10/11/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Boot/BCD

sda2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/10/11/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 10 or 11
    Boot files:        /bootmgr /BOOT/BCD /Windows/System32/winload.exe

sda3: __________________________________________________________________________

    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.4 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub 
                       /boot/grub/i386-pc/core.img

sda4: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/10/11/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Unknown
    Boot sector info: 
    Operating System:  
    Boot files:        /boot/grub/grub.cfg


================================ 2 OS detected =================================

OS#1:   Ubuntu 20.04.4 LTS on sda5
OS#2:   Windows 10 or 11 on sda2

================================ Host/Hardware =================================

CPU architecture: 64-bit
Video: 3rd Gen Core processor Graphics Controller from Intel Corporation
Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, x86_64)

===================================== UEFI =====================================

BIOS/UEFI firmware: 68IRR Ver. F.68 from Hewlett-Packard
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled - SecureBoot disabled
Platform is in Setup Mode - Please report this message to boot.repair@gmail.com.
BootCurrent: 0000
Timeout: 5 seconds
No BootOrder is set; firmware will attempt recovery
Boot0000* USB Hard Drive 1 - Lexar USB Flash Drive	BBS(HD,,0x900).......................................................................
Boot0001* Optical Disk Drive	BBS(CDROM,,0x0).......................................................................
Boot0002* Notebook Hard Drive	BBS(HD,,0x0).......................................................................
Boot0003* Notebook Ethernet	BBS(128,,0x0).......................................................................
Boot0004* Notebook Ethernet	BBS(128,,0x0).......................................................................
Boot0005* ubuntu	HD(3,MBR,0xe77ee77e,0x33339ffe,0x4b09002)/HD(1,MBR,0x0,0x3333a000,0x100800)/File(\EFI\ubuntu\shimx64.efi)
Boot0006* ubuntu	HD(3,MBR,0xe77ee77e,0x33339ffe,0x4b09002)/HD(1,MBR,0x0,0x3333a000,0x100800)/File(\EFI\ubuntu\shimx64.efi)
Boot0007* ubuntu	HD(3,MBR,0xe77ee77e,0x2d0557fe,0xaded802)/HD(1,MBR,0x0,0x2d055800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot0008* ubuntu	HD(3,MBR,0xe77ee77e,0x2d0557fe,0xaded802)/HD(1,MBR,0x0,0x2d055800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot0009* ubuntu	HD(3,MBR,0xe77ee77e,0x2d0557fe,0xaded802)/HD(1,MBR,0x0,0x2d055800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot000A* ubuntu	HD(3,MBR,0xe77ee77e,0x2d0557fe,0xaded802)/HD(1,MBR,0x0,0x2d055800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot000B* ubuntu	HD(3,MBR,0xe77ee77e,0x2d0557fe,0xaded802)/HD(1,MBR,0x0,0x2d055800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot000C* ubuntu	HD(3,MBR,0xe77ee77e,0x2d0557fe,0xaded802)/HD(1,MBR,0x0,0x2d055800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot000D* ubuntu	HD(3,MBR,0xe77ee77e,0x2d0557fe,0xaded802)/HD(1,MBR,0x0,0x2d055800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot000E* ubuntu	HD(3,MBR,0xe77ee77e,0x2d0557fe,0xaded802)/HD(1,MBR,0x0,0x2d055800,0x100000)/File(\EFI\ubuntu\shimx64.efi)


============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

sda	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	has-win,	63 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda2	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda4	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda5	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios

Partitions info (2/3): _________________________________________________________

sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda5	: isnotESP,	fstab-without-efi,	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,	no--grub.d,	sda
sda2	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda4	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
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: 447.1 GiB, 480103981056 bytes, 937703088 sectors
Disk identifier: 0xe77ee77e
      Boot     Start       End   Sectors   Size Id Type
sda1              63   1185854   1185792   579M  7 HPFS/NTFS/exFAT
sda2         1185855 308754214 307568360 146.7G  7 HPFS/NTFS/exFAT
sda3       755324926 937701375 182376450    87G  5 Extended
sda4       308754432 755323015 446568584   213G  7 HPFS/NTFS/exFAT
sda5       756375552 937701375 181325824  86.5G 83 Linux
Partition table entries are not in disk order.
Disk sdb: 28.9 GiB, 31037849600 bytes, 60620800 sectors
Disk identifier: 0x2c534026
      Boot Start     End Sectors  Size Id Type
sdb1  *        0 1802239 1802240  880M  0 Empty
sdb2         964    5891    4928  2.4M ef EFI (FAT-12/16/32)
Disk zram0: 980.2 MiB, 1027813376 bytes, 250931 sectors
Disk zram1: 980.2 MiB, 1027813376 bytes, 250931 sectors
Disk zram2: 980.2 MiB, 1027813376 bytes, 250931 sectors
Disk zram3: 980.2 MiB, 1027813376 bytes, 250931 sectors

parted -lm (filtered): _________________________________________________________

sda:480GB:scsi:512:512:msdos:ATA CT480BX500SSD1:;
1:32.3kB:607MB:607MB:ntfs::;
2:607MB:158GB:157GB:ntfs::;
4:158GB:387GB:229GB:ntfs::;
3:387GB:480GB:93.4GB:::;
5:387GB:480GB:92.8GB:ext4::;
sdb:31.0GB:scsi:512:512:msdos:Lexar USB Flash Drive:;
2:494kB:3017kB:2523kB:::esp;

Free space >10MiB: ______________________________________________________________

sda: 368811MiB:369322MiB:511MiB
sdb: 2.88MiB:29600MiB:29597MiB

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                  PARTLABEL
sda                                                                                                              
├─sda1 ntfs     01D7E7ACAFA53530                     e77ee77e-01                          Réservé au système     
├─sda2 ntfs     01D7E7B21CE00F80                     e77ee77e-02                          Windows                
├─sda3                                               e77ee77e-03                                                 
├─sda4 ntfs     5EE0973FE0971BF9                     e77ee77e-04                          Données                
└─sda5 ext4     b2fbcb2d-11b0-4eea-970b-7cbd3e1adda1 e77ee77e-05                                                 
sdb    iso9660  2020-06-13-00-42-55-00                                                    Boot-Repair-Disk 64bit 
├─sdb1 iso9660  2020-06-13-00-42-55-00               2c534026-01                          Boot-Repair-Disk 64bit 
└─sdb2 vfat     D055-8513                            2c534026-02                          Boot-Repair-Disk 64bit 

Mount points (filtered): _______________________________________________________

            Avail Use% Mounted on
/dev/sda1   548.2M   5% /mnt/boot-sav/sda1
/dev/sda2    57.7G  61% /mnt/boot-sav/sda2
/dev/sda4    84.5G  60% /mnt/boot-sav/sda4
/dev/sda5      71G  11% /mnt/boot-sav/sda5
/dev/sdb         0 100% /cdrom

Mount options (filtered): ______________________________________________________

/dev/sda1   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda2   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda4   fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda5   ext4            rw,relatime
/dev/sdb    iso9660         ro,noatime,nojoliet,check=s,map=n,blocksize=2048

====================== sda5/boot/grub/grub.cfg (filtered) ======================

Ubuntu   b2fbcb2d-11b0-4eea-970b-7cbd3e1adda1
Ubuntu, with Linux 5.13.0-40-generic   b2fbcb2d-11b0-4eea-970b-7cbd3e1adda1
Ubuntu, with Linux 5.13.0-30-generic   b2fbcb2d-11b0-4eea-970b-7cbd3e1adda1
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda5/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda6 during installation
UUID=b2fbcb2d-11b0-4eea-970b-7cbd3e1adda1 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda5 during installation
/swapfile                                 none            swap    sw              0       0

======================= sda5/etc/default/grub (filtered) =======================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false

==================== sda5: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
 360.667976379 = 387.264290816  boot/grub/grub.cfg                             1
 388.802799225 = 417.473826816  boot/grub/i386-pc/core.img                     1
 393.091506958 = 422.078791680  boot/vmlinuz                                   1
 365.325878143 = 392.265674752  boot/vmlinuz-5.13.0-30-generic                 1
 393.091506958 = 422.078791680  boot/vmlinuz-5.13.0-40-generic                 1
 365.325878143 = 392.265674752  boot/vmlinuz.old                               1
 367.808834076 = 394.931728384  boot/initrd.img                                2
 367.699409485 = 394.814234624  boot/initrd.img-5.13.0-30-generic              4
 367.808834076 = 394.931728384  boot/initrd.img-5.13.0-40-generic              2
 367.699409485 = 394.814234624  boot/initrd.img.old                            4

===================== sda5: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 18224 Jan 11 15:09 10_linux
-rwxr-xr-x 1 root root 42359 Jan 11 15:09 10_linux_zfs
-rwxr-xr-x 1 root root 12894 Jan 11 15:09 20_linux_xen
-rwxr-xr-x 1 root root 12059 Jan 11 15:09 30_os-prober
-rwxr-xr-x 1 root root  1424 Jan 11 15:09 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Feb 21 03:06 35_fwupd
-rwxr-xr-x 1 root root   214 Jan 11 15:09 40_custom
-rwxr-xr-x 1 root root   216 Jan 11 15:09 41_custom

=========================== sda5/etc/grub.d/35_fwupd ===========================

#! /bin/sh
# SPDX-License-Identifier: LGPL-2.1+
set -e
[ -d ${pkgdatadir:?} ]
# shellcheck source=/dev/null
. "$pkgdatadir/grub-mkconfig_lib"
if [ -f /var/lib/fwupd/uefi_capsule.conf ] &&
   ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then
      . /var/lib/fwupd/uefi_capsule.conf
      if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then
      echo "Adding Linux Firmware Updater entry" >&2
cat << EOF
menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' {
EOF
      ${grub_probe:?}
      prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"'
cat << EOF
	chainloader ${EFI_PATH}
}
EOF
      fi
fi

====================== sdb/boot/grub/grub.cfg (filtered) =======================

Boot-Repair-Disk session
Boot-Repair-Disk session (failsafe)

==================== sdb: Location of files loaded by Grub =====================

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1

======================== Unknown MBRs/Boot Sectors/etc =========================

Unknown BootLoader on sdb

00000000  33 ed 90 90 90 90 90 90  90 90 90 90 90 90 90 90  |3...............|
00000010  90 90 90 90 90 90 90 90  90 90 90 90 90 90 90 90  |................|
00000020  33 ed fa 8e d5 bc 00 7c  fb fc 66 31 db 66 31 c9  |3......|..f1.f1.|
00000030  66 53 66 51 06 57 8e dd  8e c5 52 be 00 7c bf 00  |fSfQ.W....R..|..|
00000040  06 b9 00 01 f3 a5 ea 4b  06 00 00 52 b4 41 bb aa  |.......K...R.A..|
00000050  55 31 c9 30 f6 f9 cd 13  72 16 81 fb 55 aa 75 10  |U1.0....r...U.u.|
00000060  83 e1 01 74 0b 66 c7 06  f3 06 b4 42 eb 15 eb 02  |...t.f.....B....|
00000070  31 c9 5a 51 b4 08 cd 13  5b 0f b6 c6 40 50 83 e1  |1.ZQ....[...@P..|
00000080  3f 51 f7 e1 53 52 50 bb  00 7c b9 04 00 66 a1 b0  |?Q..SRP..|...f..|
00000090  07 e8 44 00 0f 82 80 00  66 40 80 c7 02 e2 f2 66  |..D.....f@.....f|
000000a0  81 3e 40 7c fb c0 78 70  75 09 fa bc ec 7b ea 44  |.>@|..xpu....{.D|
000000b0  7c 00 00 e8 83 00 69 73  6f 6c 69 6e 75 78 2e 62  ||.....isolinux.b|
000000c0  69 6e 20 6d 69 73 73 69  6e 67 20 6f 72 20 63 6f  |in missing or co|
000000d0  72 72 75 70 74 2e 0d 0a  66 60 66 31 d2 66 03 06  |rrupt...f`f1.f..|
000000e0  f8 7b 66 13 16 fc 7b 66  52 66 50 06 53 6a 01 6a  |.{f...{fRfP.Sj.j|
000000f0  10 89 e6 66 f7 36 e8 7b  c0 e4 06 88 e1 88 c5 92  |...f.6.{........|
00000100  f6 36 ee 7b 88 c6 08 e1  41 b8 01 02 8a 16 f2 7b  |.6.{....A......{|
00000110  cd 13 8d 64 10 66 61 c3  e8 1e 00 4f 70 65 72 61  |...d.fa....Opera|
00000120  74 69 6e 67 20 73 79 73  74 65 6d 20 6c 6f 61 64  |ting system load|
00000130  20 65 72 72 6f 72 2e 0d  0a 5e ac b4 0e 8a 3e 62  | error...^....>b|
00000140  04 b3 07 cd 10 3c 0a 75  f1 cd 18 f4 eb fd 00 00  |.....<.u........|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  04 17 00 00 00 00 00 00  26 40 53 2c 00 00 80 00  |........&@S,....|
000001c0  01 00 00 3f e0 6f 00 00  00 00 00 80 1b 00 00 fe  |...?.o..........|
000001d0  ff ff ef fe ff ff c4 03  00 00 40 13 00 00 00 00  |..........@.....|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#7 Le 09/05/2022, à 19:10

Jean-Marc_38

Re : L'éxécution de grub-install/dev/sda à échoué "RESOLU"

La commande : sudo update-grub

donne: /usr/sbin/grub-probe: error: failed to get canonical path of `/cow'.

Hors ligne

#8 Le 09/05/2022, à 19:28

geole

Re : L'éxécution de grub-install/dev/sda à échoué "RESOLU"

C'était avec le kubuntu installé et pas celui du support d'installation


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#9 Le 09/05/2022, à 22:41

Jean-Marc_38

Re : L'éxécution de grub-install/dev/sda à échoué "RESOLU"

Ok, mais il ne redémare plus sad

Hors ligne

#10 Le 09/05/2022, à 23:21

geole

Re : L'éxécution de grub-install/dev/sda à échoué "RESOLU"

Regarde dans le bios pour positionner son démarrage sur le mode LEGACY  ou un nom semblable, en tout cas pas sur EFI prioritaire,


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#11 Le 10/05/2022, à 06:40

Jean-Marc_38

Re : L'éxécution de grub-install/dev/sda à échoué "RESOLU"

Les options que j'ai sont :
- Ancien
- UEFI sans CSM
- UEFI avec CSM

Actuellement Ancien est coché.

Ailleurs j'ai une option démarrage rapide activée.

Le Boot-Repair indique une erreur et ne peut la réparer...

Hors ligne

#12 Le 10/05/2022, à 06:58

iznobe

Re : L'éxécution de grub-install/dev/sda à échoué "RESOLU"

Bonjour , il faut decoché demarrage rapide .
indiquer l' erreur que ne peut reparer boot-repair .
tente de demarrer avec Ancien selectionne , sinon aussi avec CSM .
Verifie aussi que le bon peripherique est selectionné pour l' ordre de demarrage : mettre en haut de la liste le disque dur qui contient le GRUB.

Dernière modification par iznobe (Le 10/05/2022, à 06:58)


retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#13 Le 10/05/2022, à 08:13

Jean-Marc_38

Re : L'éxécution de grub-install/dev/sda à échoué "RESOLU"

J'ai essayé toutes les possibilités sans succès. A chaque fois Boot-Repair indique une erreur qu'il ne peut réparer.

- Amorçage rapide décoché, boot ancien : http://paste.ubuntu.com/p/7fHfWdY7kz/

- Amorçage rapide décoché, boot UEFI avec CSM : http://paste.ubuntu.com/p/KmYpTwBvc5/

- Amorçage rapide décoché, boot UEFI sans CSM : http://paste.ubuntu.com/p/39bxTg59qK/

Dernière modification par Jean-Marc_38 (Le 10/05/2022, à 08:14)

Hors ligne

#14 Le 10/05/2022, à 08:29

xubu1957

Re : L'éxécution de grub-install/dev/sda à échoué "RESOLU"

Bonjour,

Collages :

- Amorçage rapide décoché, boot ancien :

boot-repair-4ppa125                                              [20220510_0637]

============================= Boot Repair Summary ==============================



grub-probe : erreur : impossible de trouver un périphérique GRUB pour /dev/sdb1. Vérifiez device.map..
grub-probe : erreur : impossible de trouver un périphérique GRUB pour /dev/sdb1. Vérifiez device.map..

Recommended repair: ____________________________________________________________

The default repair of the Boot-Repair utility will reinstall the grub2 of
sda5 into the MBR of sda.
Additional repair will be performed: unhide-bootmenu-10s



========================= Reinstall the grub2 of sda5 ==========================

grub-install --version
grub-install (GRUB) 2.04-1ubuntu26.15

==> Reinstall the GRUB of sda5 into the MBR of sda

grub-install /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.

chroot /mnt/boot-sav/sda5 update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.13.0-40-generic
Found initrd image: /boot/initrd.img-5.13.0-40-generic
Found linux image: /boot/vmlinuz-5.13.0-30-generic
Found initrd image: /boot/initrd.img-5.13.0-30-generic
File descriptor 63 (pipe:[42601]) leaked on lvs invocation. Parent PID 13933: /bin/sh
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
Found Windows 10 on /dev/sda1
Found Windows 10 on /dev/sda2

Unhide GRUB boot menu in sda5/boot/grub/grub.cfg

Une erreur est survenue pendant la réparation.

Vous pouvez maintenant redémarrer votre ordinateur.


============================ Boot Info After Repair ============================

 => 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
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Boot/BCD

sda2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 10
    Boot files:        /bootmgr /BOOT/BCD /Windows/System32/winload.exe

sda3: __________________________________________________________________________

    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.4 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub 
                       /boot/grub/i386-pc/core.img

sda4: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Unknown
    Boot sector info: 
    Operating System:  
    Boot files:        /boot/grub/grub.cfg


================================ 3 OS detected =================================

OS#1:   Windows 10 (boot) on sda1
OS#2:   Windows 10 on sda2
OS#3:   Ubuntu 20.04.4 LTS on sda5

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, x86_64)


===================================== UEFI =====================================

This live-session is not in EFI-mode.



============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

sda	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	63 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda2	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda4	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda5	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios

Partitions info (2/3): _________________________________________________________

sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	is-winboot
sda4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda5	: isnotESP,	fstab-without-efi,	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
sda2	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda4	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
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: 447.1 GiB, 480103981056 bytes, 937703088 sectors
Disk identifier: 0xe77ee77e
      Boot     Start       End   Sectors   Size Id Type
sda1              63   1185854   1185792   579M  7 HPFS/NTFS/exFAT
sda2         1185855 308754214 307568360 146.7G  7 HPFS/NTFS/exFAT
sda3       755324926 937701375 182376450    87G  5 Extended
sda4       308754432 755323015 446568584   213G  7 HPFS/NTFS/exFAT
sda5       756375552 937701375 181325824  86.5G 83 Linux
Partition table entries are not in disk order.
Disk sdb: 28.9 GiB, 31037849600 bytes, 60620800 sectors
Disk identifier: 0x2c534026
      Boot Start     End Sectors  Size Id Type
sdb1  *        0 1802239 1802240  880M  0 Empty
sdb2         964    5891    4928  2.4M ef EFI (FAT-12/16/32)
Disk zram0: 980.1 MiB, 1027678208 bytes, 250898 sectors
Disk zram1: 980.1 MiB, 1027678208 bytes, 250898 sectors
Disk zram2: 980.1 MiB, 1027678208 bytes, 250898 sectors
Disk zram3: 980.1 MiB, 1027678208 bytes, 250898 sectors

parted -lm (filtered): _________________________________________________________

sda:480GB:scsi:512:512:msdos:ATA CT480BX500SSD1:;
1:32.3kB:607MB:607MB:ntfs::;
2:607MB:158GB:157GB:ntfs::;
4:158GB:387GB:229GB:ntfs::;
3:387GB:480GB:93.4GB:::;
5:387GB:480GB:92.8GB:ext4::;
sdb:31.0GB:scsi:512:512:msdos:Lexar USB Flash Drive:;
2:494kB:3017kB:2523kB:::esp;
zram3:1028MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1028MB:1028MB:linux-swap(v1)::;
zram1:1028MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1028MB:1028MB:linux-swap(v1)::;
zram2:1028MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1028MB:1028MB:linux-swap(v1)::;
zram0:1028MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1028MB:1028MB:linux-swap(v1)::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                  PARTLABEL
sda                                                                                                              
├─sda1 ntfs     01D7E7ACAFA53530                     e77ee77e-01                          Réservé au système     
├─sda2 ntfs     01D7E7B21CE00F80                     e77ee77e-02                          Windows                
├─sda3                                               e77ee77e-03                                                 
├─sda4 ntfs     5EE0973FE0971BF9                     e77ee77e-04                          Données                
└─sda5 ext4     b2fbcb2d-11b0-4eea-970b-7cbd3e1adda1 e77ee77e-05                                                 
sdb    iso9660  2020-06-13-00-42-55-00                                                    Boot-Repair-Disk 64bit 
├─sdb1 iso9660  2020-06-13-00-42-55-00               2c534026-01                          Boot-Repair-Disk 64bit 
└─sdb2 vfat     D055-8513                            2c534026-02                          Boot-Repair-Disk 64bit 
zram0                                                                                                            
zram1                                                                                                            
zram2                                                                                                            
zram3                                                                                                            

df (filtered): _________________________________________________________________

       Avail Use% Mounted on
sda1   548.2M   5% /mnt/boot-sav/sda1
sda2    57.7G  61% /mnt/boot-sav/sda2
sda4    84.5G  60% /mnt/boot-sav/sda4
sda5      71G  11% /mnt/boot-sav/sda5
sdb         0 100% /cdrom

Mount options: __________________________________________________________________

sda1   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda2   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda4   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda5   rw,relatime
sdb    ro,noatime,nojoliet,check=s,map=n,blocksize=2048

====================== sda5/boot/grub/grub.cfg (filtered) ======================

Ubuntu   b2fbcb2d-11b0-4eea-970b-7cbd3e1adda1
Ubuntu, with Linux 5.13.0-40-generic   b2fbcb2d-11b0-4eea-970b-7cbd3e1adda1
Ubuntu, with Linux 5.13.0-30-generic   b2fbcb2d-11b0-4eea-970b-7cbd3e1adda1
Windows 10 (on sda1)   01D7E7ACAFA53530
Windows 10 (on sda2)   01D7E7B21CE00F80
### 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/sda6 during installation
UUID=b2fbcb2d-11b0-4eea-970b-7cbd3e1adda1 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda5 during installation
/swapfile                                 none            swap    sw              0       0

======================= sda5/etc/default/grub (filtered) =======================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
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)
 360.667976379 = 387.264290816  boot/grub/grub.cfg                             1
 388.816852570 = 417.488916480  boot/grub/i386-pc/core.img                     1
 393.091506958 = 422.078791680  boot/vmlinuz                                   1
 365.325878143 = 392.265674752  boot/vmlinuz-5.13.0-30-generic                 1
 393.091506958 = 422.078791680  boot/vmlinuz-5.13.0-40-generic                 1
 365.325878143 = 392.265674752  boot/vmlinuz.old                               1
 367.808834076 = 394.931728384  boot/initrd.img                                2
 367.699409485 = 394.814234624  boot/initrd.img-5.13.0-30-generic              4
 367.808834076 = 394.931728384  boot/initrd.img-5.13.0-40-generic              2
 367.699409485 = 394.814234624  boot/initrd.img.old                            4

===================== sda5: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 18224 janv. 11 15:09 10_linux
-rwxr-xr-x 1 root root 42359 janv. 11 15:09 10_linux_zfs
-rwxr-xr-x 1 root root 12894 janv. 11 15:09 20_linux_xen
-rwxr-xr-x 1 root root 12059 janv. 11 15:09 30_os-prober
-rwxr-xr-x 1 root root  1424 janv. 11 15:09 30_uefi-firmware
-rwxr-xr-x 1 root root   700 févr. 21 03:06 35_fwupd
-rwxr-xr-x 1 root root   214 janv. 11 15:09 40_custom
-rwxr-xr-x 1 root root   216 janv. 11 15:09 41_custom

=========================== sda5/etc/grub.d/35_fwupd ===========================

#! /bin/sh
# SPDX-License-Identifier: LGPL-2.1+
set -e
[ -d ${pkgdatadir:?} ]
# shellcheck source=/dev/null
. "$pkgdatadir/grub-mkconfig_lib"
if [ -f /var/lib/fwupd/uefi_capsule.conf ] &&
   ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then
      . /var/lib/fwupd/uefi_capsule.conf
      if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then
      echo "Adding Linux Firmware Updater entry" >&2
cat << EOF
menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' {
EOF
      ${grub_probe:?}
      prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"'
cat << EOF
	chainloader ${EFI_PATH}
}
EOF
      fi
fi

====================== sdb/boot/grub/grub.cfg (filtered) =======================

Boot-Repair-Disk session
Boot-Repair-Disk session (failsafe)

==================== sdb: Location of files loaded by Grub =====================

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1


======================== Unknown MBRs/Boot Sectors/etc =========================

Unknown BootLoader on sdb

00000000  33 ed 90 90 90 90 90 90  90 90 90 90 90 90 90 90  |3...............|
00000010  90 90 90 90 90 90 90 90  90 90 90 90 90 90 90 90  |................|
00000020  33 ed fa 8e d5 bc 00 7c  fb fc 66 31 db 66 31 c9  |3......|..f1.f1.|
00000030  66 53 66 51 06 57 8e dd  8e c5 52 be 00 7c bf 00  |fSfQ.W....R..|..|
00000040  06 b9 00 01 f3 a5 ea 4b  06 00 00 52 b4 41 bb aa  |.......K...R.A..|
00000050  55 31 c9 30 f6 f9 cd 13  72 16 81 fb 55 aa 75 10  |U1.0....r...U.u.|
00000060  83 e1 01 74 0b 66 c7 06  f3 06 b4 42 eb 15 eb 02  |...t.f.....B....|
00000070  31 c9 5a 51 b4 08 cd 13  5b 0f b6 c6 40 50 83 e1  |1.ZQ....[...@P..|
00000080  3f 51 f7 e1 53 52 50 bb  00 7c b9 04 00 66 a1 b0  |?Q..SRP..|...f..|
00000090  07 e8 44 00 0f 82 80 00  66 40 80 c7 02 e2 f2 66  |..D.....f@.....f|
000000a0  81 3e 40 7c fb c0 78 70  75 09 fa bc ec 7b ea 44  |.>@|..xpu....{.D|
000000b0  7c 00 00 e8 83 00 69 73  6f 6c 69 6e 75 78 2e 62  ||.....isolinux.b|
000000c0  69 6e 20 6d 69 73 73 69  6e 67 20 6f 72 20 63 6f  |in missing or co|
000000d0  72 72 75 70 74 2e 0d 0a  66 60 66 31 d2 66 03 06  |rrupt...f`f1.f..|
000000e0  f8 7b 66 13 16 fc 7b 66  52 66 50 06 53 6a 01 6a  |.{f...{fRfP.Sj.j|
000000f0  10 89 e6 66 f7 36 e8 7b  c0 e4 06 88 e1 88 c5 92  |...f.6.{........|
00000100  f6 36 ee 7b 88 c6 08 e1  41 b8 01 02 8a 16 f2 7b  |.6.{....A......{|
00000110  cd 13 8d 64 10 66 61 c3  e8 1e 00 4f 70 65 72 61  |...d.fa....Opera|
00000120  74 69 6e 67 20 73 79 73  74 65 6d 20 6c 6f 61 64  |ting system load|
00000130  20 65 72 72 6f 72 2e 0d  0a 5e ac b4 0e 8a 3e 62  | error...^....>b|
00000140  04 b3 07 cd 10 3c 0a 75  f1 cd 18 f4 eb fd 00 00  |.....<.u........|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  04 17 00 00 00 00 00 00  26 40 53 2c 00 00 80 00  |........&@S,....|
000001c0  01 00 00 3f e0 6f 00 00  00 00 00 80 1b 00 00 fe  |...?.o..........|
000001d0  ff ff ef fe ff ff c4 03  00 00 40 13 00 00 00 00  |..........@.....|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200


=============================== StdErr Messages ================================

File descriptor 63 (pipe:[42601]) leaked on lvs invocation. Parent PID 2157: /bin/bash

- Amorçage rapide décoché, boot UEFI avec CSM :

boot-repair-4ppa125                                              [20220510_0648]

============================= Boot Repair Summary ==============================



grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
/usr/share/boot-sav/bs-cmd_terminal.sh: line 177: warning: command substitution: ignored null byte in input

Advices: _______________________________________________________________________
LegacyWindows detected. The boot of your PC is in EFI mode. You may want to retry after changing it to BIOS-compatibility/CSM/Legacy mode.
Are you sure you want to continue anyway? yes

Recommended repair: ____________________________________________________________

The default repair of the Boot-Repair utility will reinstall the grub2 of
sda5 into the MBR of sda.
Additional repair will be performed: unhide-bootmenu-10s



========================= Reinstall the grub2 of sda5 ==========================

grub-install --version
grub-install (GRUB) 2.04-1ubuntu26.15

==> Reinstall the GRUB of sda5 into the MBR of sda

grub-install /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.

chroot /mnt/boot-sav/sda5 update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.13.0-40-generic
Found initrd image: /boot/initrd.img-5.13.0-40-generic
Found linux image: /boot/vmlinuz-5.13.0-30-generic
Found initrd image: /boot/initrd.img-5.13.0-30-generic
File descriptor 63 (pipe:[44077]) leaked on lvs invocation. Parent PID 13877: /bin/sh
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
Adding boot menu entry for UEFI Firmware Settings


Unhide GRUB boot menu in sda5/boot/grub/grub.cfg

An error occurred during the repair.

You can now reboot your computer.

Please set your BIOS in Legacy mode in order to start your Ubuntu 20.04.4 LTS, then type command [sudo update-grub] in order to add the Windows entry to your GRUB menu.

============================ Boot Info After Repair ============================

 => 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
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Boot/BCD

sda2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 10
    Boot files:        /bootmgr /BOOT/BCD /Windows/System32/winload.exe

sda3: __________________________________________________________________________

    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.4 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub 
                       /boot/grub/i386-pc/core.img

sda4: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Unknown
    Boot sector info: 
    Operating System:  
    Boot files:        /boot/grub/grub.cfg


================================ 2 OS detected =================================

OS#1:   Ubuntu 20.04.4 LTS on sda5
OS#2:   Windows 10 on sda2

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, x86_64)


===================================== UEFI =====================================

BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled.

efibootmgr -v
BootCurrent: 0000
Timeout: 5 seconds
No BootOrder is set; firmware will attempt recovery
Boot0000* Optical Disk Drive	BBS(CDROM,,0x0).......................................................................
Boot0001* Notebook Hard Drive	BBS(HD,,0x0).......................................................................
Boot0002* Notebook Ethernet	BBS(128,,0x0).......................................................................
Boot0003* Notebook Ethernet	BBS(128,,0x0).......................................................................
Boot0004* Notebook Ethernet	BBS(128,,0x0).......................................................................
Boot0005* ubuntu	HD(3,MBR,0xe77ee77e,0x33339ffe,0x4b09002)/HD(1,MBR,0x0,0x3333a000,0x100800)/File(\EFI\ubuntu\shimx64.efi)
Boot0006* ubuntu	HD(3,MBR,0xe77ee77e,0x33339ffe,0x4b09002)/HD(1,MBR,0x0,0x3333a000,0x100800)/File(\EFI\ubuntu\shimx64.efi)
Boot0007* ubuntu	HD(3,MBR,0xe77ee77e,0x2d0557fe,0xaded802)/HD(1,MBR,0x0,0x2d055800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot0008* ubuntu	HD(3,MBR,0xe77ee77e,0x2d0557fe,0xaded802)/HD(1,MBR,0x0,0x2d055800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot0009* ubuntu	HD(3,MBR,0xe77ee77e,0x2d0557fe,0xaded802)/HD(1,MBR,0x0,0x2d055800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot000A* ubuntu	HD(3,MBR,0xe77ee77e,0x2d0557fe,0xaded802)/HD(1,MBR,0x0,0x2d055800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot000B* ubuntu	HD(3,MBR,0xe77ee77e,0x2d0557fe,0xaded802)/HD(1,MBR,0x0,0x2d055800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot000C* ubuntu	HD(3,MBR,0xe77ee77e,0x2d0557fe,0xaded802)/HD(1,MBR,0x0,0x2d055800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot000D* ubuntu	HD(3,MBR,0xe77ee77e,0x2d0557fe,0xaded802)/HD(1,MBR,0x0,0x2d055800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot000E* ubuntu	HD(3,MBR,0xe77ee77e,0x2d0557fe,0xaded802)/HD(1,MBR,0x0,0x2d055800,0x100000)/File(\EFI\ubuntu\shimx64.efi)



============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

sda	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	63 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda2	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda4	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda5	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios

Partitions info (2/3): _________________________________________________________

sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	is-winboot
sda4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda5	: isnotESP,	fstab-without-efi,	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
sda2	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda4	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
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: 447.1 GiB, 480103981056 bytes, 937703088 sectors
Disk identifier: 0xe77ee77e
      Boot     Start       End   Sectors   Size Id Type
sda1              63   1185854   1185792   579M  7 HPFS/NTFS/exFAT
sda2         1185855 308754214 307568360 146.7G  7 HPFS/NTFS/exFAT
sda3       755324926 937701375 182376450    87G  5 Extended
sda4       308754432 755323015 446568584   213G  7 HPFS/NTFS/exFAT
sda5       756375552 937701375 181325824  86.5G 83 Linux
Partition table entries are not in disk order.
Disk sdb: 28.9 GiB, 31037849600 bytes, 60620800 sectors
Disk identifier: 0x2c534026
      Boot Start     End Sectors  Size Id Type
sdb1  *        0 1802239 1802240  880M  0 Empty
sdb2         964    5891    4928  2.4M ef EFI (FAT-12/16/32)
Disk zram0: 980.2 MiB, 1027817472 bytes, 250932 sectors
Disk zram1: 980.2 MiB, 1027817472 bytes, 250932 sectors
Disk zram2: 980.2 MiB, 1027817472 bytes, 250932 sectors
Disk zram3: 980.2 MiB, 1027817472 bytes, 250932 sectors

parted -lm (filtered): _________________________________________________________

sda:480GB:scsi:512:512:msdos:ATA CT480BX500SSD1:;
1:32.3kB:607MB:607MB:ntfs::;
2:607MB:158GB:157GB:ntfs::;
4:158GB:387GB:229GB:ntfs::;
3:387GB:480GB:93.4GB:::;
5:387GB:480GB:92.8GB:ext4::;
sdb:31.0GB:scsi:512:512:msdos:Lexar USB Flash Drive:;
2:494kB:3017kB:2523kB:::esp;
zram3:1028MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1028MB:1028MB:linux-swap(v1)::;
zram1:1028MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1028MB:1028MB:linux-swap(v1)::;
zram2:1028MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1028MB:1028MB:linux-swap(v1)::;
zram0:1028MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1028MB:1028MB:linux-swap(v1)::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                  PARTLABEL
sda                                                                                                              
├─sda1 ntfs     01D7E7ACAFA53530                     e77ee77e-01                          Réservé au système     
├─sda2 ntfs     01D7E7B21CE00F80                     e77ee77e-02                          Windows                
├─sda3                                               e77ee77e-03                                                 
├─sda4 ntfs     5EE0973FE0971BF9                     e77ee77e-04                          Données                
└─sda5 ext4     b2fbcb2d-11b0-4eea-970b-7cbd3e1adda1 e77ee77e-05                                                 
sdb    iso9660  2020-06-13-00-42-55-00                                                    Boot-Repair-Disk 64bit 
├─sdb1 iso9660  2020-06-13-00-42-55-00               2c534026-01                          Boot-Repair-Disk 64bit 
└─sdb2 vfat     D055-8513                            2c534026-02                          Boot-Repair-Disk 64bit 
zram0                                                                                                            
zram1                                                                                                            
zram2                                                                                                            
zram3                                                                                                            

df (filtered): _________________________________________________________________

       Avail Use% Mounted on
sda1   548.2M   5% /mnt/boot-sav/sda1
sda2    57.7G  61% /mnt/boot-sav/sda2
sda4    84.5G  60% /mnt/boot-sav/sda4
sda5      71G  11% /mnt/boot-sav/sda5
sdb         0 100% /cdrom

Mount options: __________________________________________________________________

sda1   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda2   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda4   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda5   rw,relatime
sdb    ro,noatime,nojoliet,check=s,map=n,blocksize=2048

====================== sda5/boot/grub/grub.cfg (filtered) ======================

Ubuntu   b2fbcb2d-11b0-4eea-970b-7cbd3e1adda1
Ubuntu, with Linux 5.13.0-40-generic   b2fbcb2d-11b0-4eea-970b-7cbd3e1adda1
Ubuntu, with Linux 5.13.0-30-generic   b2fbcb2d-11b0-4eea-970b-7cbd3e1adda1
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda5/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda6 during installation
UUID=b2fbcb2d-11b0-4eea-970b-7cbd3e1adda1 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda5 during installation
/swapfile                                 none            swap    sw              0       0

======================= sda5/etc/default/grub (filtered) =======================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
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)
 360.667976379 = 387.264290816  boot/grub/grub.cfg                             1
 388.802886963 = 417.473921024  boot/grub/i386-pc/core.img                     1
 393.091506958 = 422.078791680  boot/vmlinuz                                   1
 365.325878143 = 392.265674752  boot/vmlinuz-5.13.0-30-generic                 1
 393.091506958 = 422.078791680  boot/vmlinuz-5.13.0-40-generic                 1
 365.325878143 = 392.265674752  boot/vmlinuz.old                               1
 367.808834076 = 394.931728384  boot/initrd.img                                2
 367.699409485 = 394.814234624  boot/initrd.img-5.13.0-30-generic              4
 367.808834076 = 394.931728384  boot/initrd.img-5.13.0-40-generic              2
 367.699409485 = 394.814234624  boot/initrd.img.old                            4

===================== sda5: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 18224 Jan 11 15:09 10_linux
-rwxr-xr-x 1 root root 42359 Jan 11 15:09 10_linux_zfs
-rwxr-xr-x 1 root root 12894 Jan 11 15:09 20_linux_xen
-rwxr-xr-x 1 root root 12059 Jan 11 15:09 30_os-prober
-rwxr-xr-x 1 root root  1424 Jan 11 15:09 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Feb 21 03:06 35_fwupd
-rwxr-xr-x 1 root root   214 Jan 11 15:09 40_custom
-rwxr-xr-x 1 root root   216 Jan 11 15:09 41_custom

=========================== sda5/etc/grub.d/35_fwupd ===========================

#! /bin/sh
# SPDX-License-Identifier: LGPL-2.1+
set -e
[ -d ${pkgdatadir:?} ]
# shellcheck source=/dev/null
. "$pkgdatadir/grub-mkconfig_lib"
if [ -f /var/lib/fwupd/uefi_capsule.conf ] &&
   ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then
      . /var/lib/fwupd/uefi_capsule.conf
      if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then
      echo "Adding Linux Firmware Updater entry" >&2
cat << EOF
menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' {
EOF
      ${grub_probe:?}
      prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"'
cat << EOF
	chainloader ${EFI_PATH}
}
EOF
      fi
fi

====================== sdb/boot/grub/grub.cfg (filtered) =======================

Boot-Repair-Disk session
Boot-Repair-Disk session (failsafe)

==================== sdb: Location of files loaded by Grub =====================

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1


======================== Unknown MBRs/Boot Sectors/etc =========================

Unknown BootLoader on sdb

00000000  33 ed 90 90 90 90 90 90  90 90 90 90 90 90 90 90  |3...............|
00000010  90 90 90 90 90 90 90 90  90 90 90 90 90 90 90 90  |................|
00000020  33 ed fa 8e d5 bc 00 7c  fb fc 66 31 db 66 31 c9  |3......|..f1.f1.|
00000030  66 53 66 51 06 57 8e dd  8e c5 52 be 00 7c bf 00  |fSfQ.W....R..|..|
00000040  06 b9 00 01 f3 a5 ea 4b  06 00 00 52 b4 41 bb aa  |.......K...R.A..|
00000050  55 31 c9 30 f6 f9 cd 13  72 16 81 fb 55 aa 75 10  |U1.0....r...U.u.|
00000060  83 e1 01 74 0b 66 c7 06  f3 06 b4 42 eb 15 eb 02  |...t.f.....B....|
00000070  31 c9 5a 51 b4 08 cd 13  5b 0f b6 c6 40 50 83 e1  |1.ZQ....[...@P..|
00000080  3f 51 f7 e1 53 52 50 bb  00 7c b9 04 00 66 a1 b0  |?Q..SRP..|...f..|
00000090  07 e8 44 00 0f 82 80 00  66 40 80 c7 02 e2 f2 66  |..D.....f@.....f|
000000a0  81 3e 40 7c fb c0 78 70  75 09 fa bc ec 7b ea 44  |.>@|..xpu....{.D|
000000b0  7c 00 00 e8 83 00 69 73  6f 6c 69 6e 75 78 2e 62  ||.....isolinux.b|
000000c0  69 6e 20 6d 69 73 73 69  6e 67 20 6f 72 20 63 6f  |in missing or co|
000000d0  72 72 75 70 74 2e 0d 0a  66 60 66 31 d2 66 03 06  |rrupt...f`f1.f..|
000000e0  f8 7b 66 13 16 fc 7b 66  52 66 50 06 53 6a 01 6a  |.{f...{fRfP.Sj.j|
000000f0  10 89 e6 66 f7 36 e8 7b  c0 e4 06 88 e1 88 c5 92  |...f.6.{........|
00000100  f6 36 ee 7b 88 c6 08 e1  41 b8 01 02 8a 16 f2 7b  |.6.{....A......{|
00000110  cd 13 8d 64 10 66 61 c3  e8 1e 00 4f 70 65 72 61  |...d.fa....Opera|
00000120  74 69 6e 67 20 73 79 73  74 65 6d 20 6c 6f 61 64  |ting system load|
00000130  20 65 72 72 6f 72 2e 0d  0a 5e ac b4 0e 8a 3e 62  | error...^....>b|
00000140  04 b3 07 cd 10 3c 0a 75  f1 cd 18 f4 eb fd 00 00  |.....<.u........|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  04 17 00 00 00 00 00 00  26 40 53 2c 00 00 80 00  |........&@S,....|
000001c0  01 00 00 3f e0 6f 00 00  00 00 00 80 1b 00 00 fe  |...?.o..........|
000001d0  ff ff ef fe ff ff c4 03  00 00 40 13 00 00 00 00  |..........@.....|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200


=============================== StdErr Messages ================================

File descriptor 63 (pipe:[44077]) leaked on lvs invocation. Parent PID 1863: /bin/bash

- Amorçage rapide décoché, boot UEFI sans CSM :

boot-repair-4ppa125                                              [20220510_0657]

============================= Boot Repair Summary ==============================



grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
/usr/share/boot-sav/bs-cmd_terminal.sh: line 177: warning: command substitution: ignored null byte in input
ping: google.com: Temporary failure in name resolution

Advices: _______________________________________________________________________
LegacyWindows detected. The boot of your PC is in EFI mode. You may want to retry after changing it to BIOS-compatibility/CSM/Legacy mode.
Are you sure you want to continue anyway? yes

Recommended repair: ____________________________________________________________

The default repair of the Boot-Repair utility will reinstall the grub2 of
sda5 into the MBR of sda.
Additional repair will be performed: unhide-bootmenu-10s



========================= Reinstall the grub2 of sda5 ==========================

grub-install --version
grub-install (GRUB) 2.04-1ubuntu26.15

==> Reinstall the GRUB of sda5 into the MBR of sda

grub-install /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.

chroot /mnt/boot-sav/sda5 update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.13.0-40-generic
Found initrd image: /boot/initrd.img-5.13.0-40-generic
Found linux image: /boot/vmlinuz-5.13.0-30-generic
Found initrd image: /boot/initrd.img-5.13.0-30-generic
File descriptor 63 (pipe:[42833]) leaked on lvs invocation. Parent PID 13914: /bin/sh
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
Adding boot menu entry for UEFI Firmware Settings

Unhide GRUB boot menu in sda5/boot/grub/grub.cfg

An error occurred during the repair.

You can now reboot your computer.

Please set your BIOS in Legacy mode in order to start your Ubuntu 20.04.4 LTS, then type command [sudo update-grub] in order to add the Windows entry to your GRUB menu.

============================ Boot Info After Repair ============================

 => 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
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Boot/BCD

sda2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 10
    Boot files:        /bootmgr /BOOT/BCD /Windows/System32/winload.exe

sda3: __________________________________________________________________________

    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.4 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub 
                       /boot/grub/i386-pc/core.img

sda4: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Unknown
    Boot sector info: 
    Operating System:  
    Boot files:        /boot/grub/grub.cfg


================================ 2 OS detected =================================

OS#1:   Ubuntu 20.04.4 LTS on sda5
OS#2:   Windows 10 on sda2

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, x86_64)


===================================== UEFI =====================================

BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled.

efibootmgr -v
BootCurrent: 0000
Timeout: 5 seconds
No BootOrder is set; firmware will attempt recovery



============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

sda	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	63 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda2	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda4	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda5	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios

Partitions info (2/3): _________________________________________________________

sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	is-winboot
sda4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda5	: isnotESP,	fstab-without-efi,	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
sda2	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda4	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
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: 447.1 GiB, 480103981056 bytes, 937703088 sectors
Disk identifier: 0xe77ee77e
      Boot     Start       End   Sectors   Size Id Type
sda1              63   1185854   1185792   579M  7 HPFS/NTFS/exFAT
sda2         1185855 308754214 307568360 146.7G  7 HPFS/NTFS/exFAT
sda3       755324926 937701375 182376450    87G  5 Extended
sda4       308754432 755323015 446568584   213G  7 HPFS/NTFS/exFAT
sda5       756375552 937701375 181325824  86.5G 83 Linux
Partition table entries are not in disk order.
Disk sdb: 28.9 GiB, 31037849600 bytes, 60620800 sectors
Disk identifier: 0x2c534026
      Boot Start     End Sectors  Size Id Type
sdb1  *        0 1802239 1802240  880M  0 Empty
sdb2         964    5891    4928  2.4M ef EFI (FAT-12/16/32)
Disk zram0: 980.2 MiB, 1027813376 bytes, 250931 sectors
Disk zram1: 980.2 MiB, 1027813376 bytes, 250931 sectors
Disk zram2: 980.2 MiB, 1027813376 bytes, 250931 sectors
Disk zram3: 980.2 MiB, 1027813376 bytes, 250931 sectors

parted -lm (filtered): _________________________________________________________

sda:480GB:scsi:512:512:msdos:ATA CT480BX500SSD1:;
1:32.3kB:607MB:607MB:ntfs::;
2:607MB:158GB:157GB:ntfs::;
4:158GB:387GB:229GB:ntfs::;
3:387GB:480GB:93.4GB:::;
5:387GB:480GB:92.8GB:ext4::;
sdb:31.0GB:scsi:512:512:msdos:Lexar USB Flash Drive:;
2:494kB:3017kB:2523kB:::esp;
zram3:1028MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1028MB:1028MB:linux-swap(v1)::;
zram1:1028MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1028MB:1028MB:linux-swap(v1)::;
zram2:1028MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1028MB:1028MB:linux-swap(v1)::;
zram0:1028MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1028MB:1028MB:linux-swap(v1)::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL                  PARTLABEL
sda                                                                                                              
├─sda1 ntfs     01D7E7ACAFA53530                     e77ee77e-01                          Réservé au système     
├─sda2 ntfs     01D7E7B21CE00F80                     e77ee77e-02                          Windows                
├─sda3                                               e77ee77e-03                                                 
├─sda4 ntfs     5EE0973FE0971BF9                     e77ee77e-04                          Données                
└─sda5 ext4     b2fbcb2d-11b0-4eea-970b-7cbd3e1adda1 e77ee77e-05                                                 
sdb    iso9660  2020-06-13-00-42-55-00                                                    Boot-Repair-Disk 64bit 
├─sdb1 iso9660  2020-06-13-00-42-55-00               2c534026-01                          Boot-Repair-Disk 64bit 
└─sdb2 vfat     D055-8513                            2c534026-02                          Boot-Repair-Disk 64bit 
zram0                                                                                                            
zram1                                                                                                            
zram2                                                                                                            
zram3                                                                                                            

df (filtered): _________________________________________________________________

       Avail Use% Mounted on
sda1   548.2M   5% /mnt/boot-sav/sda1
sda2    57.7G  61% /mnt/boot-sav/sda2
sda4    84.5G  60% /mnt/boot-sav/sda4
sda5      71G  11% /mnt/boot-sav/sda5
sdb         0 100% /cdrom

Mount options: __________________________________________________________________

sda1   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda2   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda4   rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda5   rw,relatime
sdb    ro,noatime,nojoliet,check=s,map=n,blocksize=2048

====================== sda5/boot/grub/grub.cfg (filtered) ======================

Ubuntu   b2fbcb2d-11b0-4eea-970b-7cbd3e1adda1
Ubuntu, with Linux 5.13.0-40-generic   b2fbcb2d-11b0-4eea-970b-7cbd3e1adda1
Ubuntu, with Linux 5.13.0-30-generic   b2fbcb2d-11b0-4eea-970b-7cbd3e1adda1
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda5/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda6 during installation
UUID=b2fbcb2d-11b0-4eea-970b-7cbd3e1adda1 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda5 during installation
/swapfile                                 none            swap    sw              0       0

======================= sda5/etc/default/grub (filtered) =======================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
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)
 360.667976379 = 387.264290816  boot/grub/grub.cfg                             1
 388.814022064 = 417.485877248  boot/grub/i386-pc/core.img                     1
 393.091506958 = 422.078791680  boot/vmlinuz                                   1
 365.325878143 = 392.265674752  boot/vmlinuz-5.13.0-30-generic                 1
 393.091506958 = 422.078791680  boot/vmlinuz-5.13.0-40-generic                 1
 365.325878143 = 392.265674752  boot/vmlinuz.old                               1
 367.808834076 = 394.931728384  boot/initrd.img                                2
 367.699409485 = 394.814234624  boot/initrd.img-5.13.0-30-generic              4
 367.808834076 = 394.931728384  boot/initrd.img-5.13.0-40-generic              2
 367.699409485 = 394.814234624  boot/initrd.img.old                            4

===================== sda5: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 18224 Jan 11 15:09 10_linux
-rwxr-xr-x 1 root root 42359 Jan 11 15:09 10_linux_zfs
-rwxr-xr-x 1 root root 12894 Jan 11 15:09 20_linux_xen
-rwxr-xr-x 1 root root 12059 Jan 11 15:09 30_os-prober
-rwxr-xr-x 1 root root  1424 Jan 11 15:09 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Feb 21 03:06 35_fwupd
-rwxr-xr-x 1 root root   214 Jan 11 15:09 40_custom
-rwxr-xr-x 1 root root   216 Jan 11 15:09 41_custom

=========================== sda5/etc/grub.d/35_fwupd ===========================

#! /bin/sh
# SPDX-License-Identifier: LGPL-2.1+
set -e
[ -d ${pkgdatadir:?} ]
# shellcheck source=/dev/null
. "$pkgdatadir/grub-mkconfig_lib"
if [ -f /var/lib/fwupd/uefi_capsule.conf ] &&
   ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then
      . /var/lib/fwupd/uefi_capsule.conf
      if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then
      echo "Adding Linux Firmware Updater entry" >&2
cat << EOF
menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' {
EOF
      ${grub_probe:?}
      prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"'
cat << EOF
	chainloader ${EFI_PATH}
}
EOF
      fi
fi

====================== sdb/boot/grub/grub.cfg (filtered) =======================

Boot-Repair-Disk session
Boot-Repair-Disk session (failsafe)

==================== sdb: Location of files loaded by Grub =====================

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1


======================== Unknown MBRs/Boot Sectors/etc =========================

Unknown BootLoader on sdb

00000000  33 ed 90 90 90 90 90 90  90 90 90 90 90 90 90 90  |3...............|
00000010  90 90 90 90 90 90 90 90  90 90 90 90 90 90 90 90  |................|
00000020  33 ed fa 8e d5 bc 00 7c  fb fc 66 31 db 66 31 c9  |3......|..f1.f1.|
00000030  66 53 66 51 06 57 8e dd  8e c5 52 be 00 7c bf 00  |fSfQ.W....R..|..|
00000040  06 b9 00 01 f3 a5 ea 4b  06 00 00 52 b4 41 bb aa  |.......K...R.A..|
00000050  55 31 c9 30 f6 f9 cd 13  72 16 81 fb 55 aa 75 10  |U1.0....r...U.u.|
00000060  83 e1 01 74 0b 66 c7 06  f3 06 b4 42 eb 15 eb 02  |...t.f.....B....|
00000070  31 c9 5a 51 b4 08 cd 13  5b 0f b6 c6 40 50 83 e1  |1.ZQ....[...@P..|
00000080  3f 51 f7 e1 53 52 50 bb  00 7c b9 04 00 66 a1 b0  |?Q..SRP..|...f..|
00000090  07 e8 44 00 0f 82 80 00  66 40 80 c7 02 e2 f2 66  |..D.....f@.....f|
000000a0  81 3e 40 7c fb c0 78 70  75 09 fa bc ec 7b ea 44  |.>@|..xpu....{.D|
000000b0  7c 00 00 e8 83 00 69 73  6f 6c 69 6e 75 78 2e 62  ||.....isolinux.b|
000000c0  69 6e 20 6d 69 73 73 69  6e 67 20 6f 72 20 63 6f  |in missing or co|
000000d0  72 72 75 70 74 2e 0d 0a  66 60 66 31 d2 66 03 06  |rrupt...f`f1.f..|
000000e0  f8 7b 66 13 16 fc 7b 66  52 66 50 06 53 6a 01 6a  |.{f...{fRfP.Sj.j|
000000f0  10 89 e6 66 f7 36 e8 7b  c0 e4 06 88 e1 88 c5 92  |...f.6.{........|
00000100  f6 36 ee 7b 88 c6 08 e1  41 b8 01 02 8a 16 f2 7b  |.6.{....A......{|
00000110  cd 13 8d 64 10 66 61 c3  e8 1e 00 4f 70 65 72 61  |...d.fa....Opera|
00000120  74 69 6e 67 20 73 79 73  74 65 6d 20 6c 6f 61 64  |ting system load|
00000130  20 65 72 72 6f 72 2e 0d  0a 5e ac b4 0e 8a 3e 62  | error...^....>b|
00000140  04 b3 07 cd 10 3c 0a 75  f1 cd 18 f4 eb fd 00 00  |.....<.u........|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  04 17 00 00 00 00 00 00  26 40 53 2c 00 00 80 00  |........&@S,....|
000001c0  01 00 00 3f e0 6f 00 00  00 00 00 80 1b 00 00 fe  |...?.o..........|
000001d0  ff ff ef fe ff ff c4 03  00 00 40 13 00 00 00 00  |..........@.....|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200


=============================== StdErr Messages ================================

File descriptor 63 (pipe:[42833]) leaked on lvs invocation. Parent PID 1854: /bin/bash

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#15 Le 10/05/2022, à 09:05

geole

Re : L'éxécution de grub-install/dev/sda à échoué "RESOLU"

Ne prends pas en compte l'erreur rencontrée par boot-repair. Elle porte sur SDB qui est le support d'installation.

grub-probe : erreur : impossible de trouver un périphérique GRUB pour /dev/sdb1. Vérifiez device.map..
grub-probe : erreur : impossible de trouver un périphérique GRUB pour /dev/sdb1. Vérifiez device.map..

Cette erreur provient du fait que tu as une image de cd-rom, Je vais demander à Yannubutu s'il peut éviter de réparer les supports au format ISO.

Si tu ne t'en tires pas en mode ancien ni en mode Efi with CSM,
Supprime toutes les partitions EXT4 et boote windows.
Répare-le au besoin et lance l'application MBR2GPT puis mets-toi en EFI pur pour vérifier que windows fonctionne et relance l'installation de kubuntu

Dernière modification par geole (Le 10/05/2022, à 09:09)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#16 Le 10/05/2022, à 09:38

Jean-Marc_38

Re : L'éxécution de grub-install/dev/sda à échoué "RESOLU"

Si je charge la sauvegarde image système faite avant l'installation de Kunbutu, est ce que ce ne serait pas plus simple ?

Hors ligne

#17 Le 10/05/2022, à 10:18

iznobe

Re : L'éxécution de grub-install/dev/sda à échoué "RESOLU"

Ben tu reviendras a l ' etat de la sauvegarde , mais ca ne  changera rien au soucis rencontré .

Je ne comprends pas un truc , pourquoi essayer les 3 modes de demarrage ? Si tu es en EFI pour ton windows , il vaut mieux forcer le EFI dans le BIOS et installer ubuntu en EFI .

Si tu es en mode LEGACY ( ou ancien ) avec ton windows , tu forces le BIOS avec le mode de demarrage LEGACY ou ancien , et tu installes ubuntu en consequence .

Comme l' a evoqué @geole ,

si tu supprimes les partitions non reconnues par windows sur ton disque

, swap linux , ext4 etc ... en session live , tu peux alors convertir le disque contenant windows en GPT et donc pour un demarrage en mode EFI sur le BIOS , en utilisant MBR2GPT .

Pour l ' avoir pratiquer sur mon ordinateur , ca se fait facilement et c ' est rapide , il faut aussi croiser les doigts et serrer les fesses tongue mais bon , pour mon cas c a c ' est bien passé et d' autres l ' ont aussi tester apres sur le forum , pour l' instant sans accroc .



Je ne sais pas si on en a deja parler dans ce post , mais si il existe une MAJ du BIOS pour ta carte mere , ca pourrait aussi probablement resoudre le probleme de reconnaissance du mode de demarrage , qui est evidemment lié au BIOS .

Dernière modification par iznobe (Le 10/05/2022, à 10:19)


retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#18 Le 27/05/2022, à 08:23

Jean-Marc_38

Re : L'éxécution de grub-install/dev/sda à échoué "RESOLU"

Bonjour,

Me revoilà, j'ai eu des pb pour retrouver un système fonctionnel. J'ai pu restaurer mon image disque initiale.
J'essaie maintenant de convertir le disque en GPT. J'utilise mbr2gpt et j'obtiens l'erreur suivante : Cannot find OS partition(s) for disk 0

Une solution ?
Merci.

Hors ligne

#19 Le 27/05/2022, à 13:46

geole

Re : L'éxécution de grub-install/dev/sda à échoué "RESOLU"

Bonjour.
https://www.diskpart.com/fr/articles/mb … on-os.html
Merci de refaire un boot-info depuis le support d'installation afin de voir ce que le disqu contient.

Dernière modification par geole (Le 27/05/2022, à 13:48)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#20 Le 27/06/2022, à 13:56

Jean-Marc_38

Re : L'éxécution de grub-install/dev/sda à échoué "RESOLU"

Bonjour,

N'arrivant pas à solutionner mon pb, j'ai pris une solution radicale : réinstallation complète de W10 en UEFI. Puis installation de Kubuntu. Je n'ai pas eu l'option "installer à coté de Windows".

Je me retrouve maintenant avec le dual boot ne fonctionnant pas. W10 démarre en priorité. Je peux démarrer Kubuntu à partir de l'option de démarrage du bios (touche f9).

J'ai effectué un boot repair dont voici les infos : http://paste.ubuntu.com/p/JQbNKSTQhG/

Je pense que je ne suis pas loin du but maintenant. Pouvez-vous m'aider à y parvenir?

Merci.

Hors ligne

#21 Le 27/06/2022, à 14:10

xubu1957

Re : L'éxécution de grub-install/dev/sda à échoué "RESOLU"

Bonjour,

Collage du Boot-repair, pour les spécialistes :

boot-repair-4ppa200                                              [20220627_0856]

============================= Boot Repair Summary ==============================




Default settings: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi of
sda5,
using the following options:  sda1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the Ubuntu 20.04.4 LTS entry (sda1/efi/****/grub****.efi (**** will be updated in the final message) file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.
If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\****\grub****.efi (**** will be updated in the final message)

User settings: _________________________________________________________________

Please backup your data before this operation.
The settings chosen by the user will reinstall the grub-efi of
sda5,
using the following options:  sda1/boot/efi
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file


Could not detect USEDPERCENT of sda3 ().
/dev/sda3      417138704 -34628896 451767600    - /mnt/boot-sav/sda3

Mount sda1 on /mnt/boot-sav/sda5/boot/efi

Unhide GRUB boot menu in sda5/etc/default/grub

======================== Reinstall the grub-efi of sda5 ========================

chroot /mnt/boot-sav/sda5 grub-install --version
grub-install (GRUB) 2.04-1ubuntu26.15
modprobe: FATAL: Module efivars not found in directory /lib/modules/5.3.0-28-generic
chroot /mnt/boot-sav/sda5 modprobe efivars

chroot /mnt/boot-sav/sda5 efibootmgr -v before grub install
BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0001,0000
Boot0000* Windows Boot Manager	HD(1,GPT,63a8f308-a4c0-42dc-9b3d-b58ec1f6b1ab,0x800,0x32000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...C................
Boot0001* ubuntu	HD(1,GPT,63a8f308-a4c0-42dc-9b3d-b58ec1f6b1ab,0x800,0x32000)/File(EFIubuntushimx64.efi)

chroot /mnt/boot-sav/sda5 uname -r
5.3.0-28-generic

chroot /mnt/boot-sav/sda5 grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
Installation finished. No error reported.
df /dev/sda1
mv /mnt/boot-sav/sda5/boot/efi/EFI/Boot/bootx64.efi /mnt/boot-sav/sda5/boot/efi/EFI/Boot/bkpbootx64.efi
cp /mnt/boot-sav/sda5/boot/efi/efi/ubuntu/grubx64.efi /mnt/boot-sav/sda5/boot/efi/EFI/Boot/bootx64.efi

chroot /mnt/boot-sav/sda5 grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
Installation finished. No error reported.

chroot /mnt/boot-sav/sda5 efibootmgr -v after grub install
BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0001,0000
Boot0000* Windows Boot Manager	HD(1,GPT,63a8f308-a4c0-42dc-9b3d-b58ec1f6b1ab,0x800,0x32000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...C................
Boot0001* ubuntu	HD(1,GPT,63a8f308-a4c0-42dc-9b3d-b58ec1f6b1ab,0x800,0x32000)/File(EFIubuntushimx64.efi)
Warning: NVram was not modified.

chroot /mnt/boot-sav/sda5 update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.13.0-51-generic
Found initrd image: /boot/initrd.img-5.13.0-51-generic
Found linux image: /boot/vmlinuz-5.13.0-30-generic
Found initrd image: /boot/initrd.img-5.13.0-30-generic
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings

Unhide GRUB boot menu in sda5/boot/grub/grub.cfg

Boot successfully repaired.

You can now reboot your computer.
Please do not forget to make your UEFI firmware boot on the Ubuntu 20.04.4 LTS entry (sda1/efi/ubuntu/grubx64.efi file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.
If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi


============================ Boot Info After Repair ============================

 => No boot loader is installed in the MBR of /dev/sda.
 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/10/11/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/Boot/bkpbootx64.efi /efi/Boot/bootx64.efi 
                       /efi/Boot/fbx64.efi /efi/Boot/mmx64.efi 
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg 
                       /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi

sda2: __________________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 

sda3: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/10/11/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 8 or 10
    Boot files:        /Windows/System32/winload.exe

sda4: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/10/11/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sda5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 20.04.4 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.03
    Boot sector info:  Syslinux looks at sector 32800 of /dev/sdb1 for its 
                       second stage. The integrity check of Syslinux failed. 
                       No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg 
                       /efi/BOOT/grubx64.efi /ldlinux.sys


================================ 2 OS detected =================================

OS#1:   Ubuntu 20.04.4 LTS on sda5
OS#2:   Windows 8 or 10 on sda3

================================ Host/Hardware =================================

CPU architecture: 64-bit
Video: 3rd Gen Core processor Graphics Controller from Intel Corporation
Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, x86_64)

===================================== UEFI =====================================

BIOS/UEFI firmware: 68IRR Ver. F.68 from Hewlett-Packard
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled - SecureBoot disabled
Platform is in Setup Mode - Please report this message to boot.repair@gmail.com.
BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0001,0000
Boot0000* Windows Boot Manager	HD(1,GPT,63a8f308-a4c0-42dc-9b3d-b58ec1f6b1ab,0x800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...C................
Boot0001* ubuntu	HD(1,GPT,63a8f308-a4c0-42dc-9b3d-b58ec1f6b1ab,0x800,0x32000)/File(\EFI\ubuntu\shimx64.efi)

728124f6ec8e22fbdbe7034812c81b95   sda1/Boot/bkpbootx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda1/Boot/bootx64.efi
85fa9d77b929ec4231aba29476574eb6   sda1/Boot/fbx64.efi
469e608783843a701d172242f016c79c   sda1/Boot/mmx64.efi
fa1bf1a7f90a852abe0bdbd089b7f1b0   sda1/ubuntu/grubx64.efi
469e608783843a701d172242f016c79c   sda1/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda1/ubuntu/shimx64.efi
3ff213addd49e6515922de34952223ad   sda1/Microsoft/Boot/bootmgfw.efi
b8736f6dbf1baf951d389be5a519fb32   sda1/Microsoft/Boot/bootmgr.efi

============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

sda	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda3	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda4	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda5	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios

Partitions info (2/3): _________________________________________________________

sda1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	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,	no--grub.d,	sda
sda3	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda4	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
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: 447.1 GiB, 480103981056 bytes, 937703088 sectors
Disk identifier: 86263B3F-4738-4A07-B8D5-D02DF4355524
          Start       End   Sectors   Size Type
sda1       2048    206847    204800   100M EFI System
sda2     206848    239615     32768    16M Microsoft reserved
sda3     239616 834517027 834277412 397.8G Microsoft basic data
sda4  936628224 937699327   1071104   523M Windows recovery environment
sda5  834519040 936628223 102109184  48.7G Linux filesystem
Partition table entries are not in disk order.
Disk sdb: 14.4 GiB, 15401484288 bytes, 30081024 sectors
Disk identifier: 0x3ff4565c
      Boot Start      End  Sectors  Size Id Type
sdb1  *     2048 30081023 30078976 14.4G  c W95 FAT32 (LBA)
Disk zram0: 980.2 MiB, 1027813376 bytes, 250931 sectors
Disk zram1: 980.2 MiB, 1027813376 bytes, 250931 sectors
Disk zram2: 980.2 MiB, 1027813376 bytes, 250931 sectors
Disk zram3: 980.2 MiB, 1027813376 bytes, 250931 sectors

parted -lm (filtered): _________________________________________________________

sda:480GB:scsi:512:512:gpt:ATA CT480BX500SSD1:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
3:123MB:427GB:427GB:ntfs:Basic data partition:msftdata;
5:427GB:480GB:52.3GB:ext4::;
4:480GB:480GB:548MB:ntfs::hidden, diag;
sdb:15.4GB:scsi:512:512:msdos: USB  SanDisk 3.2Gen1:;
1:1049kB:15.4GB:15.4GB:fat32::boot, lba;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL       PARTLABEL
sda                                                                                                   
├─sda1 vfat     3E9C-4BAA                            63a8f308-a4c0-42dc-9b3d-b58ec1f6b1ab             EFI system partition
├─sda2                                               e062aa76-f7b3-469d-9e06-d3ce07f70f3b             Microsoft reserved partition
├─sda3 ntfs     C472B50A72B5026A                     955b14a5-cf0b-423a-a9e9-a0ca4f05ed89             Basic data partition
├─sda4 ntfs     2880AA0480A9D918                     e6d86d65-f64a-4a29-a076-ca0dcf804b3c             
└─sda5 ext4     6265d3a1-c9be-4610-b129-1e89e575c66b 6d82739c-6fd3-4235-9ca0-0f72aef798ab             
sdb                                                                                                   
└─sdb1 vfat     CE31-72D5                            3ff4565c-01                          BOOT-REPAIR 

Mount points (filtered): _______________________________________________________

            Avail            Use% Mounted on
/dev/sda1      65M             32% /mnt/boot-sav/sda1
/dev/sda3   430.9G 17688834813756% /mnt/boot-sav/sda3
/dev/sda4    88.7M             83% /mnt/boot-sav/sda4
/dev/sda5    36.1G             19% /mnt/boot-sav/sda5
/dev/sdb1    13.5G              6% /cdrom

Mount options (filtered): ______________________________________________________

/dev/sda1   vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sda3   fuseblk         ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda4   fuseblk         ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda5   ext4            rw,relatime
/dev/sdb1   vfat            ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro

===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================

search.fs_uuid 6265d3a1-c9be-4610-b129-1e89e575c66b root hd0,gpt5 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

====================== sda5/boot/grub/grub.cfg (filtered) ======================

Ubuntu   6265d3a1-c9be-4610-b129-1e89e575c66b
Ubuntu, with Linux 5.13.0-51-generic   6265d3a1-c9be-4610-b129-1e89e575c66b
Ubuntu, with Linux 5.13.0-30-generic   6265d3a1-c9be-4610-b129-1e89e575c66b
Windows Boot Manager (on sda1)   osprober-efi-3E9C-4BAA
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### 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=6265d3a1-c9be-4610-b129-1e89e575c66b /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=3E9C-4BAA  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

======================= sda5/etc/default/grub (filtered) =======================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false

==================== sda5: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
 397.929695129 = 427.273756672  boot/grub/grub.cfg                             1
 405.134479523 = 435.009835008  boot/vmlinuz                                   1
 402.703121185 = 432.399183872  boot/vmlinuz-5.13.0-30-generic                 2
 405.134479523 = 435.009835008  boot/vmlinuz-5.13.0-51-generic                 1
 402.703121185 = 432.399183872  boot/vmlinuz.old                               2
 405.623016357 = 435.534397440  boot/initrd.img                                2
 405.525333405 = 435.429511168  boot/initrd.img-5.13.0-30-generic              1
 405.623016357 = 435.534397440  boot/initrd.img-5.13.0-51-generic              2
 405.525333405 = 435.429511168  boot/initrd.img.old                            1

===================== sda5: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 18224 Jan 11 15:09 10_linux
-rwxr-xr-x 1 root root 42359 Aug 12  2021 10_linux_zfs
-rwxr-xr-x 1 root root 12894 Aug 12  2021 20_linux_xen
-rwxr-xr-x 1 root root 12059 Aug 12  2021 30_os-prober
-rwxr-xr-x 1 root root  1424 Aug 12  2021 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Aug 12  2021 40_custom
-rwxr-xr-x 1 root root   216 Aug 12  2021 41_custom

====================== sdb1/boot/grub/grub.cfg (filtered) ======================

Boot-Repair-Disk session
Boot-Repair-Disk session (failsafe)

========================= sdb1/syslinux.cfg (filtered) =========================

DEFAULT loadconfig

LABEL loadconfig
  CONFIG /isolinux/isolinux.cfg
  APPEND /isolinux/

==================== sdb1: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1

================== sdb1: Location of files loaded by Syslinux ==================

           GiB - GB             File                                 Fragment(s)
            ?? = ??             syslinux.cfg                                   1
            ?? = ??             ldlinux.sys                                    1

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#22 Le 27/06/2022, à 15:11

geole

Re : L'éxécution de grub-install/dev/sda à échoué "RESOLU"

Jean-Marc_38 a écrit :

Je me retrouve maintenant avec le dual boot ne fonctionnant pas. W10 démarre en priorité. Je peux démarrer Kubuntu à partir de l'option de démarrage du bios (touche f9).

Je pense que je ne suis pas loin du but maintenant. Pouvez-vous m'aider à y parvenir?

Merci.

Bonjour
Au vu de la réparation faite
===================================== UEFI
BootOrder: 0001,0000
Boot0000* Windows Boot Manager    HD(1,GPT,63a8f308-a4c0-42dc-9b3d-b58ec1f6b1ab,0x800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...C................
Boot0001* ubuntu    HD(1,GPT,63a8f308-a4c0-42dc-9b3d-b58ec1f6b1ab,0x800,0x32000)/File(\EFI\ubuntu\shimx64.efi)
Warning: NVram was not modified.

Tout est parfait.  Tu semble dire que windows démarre automatiquement et que tu dois faite un appui sur la touche F9 pour choisir de booter ubuntu. J'ai le regret de te dire que c'est le comportement  normal de 90% des ordinateurs  hp

Tu va donc demander à windows  de s'occuper de présenter la structure de boot.
Pour cela tu vas faire le commande
If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:

bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi

Attention   C'est en mode administrateur
Suivant les versions windows la codification peut aussi être

bcdedit /set "{bootmgr}" path \EFI\ubuntu\grubx64.efi
ou
bcdedit /set '{bootmgr}' path \EFI\ubuntu\grubx64.efi

et si cela ne fonctionne pas, il faudra remplacer le programme de boot de windows par refind ou rester définitivement avec le choix  de la touche f9

Dernière modification par geole (Le 27/06/2022, à 15:12)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#23 Le 27/06/2022, à 15:48

Jean-Marc_38

Re : L'éxécution de grub-install/dev/sda à échoué "RESOLU"

Merci.

La commande : bcdedit /set "{bootmgr}" path \EFI\ubuntu\grubx64.efi a fonctionné mais n'a pas donné de résultat.

Mais si tu dis que c'est quasiment un fonctionnement normal, je vais rester comme cela smile

Merci à tous ceux ayant participé au post. Je vais maintenant pouvoir faire mes premières armes.

Dernière modification par Jean-Marc_38 (Le 27/06/2022, à 17:26)

Hors ligne

#24 Le 27/06/2022, à 16:36

malbo

Re : L'éxécution de grub-install/dev/sda à échoué "RESOLU"

Jean-Marc_38 a écrit :

Mais si tu dis que c'est quasiment un fonctionnement normal, je vais rester comme cela smile

Bonjour,
Dans la Liste des portables HP, on peut voir pour la ligne "ProBook 4540s" :

Installation en uefi difficile (démarre sur windows, appuyer sur F9 pour accéder à Ubuntu). 

Je pense que c'est plus prudent de s'en tenir à la même procédure (appuyer sur F9 pour accéder à Ubuntu)

Dernière modification par malbo (Le 27/06/2022, à 17:32)

Hors ligne