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 19/01/2022, à 12:06

Lagging

Démarrage grub Minimal-Bash

Bonjour,

Mon ordinateur a démarré sur le grub minimal ce matin.

Voilà le retour du boot-repair :

boot-repair-4ppa161                                              [20220119_1052]

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

 => No boot loader is installed in the MBR of /dev/nvme0n1.
 => 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.

nvme0n1p1: _____________________________________________________________________

    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/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 
                       /efi/OEM/Boot/bootmgfw.efi /efi/OEM/Boot/bootmgr.efi

nvme0n1p2: _____________________________________________________________________

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

nvme0n1p3: _____________________________________________________________________

    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

nvme0n1p4: _____________________________________________________________________

    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:        

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.04
    Boot sector info:  Syslinux looks at sector 32816 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 21.10 on sda1
OS#2:   Windows 10 or 11 on nvme0n1p3

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

CPU architecture: 64-bit
Video: NVIDIACorporation
AdvancedMicroDevices,Inc.[AMD/ATI] from   NVIDIA Corporation
  Advanced Micro Devices, Inc. [AMD/ATI]
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04.3 LTS, focal, x86_64)


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

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

efibootmgr -v
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0002,0000,0001,2001,2002,2003
Boot0000* ubuntu	HD(1,GPT,fa67e3e9-a75b-40c8-97da-2bfac2b8d79a,0x800,0x32000)/File(\EFI\ubuntu\shimx64.efi)
Boot0001* Windows Boot Manager	HD(1,GPT,fa67e3e9-a75b-40c8-97da-2bfac2b8d79a,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.}...4................
Boot0002* Linpus lite	HD(1,MBR,0xa9a4b,0x800,0x1c99800)/File(\EFI\Boot\grubx64.efi)RC
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot2003* EFI Network	RC

728124f6ec8e22fbdbe7034812c81b95   nvme0n1p1/Boot/bootx64.efi
c152ec201c37b6e97bbc2207e49d1271   nvme0n1p1/Boot/fbx64.efi
fdafb5eece6caeccb788c946a28e6872   nvme0n1p1/Boot/mmx64.efi
eca92010a3d461e0f52639d330f3f43d   nvme0n1p1/ubuntu/grubx64.efi
fdafb5eece6caeccb788c946a28e6872   nvme0n1p1/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   nvme0n1p1/ubuntu/shimx64.efi
b5ebf80444fcc27af92feb137b3167bf   nvme0n1p1/Microsoft/Boot/bootmgfw.efi
5287592fb5b695cf8b12f69ed9d09444   nvme0n1p1/Microsoft/Boot/bootmgr.efi
736f6d21eead78280a6bee745c63d8f4   nvme0n1p1/OEM/Boot/bootmgfw.efi
d71582ef6b6c9e8fbc1cac8b105c6150   nvme0n1p1/OEM/Boot/bootmgr.efi


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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

nvme0n1p1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sda1	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

nvme0n1p1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	nvme0n1
nvme0n1p3	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	nvme0n1
nvme0n1p4	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	nvme0n1
sda1	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda3	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk nvme0n1: 476.96 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: D2283919-11C4-4916-820B-F41A5E15584D
              Start        End   Sectors   Size Type
nvme0n1p1      2048     206847    204800   100M EFI System
nvme0n1p2    206848     239615     32768    16M Microsoft reserved
nvme0n1p3    239616  998117375 997877760 475.8G Microsoft basic data
nvme0n1p4 998117376 1000214527   2097152     1G Windows recovery environment
Disk sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: E2102328-3FBE-4CE3-B2C3-20FD599ABC89
          Start        End    Sectors  Size Type
sda1       2048   97656831   97654784 46.6G Linux filesystem
sda2   97656832  128907263   31250432 14.9G Linux swap
sda3  128907264 1953523711 1824616448  870G Linux filesystem
Disk sdb: 14.31 GiB, 15355346944 bytes, 29990912 sectors
Disk identifier: 0x000a9a4b
      Boot Start      End  Sectors  Size Id Type
sdb1  *     2048 29990911 29988864 14.3G  c W95 FAT32 (LBA)

parted -lm (filtered): _________________________________________________________

sda:1000GB:scsi:512:4096:gpt:ATA CT1000MX500SSD1:;
1:1049kB:50.0GB:50.0GB:ext4::;
2:50.0GB:66.0GB:16.0GB:linux-swap(v1)::swap;
3:66.0GB:1000GB:934GB:ext4::;
sdb:15.4GB:scsi:512:512:msdos: USB DISK 2.0:;
1:1049kB:15.4GB:15.4GB:fat32::boot, lba;
nvme0n1:512GB:nvme:512:512:gpt:KINGSTON OM8PDP3512B-AA1:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
3:123MB:511GB:511GB:ntfs:Basic data partition:msftdata;
4:511GB:512GB:1074MB:ntfs::hidden, diag;

Free space (filtered): _________________________________________________________

nvme0n1:488386MiB:nvme:512:512:gpt:KINGSTON OM8PDP3512B-AA1:;
1:0.02MiB:1.00MiB:0.98MiB:free;
1:488386MiB:488386MiB:0.32MiB:free;
sda:953870MiB:scsi:512:4096:gpt:ATA CT1000MX500SSD1:;
1:0.02MiB:1.00MiB:0.98MiB:free;
1:953869MiB:953870MiB:0.69MiB:free;
sdb:14644MiB:scsi:512:512:msdos: USB DISK 2.0:;
1:0.03MiB:1.00MiB:0.97MiB:free;

blkid (filtered): ______________________________________________________________

NAME        FSTYPE   UUID                                 PARTUUID                             LABEL       PARTLABEL
sda                                                                                                        
├─sda1      ext4     72b3267d-8e64-4a23-86c9-525d97fb0a0f 5b7cc308-f0f7-42fa-b330-b3c99f576ac1             
├─sda2      swap     158b343f-5c73-486d-b864-9951f6c2b6d3 88a9fe9c-d56e-451b-be20-147c48a01ea5             
└─sda3      ext4     ef2b7fb4-b53c-402e-96f1-e3c8c3185c08 dcce88fc-12b2-448e-bd96-6d3d0df91763             
sdb                                                                                                        
└─sdb1      vfat     F0CC-0AF1                            000a9a4b-01                          UBUNTU 20_0 
nvme0n1                                                                                                    
├─nvme0n1p1 vfat     628A-B973                            fa67e3e9-a75b-40c8-97da-2bfac2b8d79a ESP         EFI system partition
├─nvme0n1p2                                               aeb44b5e-fd26-4858-bce9-994655bec25f             Microsoft reserved partition
├─nvme0n1p3 ntfs     C6F08B69F08B5E95                     bc308485-2cf6-461f-b5cf-f42a92fa0a9b Acer        Basic data partition
└─nvme0n1p4 ntfs     B4AE8C5FAE8C1C4C                     e5c6974f-6941-4552-8af2-25824f9237ed Recovery    Basic data partition

df (filtered): _________________________________________________________________

                   Avail Use% Mounted on
nvme0n1p1          36.8M  62% /mnt/boot-sav/nvme0n1p1
nvme0n1p3         430.8G   9% /mnt/boot-sav/nvme0n1p3
nvme0n1p4         560.8M  45% /mnt/boot-sav/nvme0n1p4
sda1               33.3G  22% /mnt/boot-sav/sda1
sda3              579.4G  27% /mnt/boot-sav/sda3
sdb1               11.4G  20% /cdrom

Mount options: __________________________________________________________________

nvme0n1p1         rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
nvme0n1p3         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
nvme0n1p4         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda1              rw,relatime
sda3              rw,relatime
sdb1              ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro

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

search.fs_uuid 72b3267d-8e64-4a23-86c9-525d97fb0a0f root hd0,gpt1 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   72b3267d-8e64-4a23-86c9-525d97fb0a0f
Ubuntu, avec Linux 5.14.0-051400-generic   72b3267d-8e64-4a23-86c9-525d97fb0a0f
Ubuntu, avec Linux 5.13.0-051300-generic   72b3267d-8e64-4a23-86c9-525d97fb0a0f
Ubuntu, avec Linux 5.13.0-25-generic   72b3267d-8e64-4a23-86c9-525d97fb0a0f
Windows Boot Manager (sur nvme0n1p1)   osprober-efi-628A-B973
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda1/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=72b3267d-8e64-4a23-86c9-525d97fb0a0f /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=628A-B973  /boot/efi       vfat    umask=0077      0       1
# /home was on /dev/sda3 during installation
UUID=ef2b7fb4-b53c-402e-96f1-e3c8c3185c08 /home           ext4    defaults        0       2
# swap was on /dev/sda2 during installation
UUID=158b343f-5c73-486d-b864-9951f6c2b6d3 none            swap    sw              0       0

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

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

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

           GiB - GB             File                                 Fragment(s)
  40,755184174 = 43,760545792   boot/grub/grub.cfg                             2
  21,768314362 = 23,373549568   boot/vmlinuz                                   1
  17,065242767 = 18,323664896   boot/vmlinuz-5.13.0-051300-generic             1
  21,768314362 = 23,373549568   boot/vmlinuz-5.13.0-25-generic                 1
   9,541854858 = 10,245488640   boot/vmlinuz-5.14.0-051400-generic             1
   9,541854858 = 10,245488640   boot/vmlinuz.old                               1
  12,376922607 = 13,289619456   boot/initrd.img                                1
  25,910453796 = 27,821137920   boot/initrd.img-5.13.0-051300-generic          1
  12,376922607 = 13,289619456   boot/initrd.img-5.13.0-25-generic              1
  13,892211914 = 14,916648960   boot/initrd.img-5.14.0-051400-generic          1
  13,892211914 = 14,916648960   boot/initrd.img.old                            1

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

-rwxr-xr-x 1 root root 18151 août  12 09:18 10_linux
-rwxr-xr-x 1 root root 43031 mars  30  2021 10_linux_zfs
-rwxr-xr-x 1 root root 12894 août  12 09:18 20_linux_xen
-rwxr-xr-x 1 root root 12059 août  12 09:18 30_os-prober
-rwxr-xr-x 1 root root  1424 août  12 09:18 30_uefi-firmware
-rwxr-xr-x 1 root root   214 août  12 09:18 40_custom
-rwxr-xr-x 1 root root   216 août  12 09:18 41_custom

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

Ubuntu
Ubuntu (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 unsign-grub) and reinstall the grub-efi of
sda1,
using the following options:        nvme0n1p1/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 21.10 entry (nvme0n1p1/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)

Merci d'avance


Ubuntu 21.10 - Acer Nitro 5 517-41 - AMD Ryzen 5 5600H with Radeon Graphics  - RTX 3060

Hors ligne

#2 Le 19/01/2022, à 12:15

Lagging

Re : Démarrage grub Minimal-Bash

C'est un Dual boot Windows 11/Ubuntu 21.10 récemment installé, Windows 11 préinstallé sur le nvme de 512Go et Ubuntu sur un SSD de 1To.
J'ai du passer à cette version de Ubuntu car ma carte réseau n'était pas reconnue sinon, et j'ai installé Ubuntu avec 3 partitions (root, swap, home).
En lançant mes jeux sous Ubuntu, ma carte graphique n'était pas reconnue par Steam, seulement la carte graphique Radéon du processeur.
Pour régler le problème j'ai forcé l'utilisation de la carte RTX 3060 avec l'application de Nvidia x server settings sous windows hier.
Ca a fonctionné hier mais j'ai commencé à avoir des bugs de démarrage, et ce matin voilà où j'en suis.

Merci


Ubuntu 21.10 - Acer Nitro 5 517-41 - AMD Ryzen 5 5600H with Radeon Graphics  - RTX 3060

Hors ligne

#3 Le 19/01/2022, à 13:03

Lagging

Re : Démarrage grub Minimal-Bash

J'ai vu qu'il fallait lien url j'ai demandé un deuxième rapport boot-repair voici le lien :

https://paste.ubuntu.com/p/jyrk8fhhCg/


Ubuntu 21.10 - Acer Nitro 5 517-41 - AMD Ryzen 5 5600H with Radeon Graphics  - RTX 3060

Hors ligne

#4 Le 19/01/2022, à 13:49

Lagging

Re : Démarrage grub Minimal-Bash

Du coup vous pensez que je devrais lancé la réparation avec boot-repair?
Je sais que le bios est en mode uefi (j'ai pas le choix de passer en mode legacy) et que c'est ubuntu en premier dans le démarrage.

Je pense qu'en forçant l'ordinateur à s'éteindre hier (freeze dans un jeu) ça à du effacer grub ou quelque chose au démarrage. Pourtant en redémarrant ça a fonctionné.

Je préfère demander plutôt que de faire n'importe quoi, en plus je vois cette erreur d'intégrité système linux dans le rapport, erreur qui s'affichait également sur un écran noir avant le boot d'ubuntu, je me dis que quelque chose cloche dans l'installation.

Merci


Ubuntu 21.10 - Acer Nitro 5 517-41 - AMD Ryzen 5 5600H with Radeon Graphics  - RTX 3060

Hors ligne

#5 Le 19/01/2022, à 14:59

Lagging

Re : Démarrage grub Minimal-Bash

J'ai fini par suivre une vidéo pour boot-repair et effectuer la réparation. Voici le rapport :

boot-repair-4ppa161                                              [20220119_1348]

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



Warning: failed to translate partition name

Recommended repair: ____________________________________________________________

The default repair of the Boot-Repair utility will purge (in order to unsign-grub) and reinstall the grub-efi of
sda1,
using the following options:        nvme0n1p1/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s  use-standard-efi-file


/boot/efi added in sda1/fstab
Mount nvme0n1p1 on /mnt/boot-sav/sda1/boot/efi
chroot /mnt/boot-sav/sda1 apt-get -y update
Purge the GRUB of sda1
grub-efi available
Lecture des listes de paquets…
Construction de l'arbre des dépendances…SET@_progressbar1.pulse()

Lecture des informations d'état…
Les paquets supplémentaires suivants seront installés :
grub-efi-amd64
Les paquets suivants seront ENLEVÉS :
grub-gfxpayload-lists grub-pc
Les NOUVEAUX paquets suivants seront installés :
grub-efi grub-efi-amd64
0 mis à jour, 2 nouvellement installés, 2 à enlever et 36 non mis à jour.
Il est nécessaire de prendre 52,4 ko dans les archives.
Après cette opération, 415 ko d'espace disque seront libérés.
Réception de :1 http://fr.archive.ubuntu.com/ubuntu impish/main amd64 grub-efi-amd64 amd64 2.04-1ubuntu47 [50,0 kB]
Réception de :2 http://fr.archive.ubuntu.com/ubuntu impish/main amd64 grub-efi amd64 2.04-1ubuntu47 [2398 B]
52,4 ko réceptionnés en 0s (184 ko/s)
Téléchargement achevé et dans le mode téléchargement uniquement
DEBCHECK debOK, grub-efi
DEBCHECK debOK
Please type: sudo chroot "/mnt/boot-sav/sda1" dpkg --configure -ansudo chroot "/mnt/boot-sav/sda1" apt-get install -fynsudo chroot "/mnt/boot-sav/sda1" apt-get purge --allow-remove-essential -y grub-com*nsudo chroot "/mnt/boot-sav/sda1" apt-get purge --allow-remove-essential -y grub2-com*nsudo chroot "/mnt/boot-sav/sda1" apt-get purge --allow-remove-essential -y shim-signednsudo chroot "/mnt/boot-sav/sda1" apt-get purge --allow-remove-essential -y grub-common:*nsudo chroot "/mnt/boot-sav/sda1" apt-get purge --allow-remove-essential -y grub2-common:*n
Then type: sudo chroot "/mnt/boot-sav/sda1" apt-get install -y grub-efi

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

======================== Reinstall the grub-efi of sda1 ========================

grub-install --version
grub-install (GRUB) 2.04-1ubuntu47

efibootmgr -v from chroot before grub install
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0002,0000,0001,2001,2002,2003
Boot0000* ubuntu	HD(1,GPT,fa67e3e9-a75b-40c8-97da-2bfac2b8d79a,0x800,0x32000)/File(EFIubuntushimx64.efi)
Boot0001* Windows Boot Manager	HD(1,GPT,fa67e3e9-a75b-40c8-97da-2bfac2b8d79a,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.}...4................
Boot0002* Linpus lite	HD(1,MBR,0xa9a4b,0x800,0x1c99800)/File(EFIBootgrubx64.efi)RC
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot2003* EFI Network	RC

uname -r in chroot
5.11.0-27-generic

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

grub-install --efi-directory=/boot/efi --target=x86_64-efi --no-uefi-secure-boot
Installing for x86_64-efi platform.
Installation finished. No error reported.

efibootmgr -v from chroot after grub install
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0000,0002,0001,2001,2002,2003
Boot0000* ubuntu	HD(1,GPT,fa67e3e9-a75b-40c8-97da-2bfac2b8d79a,0x800,0x32000)/File(EFIubuntugrubx64.efi)
Boot0001* Windows Boot Manager	HD(1,GPT,fa67e3e9-a75b-40c8-97da-2bfac2b8d79a,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.}...4................
Boot0002* Linpus lite	HD(1,MBR,0xa9a4b,0x800,0x1c99800)/File(EFIBootgrubx64.efi)RC
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot2003* EFI Network	RC

chroot /mnt/boot-sav/sda1 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.14.0-051400-generic
Found initrd image: /boot/initrd.img-5.14.0-051400-generic
Found linux image: /boot/vmlinuz-5.13.0-051300-generic
Found initrd image: /boot/initrd.img-5.13.0-051300-generic
Found linux image: /boot/vmlinuz-5.13.0-25-generic
Found initrd image: /boot/initrd.img-5.13.0-25-generic
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings

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

Le démarrage de l'ordinateur a été correctement réparé.

Vous pouvez maintenant redémarrer votre ordinateur.

N'oubliez pas de faire démarrer votre firmware UEFI sur l'entrée Ubuntu 21.10 (fichier nvme0n1p1/efi/ubuntu/grubx64.efi) !
Si votre ordinateur redémarre directement dans Windows, essayez de changer l'ordre de démarrage dans votre firmware UEFI.

Si votre firmware UEFI ne permet pas de changer l'ordre de démarrage, changez l'entrée de démarrage par défaut de l'amorceur Windows.
Par exemple, vous pouvez démarrer Windows, puis saisir la commande suivante dans une invite de commande en mode administrateur :
bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi

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

 => No boot loader is installed in the MBR of /dev/nvme0n1.
 => 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.

nvme0n1p1: _____________________________________________________________________

    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 
                       /efi/OEM/Boot/bootmgfw.efi /efi/OEM/Boot/bootmgr.efi

nvme0n1p2: _____________________________________________________________________

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

nvme0n1p3: _____________________________________________________________________

    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

nvme0n1p4: _____________________________________________________________________

    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:        

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.04
    Boot sector info:  Syslinux looks at sector 32816 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 21.10 on sda1
OS#2:   Windows 10 or 11 on nvme0n1p3

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

CPU architecture: 64-bit
Video: NVIDIACorporation
AdvancedMicroDevices,Inc.[AMD/ATI] from   NVIDIA Corporation
  Advanced Micro Devices, Inc. [AMD/ATI]
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04.3 LTS, focal, x86_64)


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

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

efibootmgr -v
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0000,0002,0001,2001,2002,2003
Boot0000* ubuntu	HD(1,GPT,fa67e3e9-a75b-40c8-97da-2bfac2b8d79a,0x800,0x32000)/File(\EFI\ubuntu\grubx64.efi)
Boot0001* Windows Boot Manager	HD(1,GPT,fa67e3e9-a75b-40c8-97da-2bfac2b8d79a,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.}...4................
Boot0002* Linpus lite	HD(1,MBR,0xa9a4b,0x800,0x1c99800)/File(\EFI\Boot\grubx64.efi)RC
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot2003* EFI Network	RC

f0fdf3472ae80488ce624b7a9cd74324   nvme0n1p1/Boot/bkpbootx64.efi
f0fdf3472ae80488ce624b7a9cd74324   nvme0n1p1/Boot/bootx64.efi
c152ec201c37b6e97bbc2207e49d1271   nvme0n1p1/Boot/fbx64.efi
fdafb5eece6caeccb788c946a28e6872   nvme0n1p1/Boot/mmx64.efi
f0fdf3472ae80488ce624b7a9cd74324   nvme0n1p1/ubuntu/grubx64.efi
fdafb5eece6caeccb788c946a28e6872   nvme0n1p1/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   nvme0n1p1/ubuntu/shimx64.efi
b5ebf80444fcc27af92feb137b3167bf   nvme0n1p1/Microsoft/Boot/bootmgfw.efi
5287592fb5b695cf8b12f69ed9d09444   nvme0n1p1/Microsoft/Boot/bootmgr.efi
736f6d21eead78280a6bee745c63d8f4   nvme0n1p1/OEM/Boot/bootmgfw.efi
d71582ef6b6c9e8fbc1cac8b105c6150   nvme0n1p1/OEM/Boot/bootmgr.efi


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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

nvme0n1p1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sda1	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

nvme0n1p1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	nvme0n1
nvme0n1p3	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	nvme0n1
nvme0n1p4	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	nvme0n1
sda1	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda3	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk nvme0n1: 476.96 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: D2283919-11C4-4916-820B-F41A5E15584D
              Start        End   Sectors   Size Type
nvme0n1p1      2048     206847    204800   100M EFI System
nvme0n1p2    206848     239615     32768    16M Microsoft reserved
nvme0n1p3    239616  998117375 997877760 475.8G Microsoft basic data
nvme0n1p4 998117376 1000214527   2097152     1G Windows recovery environment
Disk sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: E2102328-3FBE-4CE3-B2C3-20FD599ABC89
          Start        End    Sectors  Size Type
sda1       2048   97656831   97654784 46.6G Linux filesystem
sda2   97656832  128907263   31250432 14.9G Linux swap
sda3  128907264 1953523711 1824616448  870G Linux filesystem
Disk sdb: 14.31 GiB, 15355346944 bytes, 29990912 sectors
Disk identifier: 0x000a9a4b
      Boot Start      End  Sectors  Size Id Type
sdb1  *     2048 29990911 29988864 14.3G  c W95 FAT32 (LBA)

parted -lm (filtered): _________________________________________________________

sda:1000GB:scsi:512:4096:gpt:ATA CT1000MX500SSD1:;
1:1049kB:50.0GB:50.0GB:ext4::;
2:50.0GB:66.0GB:16.0GB:linux-swap(v1)::swap;
3:66.0GB:1000GB:934GB:ext4::;
sdb:15.4GB:scsi:512:512:msdos: USB DISK 2.0:;
1:1049kB:15.4GB:15.4GB:fat32::boot, lba;
nvme0n1:512GB:nvme:512:512:gpt:KINGSTON OM8PDP3512B-AA1:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
3:123MB:511GB:511GB:ntfs:Basic data partition:msftdata;
4:511GB:512GB:1074MB:ntfs::hidden, diag;

Free space (filtered): _________________________________________________________

nvme0n1:488386MiB:nvme:512:512:gpt:KINGSTON OM8PDP3512B-AA1:;
1:0.02MiB:1.00MiB:0.98MiB:free;
1:488386MiB:488386MiB:0.32MiB:free;
sda:953870MiB:scsi:512:4096:gpt:ATA CT1000MX500SSD1:;
1:0.02MiB:1.00MiB:0.98MiB:free;
1:953869MiB:953870MiB:0.69MiB:free;
sdb:14644MiB:scsi:512:512:msdos: USB DISK 2.0:;
1:0.03MiB:1.00MiB:0.97MiB:free;

blkid (filtered): ______________________________________________________________

NAME        FSTYPE   UUID                                 PARTUUID                             LABEL       PARTLABEL
sda                                                                                                        
├─sda1      ext4     72b3267d-8e64-4a23-86c9-525d97fb0a0f 5b7cc308-f0f7-42fa-b330-b3c99f576ac1             
├─sda2      swap     158b343f-5c73-486d-b864-9951f6c2b6d3 88a9fe9c-d56e-451b-be20-147c48a01ea5             
└─sda3      ext4     ef2b7fb4-b53c-402e-96f1-e3c8c3185c08 dcce88fc-12b2-448e-bd96-6d3d0df91763             
sdb                                                                                                        
└─sdb1      vfat     F0CC-0AF1                            000a9a4b-01                          UBUNTU 20_0 
nvme0n1                                                                                                    
├─nvme0n1p1 vfat     628A-B973                            fa67e3e9-a75b-40c8-97da-2bfac2b8d79a ESP         EFI system partition
├─nvme0n1p2                                               aeb44b5e-fd26-4858-bce9-994655bec25f             Microsoft reserved partition
├─nvme0n1p3 ntfs     C6F08B69F08B5E95                     bc308485-2cf6-461f-b5cf-f42a92fa0a9b Acer        Basic data partition
└─nvme0n1p4 ntfs     B4AE8C5FAE8C1C4C                     e5c6974f-6941-4552-8af2-25824f9237ed Recovery    Basic data partition

df (filtered): _________________________________________________________________

                   Avail Use% Mounted on
nvme0n1p1            39M  59% /mnt/boot-sav/nvme0n1p1
nvme0n1p3         430.8G   9% /mnt/boot-sav/nvme0n1p3
nvme0n1p4         560.8M  45% /mnt/boot-sav/nvme0n1p4
sda1               33.2G  22% /mnt/boot-sav/sda1
sda3              579.4G  27% /mnt/boot-sav/sda3
sdb1               11.4G  20% /cdrom

Mount options: __________________________________________________________________

nvme0n1p1         rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
nvme0n1p3         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
nvme0n1p4         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda1              rw,relatime
sda3              rw,relatime
sdb1              ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro

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

search.fs_uuid 72b3267d-8e64-4a23-86c9-525d97fb0a0f root hd0,gpt1 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   72b3267d-8e64-4a23-86c9-525d97fb0a0f
Ubuntu, with Linux 5.14.0-051400-generic   72b3267d-8e64-4a23-86c9-525d97fb0a0f
Ubuntu, with Linux 5.13.0-051300-generic   72b3267d-8e64-4a23-86c9-525d97fb0a0f
Ubuntu, with Linux 5.13.0-25-generic   72b3267d-8e64-4a23-86c9-525d97fb0a0f
Windows Boot Manager (on nvme0n1p1)   osprober-efi-628A-B973
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda1/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=72b3267d-8e64-4a23-86c9-525d97fb0a0f /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
# /home was on /dev/sda3 during installation
UUID=ef2b7fb4-b53c-402e-96f1-e3c8c3185c08 /home           ext4    defaults        0       2
# swap was on /dev/sda2 during installation
UUID=158b343f-5c73-486d-b864-9951f6c2b6d3 none            swap    sw              0       0
UUID=628A-B973  /boot/efi       vfat    defaults      0       1

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

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

           GiB - GB             File                                 Fragment(s)
   0,000984192 = 0,001056768    boot/grub/grub.cfg                             1
  21,768314362 = 23,373549568   boot/vmlinuz                                   1
  17,065242767 = 18,323664896   boot/vmlinuz-5.13.0-051300-generic             1
  21,768314362 = 23,373549568   boot/vmlinuz-5.13.0-25-generic                 1
   9,541854858 = 10,245488640   boot/vmlinuz-5.14.0-051400-generic             1
   9,541854858 = 10,245488640   boot/vmlinuz.old                               1
  12,376922607 = 13,289619456   boot/initrd.img                                1
  25,910453796 = 27,821137920   boot/initrd.img-5.13.0-051300-generic          1
  12,376922607 = 13,289619456   boot/initrd.img-5.13.0-25-generic              1
  13,892211914 = 14,916648960   boot/initrd.img-5.14.0-051400-generic          1
  13,892211914 = 14,916648960   boot/initrd.img.old                            1

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

-rwxr-xr-x 1 root root 18151 sept.  2 12:37 10_linux
-rwxr-xr-x 1 root root 43031 sept.  2 12:37 10_linux_zfs
-rwxr-xr-x 1 root root 12894 sept.  2 12:37 20_linux_xen
-rwxr-xr-x 1 root root 12059 sept.  2 12:37 30_os-prober
-rwxr-xr-x 1 root root  1424 sept.  2 12:37 30_uefi-firmware
-rwxr-xr-x 1 root root   214 sept.  2 12:37 40_custom
-rwxr-xr-x 1 root root   216 sept.  2 12:37 41_custom

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

Ubuntu
Ubuntu (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

Ubuntu 21.10 - Acer Nitro 5 517-41 - AMD Ryzen 5 5600H with Radeon Graphics  - RTX 3060

Hors ligne