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 20/10/2023, à 11:16

4maury

[Résolu] Problème au démarrage en dual boot : grub not found !

Bonjour à tous,

J'utilise depuis plusieurs années déjà mon ordinateur en dual boot Windows - Ubuntu. Jusque là tout fonctionnait bien : au démarrage, je pouvais choisir mon OS et les deux fonctionnaient.

Or dernièrement à l'allumage de mon ordi, avant d'avoir le choix de l'OS, j'ai vu le message d'erreur suivant :

Failed to open \EFI\ubuntu\grubx64.efi - Not Found
Failed to load image [][]: Not Found
start_image() returned Not Found, falling back to default loader
Failed to open \EFI\ubuntu\grubx64.efi - Not Found
Failed to load image [][]: Not Found
start_image() returned Not Found

J'ai finalement mon environnement Windows qui s'est lancé, mais depuis impossible de retourner sur Linux.

J'ai essayé de voir s'il n'y avait pas de problème dans les paramètres de BIOS, mais je ne trouve rien de satisfaisant.

Quelqu'un a-t-il déjà eu un problème similaire ? Je ne trouve rien non plus sur les forums.
Est-ce que mes données sont perdues ? J'ai une sauvegarde relativement récente, mais j'aimerais bien quand même pouvoir retrouver mes données...
Et ce que je trouve étonnant, c'est que je n'ai pas bidouillé le BIOS juste avant d'avoir le problème, c'est venu spontanément. Je n'explique donc pas l'origine du problème. Ma mémoire interne qui a un pet au casque ?

Je suis preneur de toutes infos, merci de votre aide !

Complément : mon ordi est un Dell Inspiron 7370, j'avais la dernière version stable d'Ubuntu (22.quelque chose... !) en interface Gnome. J'ai un Windows 11 à côté.

Dernière modification par 4maury (Le 21/10/2023, à 17:36)

Hors ligne

#2 Le 20/10/2023, à 11:20

Qid

Re : [Résolu] Problème au démarrage en dual boot : grub not found !

Le plus simple pour qu'on puisse être au clair sur la situation serait de fournir un rapport bootinfo...  et puis est-ce que tu as plus précisément une idée de l'élément déclencheur du problème ?


"GNU/Linux c'est que du bon mais M$ Windows ce n'est pas si mal"
Référent technique Ubuntu d'un Groupe d'Utilisateur du Libre
plus d'info sur mon profil

Hors ligne

#3 Le 20/10/2023, à 17:18

4maury

Re : [Résolu] Problème au démarrage en dual boot : grub not found !

Merci Qid pour le retour.

Je viens de faire un bootinfo, voilà le lien : https://paste.ubuntu.com/p/WBvkrVbyfK/

Par contre, je n'ai aucune idée de l'origine du problème, je n'ai pas fait de manip particulière avant et j'ai eu me semble-t-il une utilisation de mon ordi complètement similaire à ce que je fais quotidiennement...

Bonne soirée

Hors ligne

#4 Le 20/10/2023, à 17:32

xubu1957

Re : [Résolu] Problème au démarrage en dual boot : grub not found !

Bonjour,

Collage du Boot-info :

boot-info-4ppa2056                                              [20231020_1510]

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

 => No boot loader is installed in the MBR of /dev/nvme0n1.

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/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg 
                       /efi/dell/SOS/bootmgfw.efi /efi/dell/SOS/bootmgr.efi 
                       /efi/dell/SOS/bootx64.efi 
                       /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi 
                       /efi/Microsoft/Boot/cbmr_driver.efi

nvme0n1p2: _____________________________________________________________________

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

nvme0n1p3: _____________________________________________________________________

    File system:       BitLocker
    Boot sector type:  Unknown
    Boot sector info: 

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:        

nvme0n1p5: _____________________________________________________________________

    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:        

nvme0n1p6: _____________________________________________________________________

    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:        

nvme0n1p7: _____________________________________________________________________

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

sda: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Grub2 (v1.99-2.00)
    Boot sector info:  Grub2 (v1.99-2.00) is installed in the boot sector of 
                       sda and looks at sector 0 of the same hard drive for 
                       core.img, but core.img can not be found at this 
                       location.
    Mounting failed:   mount: /mnt/BootInfo/FD/sda: /dev/sda déjà monté ou point de montage actif.


================================ 1 OS detected =================================

OS#1:   Ubuntu 22.04.3 LTS on nvme0n1p7

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

CPU architecture: 64-bit
Video: UHD Graphics 620 from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 22.04.3 LTS, jammy, x86_64)

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

BIOS/UEFI firmware: 1.13.1(1.13) from Dell Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot enabled according to mokutil - Veuillez indiquer ce message à boot.repair@gmail.com.
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0001,0000,0002
Boot0000* Windows Boot Manager	HD(1,GPT,de517694-0c31-4de4-a860-4f5218f36861,0x800,0x145000)/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.}..._................
Boot0001* ubuntu	HD(1,GPT,de517694-0c31-4de4-a860-4f5218f36861,0x800,0x145000)/File(\EFI\ubuntu\shimx64.efi)
Boot0002* UEFI: SanDisk, Partition 2	PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(2,GPT,f45e2fa1-c5a6-4d79-876d-c8245af921e0,0x95f864,0x2754)..BO

64349b3622c65f495a99dbf6102496e3   nvme0n1p1/Boot/bootx64.efi
a9c517741ac31962d7feb152948ad1ee   nvme0n1p1/Boot/fbx64.efi
a660182adef313615746a665966d2ccc   nvme0n1p1/Boot/mmx64.efi
a660182adef313615746a665966d2ccc   nvme0n1p1/ubuntu/mmx64.efi
64349b3622c65f495a99dbf6102496e3   nvme0n1p1/ubuntu/shimx64.efi
e87c4f299e44cf4153ad321c6fc7dabc   nvme0n1p1/dell/SOS/bootmgfw.efi
ac84bbacadaa85317812273ac07cda2f   nvme0n1p1/dell/SOS/bootmgr.efi
e87c4f299e44cf4153ad321c6fc7dabc   nvme0n1p1/dell/SOS/bootx64.efi
433224d074127c34064dfa0d732a9977   nvme0n1p1/Microsoft/Boot/bootmgfw.efi
32f69782c9966aee03f44d5ec4ad6711   nvme0n1p1/Microsoft/Boot/bootmgr.efi
b8796e68099026aabcebb8fcf75b21f6   nvme0n1p1/Microsoft/Boot/cbmr_driver.efi

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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

nvme0n1p1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
nvme0n1p3	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
nvme0n1p4	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
nvme0n1p5	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
nvme0n1p6	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
nvme0n1p7	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	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,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
nvme0n1p5	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
nvme0n1p6	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
nvme0n1p7	: isnotESP,	fstab-has-goodEFI,	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,	no--grub.d,	nvme0n1
nvme0n1p3	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1
nvme0n1p4	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1
nvme0n1p5	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1
nvme0n1p6	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1
nvme0n1p7	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	nvme0n1

fdisk -l (filtered): ___________________________________________________________

Disk nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: 422FE048-7EEF-4830-B272-8146D686B388
              Start        End   Sectors   Size Type
nvme0n1p1      2048    1333247   1331200   650M EFI System
nvme0n1p2   1333248    1595391    262144   128M Microsoft reserved
nvme0n1p3   1595392  357486591 355891200 169.7G Microsoft basic data
nvme0n1p4 974344192  976371711   2027520   990M Windows recovery environment
nvme0n1p5 976371712  997769215  21397504  10.2G Windows recovery environment
nvme0n1p6 997771264 1000214527   2443264   1.2G Windows recovery environment
nvme0n1p7 357486592  974344191 616857600 294.1G Linux filesystem
Partition table entries are not in disk order.
Disk sda: 7.45 GiB, 8002732032 bytes, 15630336 sectors
Disk identifier: F45E2FA1-C5A6-4D79-876F-C8245AF921E0
        Start      End Sectors  Size Type
sda1       64  9828451 9828388  4.7G Microsoft basic data
sda2  9828452  9838519   10068  4.9M EFI System
sda3  9838520  9839119     600  300K Microsoft basic data
sda4  9842688 15630272 5787585  2.8G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:8003MB:scsi:512:512:gpt:SanDisk Cruzer Blade:;
1:32.8kB:5032MB:5032MB::ISO9660:hidden, msftdata;
2:5032MB:5037MB:5155kB::Appended2:boot, esp;
3:5037MB:5038MB:307kB::Gap1:hidden, msftdata;
4:5039MB:8003MB:2963MB:ext4::;
nvme0n1:512GB:nvme:512:512:gpt:KXG50ZNV512G NVMe TOSHIBA 512GB:;
1:1049kB:683MB:682MB:fat32:EFI system partition:boot, esp;
2:683MB:817MB:134MB::Microsoft reserved partition:msftres;
3:817MB:183GB:182GB::Basic data partition:msftdata;
7:183GB:499GB:316GB:ext4::;
4:499GB:500GB:1038MB:ntfs::hidden, diag;
5:500GB:511GB:11.0GB:ntfs::hidden, diag;
6:511GB:512GB:1251MB:ntfs::hidden, diag;

blkid (filtered): ______________________________________________________________

NAME        FSTYPE    UUID                                 PARTUUID                             LABEL                    PARTLABEL
sda         iso9660   2023-08-08-01-19-05-00                                                    Ubuntu 22.04.3 LTS amd64 
├─sda1      iso9660   2023-08-08-01-19-05-00               f45e2fa1-c5a6-4d79-876e-c8245af921e0 Ubuntu 22.04.3 LTS amd64 ISO9660
├─sda2      vfat      F7DB-4D56                            f45e2fa1-c5a6-4d79-876d-c8245af921e0 ESP                      Appended2
├─sda3                                                     f45e2fa1-c5a6-4d79-876c-c8245af921e0                          Gap1
└─sda4      ext4      c7ce313f-c6b3-4e91-967f-971bc226a782 a7dea11d-45d6-9445-804a-6f42cabcd516 writable                 
nvme0n1                                                                                                                  
├─nvme0n1p1 vfat      2424-3A23                            de517694-0c31-4de4-a860-4f5218f36861 ESP                      EFI system partition
├─nvme0n1p2                                                b864c1f4-5bea-4eeb-899f-99cd633271c8                          Microsoft reserved partition
├─nvme0n1p3 BitLocker                                      f54e2486-835e-461a-8960-7aed0712020f                          Basic data partition
├─nvme0n1p4 ntfs      F06468346467FFA8                     c12d4570-3a3e-4100-8da7-a736f3e542dc WINRETOOLS               
├─nvme0n1p5 ntfs      00F66846F6683DD2                     6147a92a-4565-4a45-adf5-578ca7bbbf7d Image                    
├─nvme0n1p6 ntfs      3CFAB181FAB137CA                     8e66c8ce-f6b2-401b-b256-c8e729a604b9 DELLSUPPORT              
└─nvme0n1p7 ext4      55c60cf7-c384-49dd-af57-a005a18c5d00 51293927-425e-4302-9852-936ba39fe8c9                          

Mount points (filtered): _______________________________________________________

                                                               Avail Use% Mounted on
/dev/disk/by-label/writable[/install-logs-2023-10-20.0/crash]   2.5G   0% /var/crash
/dev/disk/by-label/writable[/install-logs-2023-10-20.0/log]     2.5G   0% /var/log
/dev/nvme0n1p1                                                577.9M  11% /mnt/boot-sav/nvme0n1p1
/dev/nvme0n1p4                                                255.4M  74% /mnt/boot-sav/nvme0n1p4
/dev/nvme0n1p5                                                176.2M  98% /mnt/boot-sav/nvme0n1p5
/dev/nvme0n1p6                                                496.1M  58% /mnt/boot-sav/nvme0n1p6
/dev/nvme0n1p7                                                 61.3G  74% /mnt/boot-sav/nvme0n1p7
/dev/sda1                                                          0 100% /cdrom

Mount options (filtered): ______________________________________________________


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

search.fs_uuid 55c60cf7-c384-49dd-af57-a005a18c5d00 root 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   55c60cf7-c384-49dd-af57-a005a18c5d00
Ubuntu, with Linux 5.15.0-86-generic   55c60cf7-c384-49dd-af57-a005a18c5d00
Ubuntu, with Linux 5.15.0-84-generic   55c60cf7-c384-49dd-af57-a005a18c5d00
Ubuntu, with Linux 5.4.0-125-generic   55c60cf7-c384-49dd-af57-a005a18c5d00
Windows Boot Manager (on nvme0n1p1)   osprober-efi-2424-3A23
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

======================== nvme0n1p7/etc/fstab (filtered) ========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p7 during installation
UUID=55c60cf7-c384-49dd-af57-a005a18c5d00 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=2424-3A23  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

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

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

           GiB - GB             File                                 Fragment(s)
 303,952995300 = 326,367043584  boot/grub/grub.cfg                             1
 445,798824310 = 478,672842752  boot/vmlinuz                                   2
 348,794017792 = 374,514724864  boot/vmlinuz-5.15.0-84-generic                 2
 445,798824310 = 478,672842752  boot/vmlinuz-5.15.0-86-generic                 2
 252,850612640 = 271,496278016  boot/vmlinuz-5.4.0-125-generic                 2
 348,794017792 = 374,514724864  boot/vmlinuz.old                               2
 403,837886810 = 433,617629184  boot/initrd.img                                4
 386,994136810 = 415,531790336  boot/initrd.img-5.15.0-84-generic              3
 403,837886810 = 433,617629184  boot/initrd.img-5.15.0-86-generic              4
 404,630863190 = 434,469081088  boot/initrd.img-5.4.0-125-generic              2
 386,994136810 = 415,531790336  boot/initrd.img.old                            3

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

-rwxr-xr-x 1 root root 18683 Apr 15  2022 10_linux
-rwxr-xr-x 1 root root 43031 Apr 15  2022 10_linux_zfs
-rwxr-xr-x 1 root root 14387 Dec 18  2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 Apr 15  2022 30_os-prober
-rwxr-xr-x 1 root root  1372 Apr 15  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Feb 21  2022 35_fwupd
-rwxr-xr-x 1 root root   214 Jul 17  2018 40_custom
-rwxr-xr-x 1 root root   215 Apr 15  2022 41_custom



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
nvme0n1p7,
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 22.04.3 LTS entry (nvme0n1p1/efi/****/shim****.efi (**** will be updated in the final message) file) !

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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

#5 Le 20/10/2023, à 17:38

4maury

Re : [Résolu] Problème au démarrage en dual boot : grub not found !

Merci xubu pour les détails !

Je vois à la fin du rapport :
"The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
nvme0n1p7,
using the following options:  nvme0n1p1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file"

Est-ce que quelqu'un pourrait m'aiguiller sur comment faire ce boot repair ? Ca ne me parle pas trop...

Hors ligne

#6 Le 20/10/2023, à 17:43

xubu1957

Re : [Résolu] Problème au démarrage en dual boot : grub not found !

C'est peut être l'anomalie avec le noyau  5.15.0-86-.


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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 20/10/2023, à 18:02

4maury

Re : [Résolu] Problème au démarrage en dual boot : grub not found !

J'ai regardé le problème du noyau 5.15.0-86, mais trop complexe pour moi, je ne suis pas assez calé malheureusement.
Est-ce que quelqu'un pourrait m'aiguiller pour downgrade ma version de noyau ? Il me semble que ça peut être une solution temporaire, au moins pour voir si c'est l'origine du problème.

Merci en tout cas pour la réactivité !

Hors ligne

#8 Le 20/10/2023, à 18:05

Qid

Re : [Résolu] Problème au démarrage en dual boot : grub not found !

================================ 1 OS detected =================================

OS#1:   Ubuntu 22.04.3 LTS on nvme0n1p7

Alors qu'on a bien un windows qui fini par booter ça c'est la meilleure... Ou alors c'est la partition bitlocker qui le perturbe ?

En tout cas vu le premier message d'erreur et le contenu de la partition efi j'ai effectivement l'impression qu'il y manque des bouts...

Par curiosité Supergrubdisk arrive à faire boot le système de force ou pas ?


"GNU/Linux c'est que du bon mais M$ Windows ce n'est pas si mal"
Référent technique Ubuntu d'un Groupe d'Utilisateur du Libre
plus d'info sur mon profil

Hors ligne

#9 Le 20/10/2023, à 18:18

4maury

Re : [Résolu] Problème au démarrage en dual boot : grub not found !

J'essaye Supergrubdisk... C'est bien ça https://www.supergrubdisk.org/category/ … sk-stable/ ? A utiliser comme une image linux qu'on booterait depuis une clé ?

Hors ligne

#10 Le 20/10/2023, à 18:27

Qid

Re : [Résolu] Problème au démarrage en dual boot : grub not found !

4maury a écrit :

A utiliser comme une image linux qu'on booterait depuis une clé ?

Oui... En clair c'est un grub portable qui va permettre d'être dans de meilleures conditions* pour réparer le GRUB du système installé si besoin... wink

* : ça va permettre de simplifier l'utilisation de la commande grub-install pour réinstaller le GRUB comme il faut sans passer par bootrepair (non je n'ai rien contre lui wink)


"GNU/Linux c'est que du bon mais M$ Windows ce n'est pas si mal"
Référent technique Ubuntu d'un Groupe d'Utilisateur du Libre
plus d'info sur mon profil

Hors ligne

#11 Le 20/10/2023, à 18:31

4maury

Re : [Résolu] Problème au démarrage en dual boot : grub not found !

Ok je vois !

Je l'ai installé sur ma clé via Rufus, mais quand je veux booter dessus, je tombe directement sur le SupportAssist. Il y a une manip en plus à faire ? Je suis preneur d'un tuto ! wink

Hors ligne

#12 Le 20/10/2023, à 18:34

Qid

Re : [Résolu] Problème au démarrage en dual boot : grub not found !

4maury a écrit :

Je l'ai installé sur ma clé via Rufus

Rufus ça craint* ! Préfère ventoy qui a la quote sur notre forum et dont il existe aussi une version pour windows...

édit pour précision :
* : je ne le considère pas de confiance depuis bien longtemps...

Dernière modification par Qid (Le 20/10/2023, à 18:36)


"GNU/Linux c'est que du bon mais M$ Windows ce n'est pas si mal"
Référent technique Ubuntu d'un Groupe d'Utilisateur du Libre
plus d'info sur mon profil

Hors ligne

#13 Le 20/10/2023, à 23:59

geole

Re : [Résolu] Problème au démarrage en dual boot : grub not found !

Bonsoir.
Moi non plus je ne vois pas grubx6;.efi dans la partition de boot.

nvme0n1p1: _____________________________________________________________________
 ......  
    Boot files:        /efi/Boot/bootx64.efi /efi/Boot/fbx64.efi 
                       /efi/Boot/mmx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg 
                       /efi/dell/SOS/bootmgfw.efi /efi/dell/SOS/bootmgr.efi 
                       /efi/dell/SOS/bootx64.efi 
                       /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi 
                       /efi/Microsoft/Boot/cbmr_driver.efi

nvme0n1p2: _________________________w

Tente la réparation recommandée de boot-repair.

Dernière modification par geole (Le 21/10/2023, à 00:00)


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

#14 Le 21/10/2023, à 15:21

4maury

Re : [Résolu] Problème au démarrage en dual boot : grub not found !

Update à J+1 :
J'ai démarré mon ordi avec supergrubdisk (merci, Ventoy c'est beaucoup mieux effectivement !) et effectivement j'ai réussi à forcer le boot sur mon ubuntu déjà installé. J'ai donc retrouvé toutes mes données ! Déjà une belle étape !

geole a écrit :

Tente la réparation recommandée de boot-repair.

Je vais tenter ça, je reviendrai ici poster le résultat.

Hors ligne

#15 Le 21/10/2023, à 16:02

geole

Re : [Résolu] Problème au démarrage en dual boot : grub not found !

Bonjour
Puisque tu es dans l'O.S, fais directement la réparation
sudo apt grub-install

Etourderie

sudo  grub-install

Dernière modification par geole (Le 21/10/2023, à 17:15)


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 21/10/2023, à 16:34

4maury

Re : [Résolu] Problème au démarrage en dual boot : grub not found !

Lorsque je suis sur mon Linux, je tombe sur l'erreur suivante :

amaury@amaury-Inspiron-7370:~$ sudo apt grub-install
E: L'opération grub-install n'est pas valable
amaury@amaury-Inspiron-7370:~$

Je vais essayer depuis ma clé

Hors ligne

#17 Le 21/10/2023, à 17:13

Qid

Re : [Résolu] Problème au démarrage en dual boot : grub not found !

geole a écrit :

Puisque tu es dans l'O.S, fais directement la réparation

sudo apt grub-install

Que vient faire apt la dedans ? Tu m'étonnes que ça n'ait pas fonctionné ! lol  tongue


"GNU/Linux c'est que du bon mais M$ Windows ce n'est pas si mal"
Référent technique Ubuntu d'un Groupe d'Utilisateur du Libre
plus d'info sur mon profil

Hors ligne

#18 Le 21/10/2023, à 17:14

geole

Re : [Résolu] Problème au démarrage en dual boot : grub not found !

Si pas trop tard

sudo grub-install

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

#19 Le 21/10/2023, à 17:22

4maury

Re : [Résolu] Problème au démarrage en dual boot : grub not found !

Ah c'est donc juste un apt en trop ! Je vais réessayer.

En attendant j'ai testé le boot-repair depuis ma clé.
Essai 1 : j'ai eu une erreur me demandant de retirer les secure boot
Essai 2 en ayant désactivé secure boot : j'ai eu le message d'erreur suivant.

Une erreur est survenue pendant la réparation.
Error: NVram is locked (Ubuntu not found in efibootmgr). Veuillez indiquer ce message à boot.repair@gmail.com

Veuillez écrire sur un papier l'URL suivante :
https://paste.ubuntu.com/p/Xm969DPV4V/


Si vous avez toujours des problèmes de démarrage, indiquez cette URL à :
boot.repair@gmail.com

Locked-NVram détecté.

Bref, je retente le grub install.

Hors ligne

#20 Le 21/10/2023, à 17:29

4maury

Re : [Résolu] Problème au démarrage en dual boot : grub not found !

Ah ça a l'air mieux déjà !

amaury@amaury-Inspiron-7370:~$ sudo  grub-install
[sudo] Mot de passe de amaury : 
Installation pour la plate-forme x86_64-efi.
Installation terminée, sans erreur.
amaury@amaury-Inspiron-7370:~$ 

Je reboot mon ordi sans supergrubdisk. Je croise les doigts !

Hors ligne

#21 Le 21/10/2023, à 17:32

xubu1957

Re : [Résolu] Problème au démarrage en dual boot : grub not found !

Bonjour,

Veuillez écrire sur un papier l'URL suivante :
https://paste.ubuntu.com/p/Xm969DPV4V/

Collage de ce Boot-repair, pour les spécialistes :

boot-repair-4ppa2056                                              [20231021_1513]

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

User choice:

Is there RAID on this computer? no




grub-probe : erreur : impossible de trouver un périphérique GRUB pour /dev/sda2. Vérifiez device.map..
grub-probe : erreur : impossible de trouver un périphérique GRUB pour /dev/sda2. Vérifiez device.map..
modprobe: FATAL: Module efivars not found in directory /lib/modules/6.2.0-26-generic
ls: impossible d'accéder à '/sys/firmware/efi/vars': Aucun fichier ou dossier de ce type

Recommended repair: ____________________________________________________________

The default repair of the Boot-Repair utility will reinstall the grub-efi of
nvme0n1p7,
using the following options:  nvme0n1p1/boot/efi
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups


rm /mnt/boot-sav/nvme0n1p1/efi/Boot/bootx64.efi
mv /mnt/boot-sav/nvme0n1p1/efi/Boot/bkpbootx64.efi /mnt/boot-sav/nvme0n1p1/efi/Boot/bootx64.efi
Mount nvme0n1p1 on /mnt/boot-sav/nvme0n1p7/boot/efi

===================== Reinstall the grub-efi of nvme0n1p7 ======================

chroot /mnt/boot-sav/nvme0n1p7 grub-install --version
grub-install (GRUB) 2.06-2ubuntu7.2
modprobe: FATAL: Module efivars not found in directory /lib/modules/6.2.0-26-generic
chroot /mnt/boot-sav/nvme0n1p7 modprobe efivars

chroot /mnt/boot-sav/nvme0n1p7 efibootmgr -v before grub install
EFI variables are not supported on this system.


chroot /mnt/boot-sav/nvme0n1p7 uname -r
6.2.0-26-generic

chroot /mnt/boot-sav/nvme0n1p7 grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
grub-install: warning: EFI variables cannot be set on this system.
grub-install: warning: You will have to complete the GRUB setup manually.
Installation finished. No error reported.
df /dev/nvme0n1p1
mv /mnt/boot-sav/nvme0n1p7/boot/efi/EFI/Boot/bootx64.efi /mnt/boot-sav/nvme0n1p7/boot/efi/EFI/Boot/bkpbootx64.efi
cp /mnt/boot-sav/nvme0n1p7/boot/efi/efi/ubuntu/grubx64.efi /mnt/boot-sav/nvme0n1p7/boot/efi/EFI/Boot/bootx64.efi

chroot /mnt/boot-sav/nvme0n1p7 grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
grub-install: warning: EFI variables cannot be set on this system.
grub-install: warning: You will have to complete the GRUB setup manually.
Installation finished. No error reported.

chroot /mnt/boot-sav/nvme0n1p7 efibootmgr -v after grub install
EFI variables are not supported on this system.

Error: NVram is locked (Ubuntu not found in efibootmgr). Veuillez indiquer ce message à boot.repair@gmail.com

chroot /mnt/boot-sav/nvme0n1p7 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.15.0-87-generic
Found initrd image: /boot/initrd.img-5.15.0-87-generic
Found linux image: /boot/vmlinuz-5.15.0-86-generic
Found initrd image: /boot/initrd.img-5.15.0-86-generic
Found linux image: /boot/vmlinuz-5.4.0-125-generic
Found initrd image: /boot/initrd.img-5.4.0-125-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
grub-probe: error: cannot find a GRUB drive for /dev/sda2.  Check your device.map.
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi

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

Une erreur est survenue pendant la réparation.
Error: NVram is locked (Ubuntu not found in efibootmgr). Veuillez indiquer ce message à boot.repair@gmail.com

Locked-NVram détecté.


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

 => No boot loader is installed in the MBR of /dev/nvme0n1.
 => 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 (,2)/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    offsetio extcmd macho elf file gettext boot bufio verifiers crypto 
    terminal normal datetime date mmap drivemap blocklist archelp newc 
    vga_text relocator video chain ntldr search_label search_fs_file 
    search_fs_uuid search keylayouts at_keyboard pci usb usb_keyboard gcry_md5 
    hashsum gcry_crc gzio xzio lzopio lspci fshelp ext2 xfs acpi reboot 
    iso9660 gcry_sha1 div udf exfat font diskfilter raid6rec zstd btrfs ventoy 
    read halt video_fb vbe linux linux16 test true sleep echo bitmap gfxterm 
    bitmap_scale trig video_colors gfxmenu videotest videoinfo functional_test 
    videotest_checksum video_cirrus video_bochs vga minicmd help configfile tr 
    biosdisk disk ls tar zfs squash4 pbkdf2 gcry_sha512 password_pbkdf2 
    all_video png jpeg part_gpt part_msdos fat ntfs loopback 
    gfxterm_background procfs gfxterm_menu smbios
    ---------------------------------------------------------------------------

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/grubx64.efi 
                       /efi/Boot/mmx64.efi /efi/ubuntu/grubx64.efi 
                       /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi 
                       /efi/ubuntu/grub.cfg /efi/dell/SOS/bootmgfw.efi 
                       /efi/dell/SOS/bootmgr.efi /efi/dell/SOS/bootx64.efi 
                       /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi 
                       /efi/Microsoft/Boot/cbmr_driver.efi

nvme0n1p2: _____________________________________________________________________

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

nvme0n1p3: _____________________________________________________________________

    File system:       BitLocker
    Boot sector type:  Unknown
    Boot sector info: 

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:        

nvme0n1p5: _____________________________________________________________________

    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:        

nvme0n1p6: _____________________________________________________________________

    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:        

nvme0n1p7: _____________________________________________________________________

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

sda1: __________________________________________________________________________

    File system:       exfat
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:   mount: /mnt/BootInfo/sda1: /dev/sda1 déjà monté ou point de montage actif.

sda2: __________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Grub2 (v1.99-2.00)
    Boot sector info:  Grub2 (v1.99-2.00) is installed in the boot sector of 
                       sda2 and looks at sector 0 of the same hard drive for 
                       core.img, but core.img can not be found at this 
                       location.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg


================================ 1 OS detected =================================

OS#1:   Ubuntu 22.04.3 LTS on nvme0n1p7

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

CPU architecture: 64-bit
Video: UHD Graphics 620 from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 22.04.3 LTS, jammy, x86_64)

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

BIOS/UEFI firmware: 1.13.1(1.13) from Dell Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0001,0000,0002
Boot0000* Windows Boot Manager	HD(1,GPT,de517694-0c31-4de4-a860-4f5218f36861,0x800,0x145000)/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.}..._................
Boot0001* ubuntu	HD(1,GPT,de517694-0c31-4de4-a860-4f5218f36861,0x800,0x145000)/File(\EFI\ubuntu\shimx64.efi)
Boot0002* UEFI: SanDisk, Partition 2	PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(2,MBR,0x3b551205,0xed8000,0x10000)..BO

64349b3622c65f495a99dbf6102496e3   nvme0n1p1/Boot/bkpbootx64.efi
64349b3622c65f495a99dbf6102496e3   nvme0n1p1/Boot/bootx64.efi
a9c517741ac31962d7feb152948ad1ee   nvme0n1p1/Boot/fbx64.efi
a1da253696a304dce6b4668b70151c0e   nvme0n1p1/Boot/grubx64.efi
a660182adef313615746a665966d2ccc   nvme0n1p1/Boot/mmx64.efi
a1da253696a304dce6b4668b70151c0e   nvme0n1p1/ubuntu/grubx64.efi
a660182adef313615746a665966d2ccc   nvme0n1p1/ubuntu/mmx64.efi
64349b3622c65f495a99dbf6102496e3   nvme0n1p1/ubuntu/shimx64.efi
e87c4f299e44cf4153ad321c6fc7dabc   nvme0n1p1/dell/SOS/bootmgfw.efi
ac84bbacadaa85317812273ac07cda2f   nvme0n1p1/dell/SOS/bootmgr.efi
e87c4f299e44cf4153ad321c6fc7dabc   nvme0n1p1/dell/SOS/bootx64.efi
433224d074127c34064dfa0d732a9977   nvme0n1p1/Microsoft/Boot/bootmgfw.efi
32f69782c9966aee03f44d5ec4ad6711   nvme0n1p1/Microsoft/Boot/bootmgr.efi
b8796e68099026aabcebb8fcf75b21f6   nvme0n1p1/Microsoft/Boot/cbmr_driver.efi

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

Disks info: ____________________________________________________________________

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

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

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

Partitions info (3/3): _________________________________________________________

nvme0n1p7	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	nvme0n1
nvme0n1p5	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1
nvme0n1p3	: maybesepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1
nvme0n1p1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1
nvme0n1p6	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1
nvme0n1p4	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	nvme0n1

fdisk -l (filtered): ___________________________________________________________

Disk nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: 422FE048-7EEF-4830-B272-8146D686B388
              Start        End   Sectors   Size Type
nvme0n1p1      2048    1333247   1331200   650M EFI System
nvme0n1p2   1333248    1595391    262144   128M Microsoft reserved
nvme0n1p3   1595392  357486591 355891200 169.7G Microsoft basic data
nvme0n1p4 974344192  976371711   2027520   990M Windows recovery environment
nvme0n1p5 976371712  997769215  21397504  10.2G Windows recovery environment
nvme0n1p6 997771264 1000214527   2443264   1.2G Windows recovery environment
nvme0n1p7 357486592  974344191 616857600 294.1G Linux filesystem
Partition table entries are not in disk order.
Disk sda: 7.45 GiB, 8002732032 bytes, 15630336 sectors
Disk identifier: 0x3b551205
      Boot    Start      End  Sectors  Size Id Type
sda1  *        2048 15564799 15562752  7.4G  7 HPFS/NTFS/exFAT
sda2       15564800 15630335    65536   32M ef EFI (FAT-12/16/32)
Disk mapper/ventoy: 4.69 GiB, 5037662208 bytes, 9839184 sectors
Disk identifier: F45E2FA1-C5A6-4D79-876F-C8245AF921E0
                      Start     End Sectors  Size Type
mapper/ventoy-part1      64 9828451 9828388  4.7G Microsoft basic data
mapper/ventoy-part2 9828452 9838519   10068  4.9M EFI System
mapper/ventoy-part3 9838520 9839119     600  300K Microsoft basic data

parted -lm (filtered): _________________________________________________________

sda:8003MB:scsi:512:512:msdos:SanDisk Cruzer Blade:;
1:1049kB:7969MB:7968MB:::boot;
2:7969MB:8003MB:33.6MB:fat16::esp;
mapper/ventoy:5038MB:dm:512:512:gpt:Linux device-mapper (linear):;
1:32.8kB:5032MB:5032MB::ISO9660:hidden, msftdata;
2:5032MB:5037MB:5155kB::Appended2:boot, esp;
3:5037MB:5038MB:307kB::Gap1:hidden, msftdata;
nvme0n1:512GB:nvme:512:512:gpt:KXG50ZNV512G NVMe TOSHIBA 512GB:;
1:1049kB:683MB:682MB:fat32:EFI system partition:boot, esp;
2:683MB:817MB:134MB::Microsoft reserved partition:msftres;
3:817MB:183GB:182GB::Basic data partition:msftdata;
7:183GB:499GB:316GB:ext4::;
4:499GB:500GB:1038MB:ntfs::hidden, diag;
5:500GB:511GB:11.0GB:ntfs::hidden, diag;
6:511GB:512GB:1251MB:ntfs::hidden, diag;

blkid (filtered): ______________________________________________________________

NAME        FSTYPE    UUID                                 PARTUUID                             LABEL                    PARTLABEL
sda                                                                                                                      
├─sda1      exfat     4E21-0000                            3b551205-01                          Ventoy                   
│ └─ventoy                                                                                                               
└─sda2      iso9660   2023-08-08-01-19-05-00                                                    Ubuntu 22.04.3 LTS amd64 
nvme0n1                                                                                                                  
├─nvme0n1p1 vfat      2424-3A23                            de517694-0c31-4de4-a860-4f5218f36861 ESP                      EFI system partition
├─nvme0n1p2                                                b864c1f4-5bea-4eeb-899f-99cd633271c8                          Microsoft reserved partition
├─nvme0n1p3 BitLocker                                      f54e2486-835e-461a-8960-7aed0712020f                          Basic data partition
├─nvme0n1p4 ntfs      F06468346467FFA8                     c12d4570-3a3e-4100-8da7-a736f3e542dc WINRETOOLS               
├─nvme0n1p5 ntfs      00F66846F6683DD2                     6147a92a-4565-4a45-adf5-578ca7bbbf7d Image                    
├─nvme0n1p6 ntfs      3CFAB181FAB137CA                     8e66c8ce-f6b2-401b-b256-c8e729a604b9 DELLSUPPORT              
└─nvme0n1p7 ext4      55c60cf7-c384-49dd-af57-a005a18c5d00 51293927-425e-4302-9852-936ba39fe8c9                          

Mount points (filtered): _______________________________________________________

                           Avail Use% Mounted on
/dev/mapper/ventoy             0 100% /cdrom
/dev/nvme0n1p1            572.1M  11% /mnt/boot-sav/nvme0n1p1
/dev/nvme0n1p4            255.4M  74% /mnt/boot-sav/nvme0n1p4
/dev/nvme0n1p5            176.2M  98% /mnt/boot-sav/nvme0n1p5
/dev/nvme0n1p6            496.1M  58% /mnt/boot-sav/nvme0n1p6
/dev/nvme0n1p7             62.8G  73% /mnt/boot-sav/nvme0n1p7

Mount options (filtered): ______________________________________________________


============================== ls -R /dev/mapper/ ==============================

/dev/mapper:
control
ventoy

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

search.fs_uuid 55c60cf7-c384-49dd-af57-a005a18c5d00 root 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   55c60cf7-c384-49dd-af57-a005a18c5d00
Ubuntu, with Linux 5.15.0-87-generic   55c60cf7-c384-49dd-af57-a005a18c5d00
Ubuntu, with Linux 5.15.0-86-generic   55c60cf7-c384-49dd-af57-a005a18c5d00
Ubuntu, with Linux 5.4.0-125-generic   55c60cf7-c384-49dd-af57-a005a18c5d00
Windows Boot Manager (on nvme0n1p1)   osprober-efi-2424-3A23
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

======================== nvme0n1p7/etc/fstab (filtered) ========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p7 during installation
UUID=55c60cf7-c384-49dd-af57-a005a18c5d00 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=2424-3A23  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

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

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

           GiB - GB             File                                 Fragment(s)
 199,381633759 = 214,084399104  boot/grub/grub.cfg                             1
 199,012775421 = 213,688340480  boot/vmlinuz                                   2
 445,798824310 = 478,672842752  boot/vmlinuz-5.15.0-86-generic                 2
 199,012775421 = 213,688340480  boot/vmlinuz-5.15.0-87-generic                 2
 252,850612640 = 271,496278016  boot/vmlinuz-5.4.0-125-generic                 2
 445,798824310 = 478,672842752  boot/vmlinuz.old                               2
 253,916011810 = 272,640241664  boot/initrd.img                                5
 403,837886810 = 433,617629184  boot/initrd.img-5.15.0-86-generic              4
 253,916011810 = 272,640241664  boot/initrd.img-5.15.0-87-generic              5
 404,630863190 = 434,469081088  boot/initrd.img-5.4.0-125-generic              2
 403,837886810 = 433,617629184  boot/initrd.img.old                            4

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

-rwxr-xr-x 1 root root 18683 Apr 15  2022 10_linux
-rwxr-xr-x 1 root root 43031 Apr 15  2022 10_linux_zfs
-rwxr-xr-x 1 root root 14387 Dec 18  2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 Apr 15  2022 30_os-prober
-rwxr-xr-x 1 root root  1372 Apr 15  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Feb 21  2022 35_fwupd
-rwxr-xr-x 1 root root   214 Jul 17  2018 40_custom
-rwxr-xr-x 1 root root   215 Apr 15  2022 41_custom

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

Try or Install Ubuntu
Ubuntu (safe graphics)
OEM install (for manufacturers)
Boot from next volume
UEFI Firmware Settings
Test memory

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

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

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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 21/10/2023, à 17:34

4maury

Re : [Résolu] Problème au démarrage en dual boot : grub not found !

Problème résolu ! Mon ordi reboot sans souci sur Ubuntu, sans clé !

Merci à tous pour votre aide et le temps passé, c'est précieux.

Bon weekend !

Hors ligne

#23 Le 21/10/2023, à 18:01

geole

Re : [Résolu] Problème au démarrage en dual boot : grub not found !

C'est bête que tu n'aies pas essayé de rebooter après la réparation de boot-repair.
A mon avis, elle était bonne.

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/grubx64.efi 
                       /efi/Boot/mmx64.efi /efi/ubuntu/grubx64.efi 
                       /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi 
                       /efi/ubuntu/grub.cfg /efi/dell/SOS/bootmgfw.efi 
                       /efi/dell/SOS/bootmgr.efi /efi/dell/SOS/bootx64.efi 
                       /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi 
                       /efi/Microsoft/Boot/cbmr_driver.efi

Le fichier /efi/ubuntu/grubx64.efi est maintenant bien présent.


Je ne comprend pas pourquoi il a lancé la commande deux fois

===================== Reinstall the grub-efi of nvme0n1p7 ======================

chroot /mnt/boot-sav/nvme0n1p7 grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
grub-install: warning: EFI variables cannot be set on this system.
grub-install: warning: You will have to complete the GRUB setup manually.
Installation finished. No error reported.
df /dev/nvme0n1p1
mv /mnt/boot-sav/nvme0n1p7/boot/efi/EFI/Boot/bootx64.efi /mnt/boot-sav/nvme0n1p7/boot/efi/EFI/Boot/bkpbootx64.efi
cp /mnt/boot-sav/nvme0n1p7/boot/efi/efi/ubuntu/grubx64.efi /mnt/boot-sav/nvme0n1p7/boot/efi/EFI/Boot/bootx64.efi

chroot /mnt/boot-sav/nvme0n1p7 grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
grub-install: warning: EFI variables cannot be set on this system.
grub-install: warning: You will have to complete the GRUB setup manually.
Installation finished. No error reported.

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

#24 Le 25/12/2023, à 09:31

juhhe

Re : [Résolu] Problème au démarrage en dual boot : grub not found !

Bonjour,
Même erreur chez moi :

-j'ai suivi vos conseils,
-je suis nulle en informatique pourtant

et...mon Ubuntu est reparti!
Donc un grand merci!

Hors ligne