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 27/01/2023, à 22:46

plante_ca

Perdu le grub! [Résolu]

Je suis vraiment mal pris. Je n'ai plus accès à mon Ubuntu.
J'ai une installation à double départ.
Je ne sais pas quelle manipulation j'ai faite  mais je ne vois pas l'écran qui me proposait le choix Ubuntu-Windows.
Mon ordi part sur Windows seulement!!!

Je peux faire quoi pour revoir l'écran du choix


Merci de votre aide

Dernière modification par plante_ca (Le 28/01/2023, à 05:48)

Hors ligne

#2 Le 27/01/2023, à 22:57

geole

Re : Perdu le grub! [Résolu]

Bonsoir
Fais un rapport boot-info et publie l'URL qui sera générée.
https://doc.ubuntu-fr.org/tutoriel/boot-info


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

#3 Le 27/01/2023, à 23:10

Qid

Re : Perdu le grub! [Résolu]

Problème de séquences de boot efi très largement prévisible mais effectivement le bootinfo permettra de confirmer voir même de donner les commandes bootmgr qui iront bien...


"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

#4 Le 27/01/2023, à 23:29

plante_ca

Re : Perdu le grub! [Résolu]

Je vous remercie.
Si je comprends bien, il faut que je parte d'une clé Ubuntu créé à partir de Windows pour pouvoir avoir BootInfo..
Je vous parle à partir d'une tablette pour le moment.
Évidemment je dois faire tout ça  pcq je n'ai rien pour le moment....

Merci pour l'info....  La prochaine fois j'utiliserai Windows _-(-//_-&/_/:'! :

Hors ligne

#5 Le 27/01/2023, à 23:32

xubu1957

Re : Perdu le grub! [Résolu]

Bonjour,

Et essayer avec un ancien noyau ?

Le 29/05/2017, moko138 a écrit :

Démarrer sur un noyau précédent

- redémarre en tapotant les touches Majuscules ou Echap
- à l'apparition du menu de grub, descends avec la flèche bas, sur la ligne :

Linux previous versions

ou

Advanced options for Ubuntu

- valide
- choisis un noyau autre que le plus récent.
- valide et laisse le pc poursuivre son démarrage.

Le 03/12/2022, nany a écrit :

Quand on a réussi à afficher le menu de GRUB, il faut alors aller sur la deuxième ligne (Advanced options for Ubuntu ou Options avancées pour Ubuntu en français) puis valider pour faire apparaître un sous-menu où il est alors possible de choisir une autre version de noyau.


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

Hors ligne

#6 Le 28/01/2023, à 00:07

plante_ca

Re : Perdu le grub! [Résolu]

OK Maintenant , je vous parle de Windows.
Je suis sur 20.04 .
Comme j'ai a faire un nouvelle clé liveUSB, Il serait peut être temps que j'instale 22.04
Quand penses-vous ?
J'ai un backup de mon home qui date de quelques jours seulement
Je créerai alors un nouveau grub ?
Avant la nouvelle installation, je pourrais obtenir in Boot-info quand même évidemment pour voir.

Question est-ce que en installant 22.04 je perds les applications déja présentes dans mom 20.04 ?
Peux-t-on demander simplement un upgrade ?

Dernière modification par plante_ca (Le 28/01/2023, à 00:27)

Hors ligne

#7 Le 28/01/2023, à 00:37

Qid

Re : Perdu le grub! [Résolu]

plante_ca a écrit :

Je suis sur 20.04 .
Comme j'ai a faire un nouvelle clé liveUSB, Il serait peut être temps que j'instale 22.04
Quand penses-vous ?

[•••]

Question est-ce que en installant 22.04 je perds les applications déja présentes dans mom 20.04 ?
Peux-t-on demander simplement un upgrade ?

Avant de tout de suite penser que la seule solution est une réinstallation ce serait bien de comprendre la situation pour savoir pourquoi elle s'est produite et pour apprendre...

D'autant que oui évidemment une réinstallation va évidemment te dégager tes appli...

L'upgrade quant-à lui ne peut pas se faire à partir d'un live... Il faut partir d'un système opérationnel connecté à internet...


"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

#8 Le 28/01/2023, à 02:44

plante_ca

Re : Perdu le grub! [Résolu]

OK Voici ce que je me rapelle des actions que j'ai prises avant le problème.

J'ai installé Wine 8.0
J'ai downloader des programmes Windows pour tester Wine (comme Démineur, Soduku, Solitaire)  en format .exe évidemment
Tous ces programmes ont bien fonctionné sur Wine.
Je n'utilise Windows qu'une fois par année pour faire mes impôts. Le logiciel n'opère que sur Windows ou Mac
J'ai donc été cherché sur la partition Windows un programme d'impots de 2020 que j'ai mis sur mon Bureau et dans mon Dossier personnel.
J'ai essayé Wine avec ce programme et cela n'a pas fonctionné. J'ai tout fermé

Après avoir redémarré je n'ai pas retrouvé mon grub mais l'ordi est parti avec Windows....

Dernière modification par plante_ca (Le 28/01/2023, à 02:45)

Hors ligne

#9 Le 28/01/2023, à 05:47

plante_ca

Re : Perdu le grub! [Résolu]

OUF et reouf...
Problème résolu
Je me suis fait un liveUSB avec 22.04
J'ai trouvé le Boot-Repair
J'ai fait les recommandations suggérées (les deux sudo )
J'ai obtenu la réparation
Voici où se situe le résultat
paste.ubuntu.com/p/H7qC3mv3r4
J'ai fermé et redémarré pour retrouver tout

Grand merci à geole et Qid

ps:à 84 ans je me débrouille avec votre aide. Merci
....

Hors ligne

#10 Le 28/01/2023, à 07:18

xubu1957

Re : Perdu le grub! [Résolu]

Bonjour,

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

boot-repair-4ppa203                                              [20230128_0323]

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





This will modify the mount point of sda6 in order to remove spaces and special characters. Do you want to continue?
This will modify the mount point of sda6 in order to remove spaces and special characters. Do you want to continue?
GPT PMBR size mismatch (250069679 != 500118191) will be corrected by write.

Recommended repair: ____________________________________________________________

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


Mount sda1 on /media/ubuntu/a6cc917e-7a52-4a79-9d4b-f0c15be9c3c6/boot/efi

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

======================== Reinstall the grub-efi of sda7 ========================

chroot /media/ubuntu/a6cc917e-7a52-4a79-9d4b-f0c15be9c3c6 grub-install --version
grub-install (GRUB) 2.04-1ubuntu26.16
modprobe: FATAL: Module efivars not found in directory /lib/modules/5.15.0-43-generic
chroot /media/ubuntu/a6cc917e-7a52-4a79-9d4b-f0c15be9c3c6 modprobe efivars

chroot /media/ubuntu/a6cc917e-7a52-4a79-9d4b-f0c15be9c3c6 efibootmgr -v before grub install
BootCurrent: 0004
Timeout: 0 seconds
BootOrder: 0006,0003,0000,0002,0001
Boot0000* SK hynix PC711 HFS256GDE9X073N-CN0CQ44391020CF0X	PciRoot(0x0)/Pci(0x2,0x2)/Pci(0x0,0x0)/NVMe(0x1,AC-E4-2E-00-06-2A-40-DB)N.....YM....R,Y.....ISPH
Boot0001* IPV6 Network - Realtek PCIe GBE Family Controller	PciRoot(0x0)/Pci(0x2,0x1)/Pci(0x0,0x2)/Pci(0x9,0x0)/Pci(0x0,0x1)/MAC(6c02e07eac3e,0)/IPv6([::]:<->[::]:,0,0)N.....YM....R,Y.....ISPH
Boot0002* IPV4 Network - Realtek PCIe GBE Family Controller	PciRoot(0x0)/Pci(0x2,0x1)/Pci(0x0,0x2)/Pci(0x9,0x0)/Pci(0x0,0x1)/MAC(6c02e07eac3e,0)/IPv4(0.0.0.00.0.0.0,0,0)N.....YM....R,Y.....ISPH
Boot0003* SanDisk Cruzer Glide 04010809100222192002	PciRoot(0x0)/Pci(0x8,0x1)/Pci(0x0,0x4)/USB(1,0)N.....YM....R,Y.....ISPH
Boot0004* EFIbootgrubx64.efi	PciRoot(0x0)/Pci(0x8,0x1)/Pci(0x0,0x4)/USB(1,0)/HD(1,MBR,0x77b080,0x800,0x394d800)/File(EFIbootgrubx64.efi)....ISPH
Boot0006* Windows Boot Manager	HD(1,GPT,d1fa36d3-ecdc-420f-af37-23d89d7f79f7,0x800,0xb4000)/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.}...te...................ISPH

chroot /media/ubuntu/a6cc917e-7a52-4a79-9d4b-f0c15be9c3c6 uname -r
5.15.0-43-generic

chroot /media/ubuntu/a6cc917e-7a52-4a79-9d4b-f0c15be9c3c6 grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
Installation finished. No error reported.
cp /media/ubuntu/a6cc917e-7a52-4a79-9d4b-f0c15be9c3c6/boot/efi/efi/ubuntu/grubx64.efi /mnt/boot-sav/nvme0n1p1/EFI/ubuntu/grubx64.efi
df /dev/sda1
mv /media/ubuntu/a6cc917e-7a52-4a79-9d4b-f0c15be9c3c6/boot/efi/EFI/Boot/bootx64.efi /media/ubuntu/a6cc917e-7a52-4a79-9d4b-f0c15be9c3c6/boot/efi/EFI/Boot/bkpbootx64.efi
cp /media/ubuntu/a6cc917e-7a52-4a79-9d4b-f0c15be9c3c6/boot/efi/efi/ubuntu/grubx64.efi /media/ubuntu/a6cc917e-7a52-4a79-9d4b-f0c15be9c3c6/boot/efi/EFI/Boot/bootx64.efi
df /dev/nvme0n1p1
mv /mnt/boot-sav/nvme0n1p1/EFI/Boot/bootx64.efi /mnt/boot-sav/nvme0n1p1/EFI/Boot/bkpbootx64.efi
cp /media/ubuntu/a6cc917e-7a52-4a79-9d4b-f0c15be9c3c6/boot/efi/efi/ubuntu/grubx64.efi /mnt/boot-sav/nvme0n1p1/EFI/Boot/bootx64.efi

chroot /media/ubuntu/a6cc917e-7a52-4a79-9d4b-f0c15be9c3c6 grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
Installation finished. No error reported.

chroot /media/ubuntu/a6cc917e-7a52-4a79-9d4b-f0c15be9c3c6 efibootmgr -v after grub install
BootCurrent: 0004
Timeout: 0 seconds
BootOrder: 0005,0006,0003,0000,0002,0001
Boot0000* SK hynix PC711 HFS256GDE9X073N-CN0CQ44391020CF0X	PciRoot(0x0)/Pci(0x2,0x2)/Pci(0x0,0x0)/NVMe(0x1,AC-E4-2E-00-06-2A-40-DB)N.....YM....R,Y.....ISPH
Boot0001* IPV6 Network - Realtek PCIe GBE Family Controller	PciRoot(0x0)/Pci(0x2,0x1)/Pci(0x0,0x2)/Pci(0x9,0x0)/Pci(0x0,0x1)/MAC(6c02e07eac3e,0)/IPv6([::]:<->[::]:,0,0)N.....YM....R,Y.....ISPH
Boot0002* IPV4 Network - Realtek PCIe GBE Family Controller	PciRoot(0x0)/Pci(0x2,0x1)/Pci(0x0,0x2)/Pci(0x9,0x0)/Pci(0x0,0x1)/MAC(6c02e07eac3e,0)/IPv4(0.0.0.00.0.0.0,0,0)N.....YM....R,Y.....ISPH
Boot0003* SanDisk Cruzer Glide 04010809100222192002	PciRoot(0x0)/Pci(0x8,0x1)/Pci(0x0,0x4)/USB(1,0)N.....YM....R,Y.....ISPH
Boot0004* EFIbootgrubx64.efi	PciRoot(0x0)/Pci(0x8,0x1)/Pci(0x0,0x4)/USB(1,0)/HD(1,MBR,0x77b080,0x800,0x394d800)/File(EFIbootgrubx64.efi)....ISPH
Boot0005* ubuntu	HD(1,GPT,d1fa36d3-ecdc-420f-af37-23d89d7f79f7,0x800,0xb4000)/File(EFIubuntushimx64.efi)
Boot0006* Windows Boot Manager	HD(1,GPT,d1fa36d3-ecdc-420f-af37-23d89d7f79f7,0x800,0xb4000)/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.}...te...................ISPH

chroot /media/ubuntu/a6cc917e-7a52-4a79-9d4b-f0c15be9c3c6 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.4.0-137-generic
Found initrd image: /boot/initrd.img-5.4.0-137-generic
Found linux image: /boot/vmlinuz-5.4.0-135-generic
Found initrd image: /boot/initrd.img-5.4.0-135-generic
Found Windows Boot Manager on /dev/nvme0n1p1@/efi/Microsoft/Boot/bootmgfw.efi
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings
This will modify the mount point of sda6 in order to remove spaces and special characters. Do you want to continue?

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

Boot successfully repaired.

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


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

 => No boot loader is installed in the MBR of /dev/nvme0n1.
 => No boot loader is installed in the MBR of /dev/sda.
 => Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (hd0,msdos1)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    biosdisk fshelp fat exfat ext2 ntfs ntfscomp part_msdos
    ---------------------------------------------------------------------------

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/ubuntu/grubx64.efi 
                       /efi/HP/BiosUpdate/BiosMgmt32.efi 
                       /efi/HP/BiosUpdate/BiosMgmt.efi 
                       /efi/HP/BiosUpdate/CryptRSA32.efi 
                       /efi/HP/BiosUpdate/CryptRSA.efi 
                       /efi/HP/SystemDiags/CryptRSA32.efi 
                       /efi/HP/SystemDiags/CryptRSA.efi 
                       /efi/HP/SystemDiags/SysDiags32.efi 
                       /efi/HP/SystemDiags/SysDiagsArm.efi 
                       /efi/HP/SystemDiags/SysDiagsArmM.efi 
                       /efi/HP/SystemDiags/SysDiags.efi 
                       /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/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 8 or 10
    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:       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/HP/BiosUpdate/CryptRSA.efi 
                       /efi/HP/BiosUpdate/HpBiosMgmt.efi 
                       /efi/HP/BiosUpdate/HpBiosUpdate.efi 
                       /efi/HP/SystemDiags/CryptRSA.efi 
                       /efi/HP/SystemDiags/HpSysDiags.efi 
                       /efi/HP/SystemDiags/SystemDiags.efi 
                       /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

    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:        

sda6: __________________________________________________________________________

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

sda7: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  MSWIN4.1: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /efi/boot/bootx64.efi 
                       /efi/boot/grubx64.efi /efi/boot/mmx64.efi


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

OS#1:   Ubuntu 20.04.5 LTS on sda7
OS#2:   Windows 8 or 10 on nvme0n1p3
OS#3:   Windows 10 or 11 on sda3

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

CPU architecture: 64-bit
Video: Cezanne EFI VGA from Advanced Micro Devices, Inc. [AMD/ATI]
Live-session OS is Ubuntu 64-bit (Ubuntu 22.04.1 LTS, jammy, x86_64)

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

BIOS/UEFI firmware: T26 Ver. 02.06.00(6.0) from HP
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0004
Timeout: 0 seconds
BootOrder: 0005,0006,0003,0000,0002,0001
Boot0000* SK hynix PC711 HFS256GDE9X073N-CN0CQ44391020CF0X	PciRoot(0x0)/Pci(0x2,0x2)/Pci(0x0,0x0)/NVMe(0x1,AC-E4-2E-00-06-2A-40-DB)N.....YM....R,Y.....ISPH
Boot0001* IPV6 Network - Realtek PCIe GBE Family Controller	PciRoot(0x0)/Pci(0x2,0x1)/Pci(0x0,0x2)/Pci(0x9,0x0)/Pci(0x0,0x1)/MAC(6c02e07eac3e,0)/IPv6([::]:<->[::]:,0,0)N.....YM....R,Y.....ISPH
Boot0002* IPV4 Network - Realtek PCIe GBE Family Controller	PciRoot(0x0)/Pci(0x2,0x1)/Pci(0x0,0x2)/Pci(0x9,0x0)/Pci(0x0,0x1)/MAC(6c02e07eac3e,0)/IPv4(0.0.0.00.0.0.0,0,0)N.....YM....R,Y.....ISPH
Boot0003* SanDisk Cruzer Glide 04010809100222192002	PciRoot(0x0)/Pci(0x8,0x1)/Pci(0x0,0x4)/USB(1,0)N.....YM....R,Y.....ISPH
Boot0004* \EFI\boot\grubx64.efi	PciRoot(0x0)/Pci(0x8,0x1)/Pci(0x0,0x4)/USB(1,0)/HD(1,MBR,0x77b080,0x800,0x394d800)/File(\EFI\boot\grubx64.efi)....ISPH
Boot0006* Windows Boot Manager	HD(1,GPT,d1fa36d3-ecdc-420f-af37-23d89d7f79f7,0x800,0xb4000)/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.}...te...................ISPH

3c080490d0eb8fdb738f298c3e44b3e0   nvme0n1p1/Boot/bkpbootx64.efi
b87d854e443e7fe6609397a3e5bfb74b   nvme0n1p1/Boot/bootx64.efi
b87d854e443e7fe6609397a3e5bfb74b   nvme0n1p1/ubuntu/grubx64.efi
56a5c9b3b5e98ba54ccdf69fb2c7e572   nvme0n1p1/HP/BiosUpdate/BiosMgmt32.efi
44f07294f79cff3d214688b2b5b57d50   nvme0n1p1/HP/BiosUpdate/BiosMgmt.efi
1b8c0684ede8539ccc205cf7a750eca3   nvme0n1p1/HP/BiosUpdate/CryptRSA32.efi
6488d391f74263c9da3c3d47dffa6212   nvme0n1p1/HP/BiosUpdate/CryptRSA.efi
1b8c0684ede8539ccc205cf7a750eca3   nvme0n1p1/HP/SystemDiags/CryptRSA32.efi
6488d391f74263c9da3c3d47dffa6212   nvme0n1p1/HP/SystemDiags/CryptRSA.efi
876621148f89e5ab1c036833056845ed   nvme0n1p1/HP/SystemDiags/SysDiags32.efi
c94604951ae0018756256a8280d1f323   nvme0n1p1/HP/SystemDiags/SysDiagsArm.efi
f787bf8222d817c29c31a7a464b8ada7   nvme0n1p1/HP/SystemDiags/SysDiagsArmM.efi
cb876dfe2261bc1297158f263c0ce012   nvme0n1p1/HP/SystemDiags/SysDiags.efi
3c080490d0eb8fdb738f298c3e44b3e0   nvme0n1p1/Microsoft/Boot/bootmgfw.efi
da7c9088c9d0bff4ac469abdfc8f540e   nvme0n1p1/Microsoft/Boot/bootmgr.efi
728124f6ec8e22fbdbe7034812c81b95   sda1/Boot/bkpbootx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda1/Boot/bootx64.efi
85fa9d77b929ec4231aba29476574eb6   sda1/Boot/fbx64.efi
469e608783843a701d172242f016c79c   sda1/Boot/mmx64.efi
b87d854e443e7fe6609397a3e5bfb74b   sda1/ubuntu/grubx64.efi
469e608783843a701d172242f016c79c   sda1/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   sda1/ubuntu/shimx64.efi
6488d391f74263c9da3c3d47dffa6212   sda1/HP/BiosUpdate/CryptRSA.efi
6a1078ac0ef5dc7fdc211fa84d193b30   sda1/HP/BiosUpdate/HpBiosMgmt.efi
5bd63d17d83696eee71520cae586e432   sda1/HP/BiosUpdate/HpBiosUpdate.efi
6488d391f74263c9da3c3d47dffa6212   sda1/HP/SystemDiags/CryptRSA.efi
384297d45d3bb808adfb5db399ee09fd   sda1/HP/SystemDiags/HpSysDiags.efi
07f052d6019959cdfdea6d195c83cd93   sda1/HP/SystemDiags/SystemDiags.efi
20ac8dde00311476f3755604eb0e545a   sda1/Microsoft/Boot/bootmgfw.efi
27d382c5fc21df6f4a75baed05aa1d9d   sda1/Microsoft/Boot/bootmgr.efi
   sda6/Boot/bootx64.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---ESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

nvme0n1p1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
nvme0n1p3	: is-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
nvme0n1p4	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda1	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda3	: is-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda5	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda6	: no-os,	64, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda7	: 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,	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	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda5	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
sda6	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	bootmgr,	is-winboot
sda7	: 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	: 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
sda1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda3	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda5	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda6	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda7	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk nvme0n1: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk identifier: 4D48F0CA-B0F2-4247-81E4-B28D7DFE85A0
              Start       End   Sectors   Size Type
nvme0n1p1      2048    534527    532480   260M EFI System
nvme0n1p2    534528    567295     32768    16M Microsoft reserved
nvme0n1p3    567296 498644991 498077696 237.5G Microsoft basic data
nvme0n1p4 498644992 500107263   1462272   714M Windows recovery environment
Disk sda: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk identifier: 5C7CD822-FB64-4D2E-AA30-471E0A3FBE5D
          Start       End   Sectors   Size Type
sda1       2048    739327    737280   360M EFI System
sda2     739328   1001471    262144   128M Microsoft reserved
sda3    1001472 227935494 226934023 108.2G Microsoft basic data
sda4  450471936 467001343  16529408   7.9G Linux swap
sda5  467001344 469008383   2007040   980M Windows recovery environment
sda6  469008384 500107263  31098880  14.8G Microsoft basic data
sda7  227936256 450471935 222535680 106.1G Linux filesystem
Partition table entries are not in disk order.
Disk sdb: 28.65 GiB, 30765219840 bytes, 60088320 sectors
Disk identifier: 0x0077b080
      Boot Start      End  Sectors  Size Id Type
sdb1  *     2048 60088319 60086272 28.7G  c W95 FAT32 (LBA)

parted -lm (filtered): _________________________________________________________

sda:256GB:scsi:512:4096:gpt:ATA SanDisk SD8SBAT-:;
1:1049kB:379MB:377MB:fat32:EFI system partition:boot, esp;
2:379MB:513MB:134MB::Microsoft reserved partition:msftres;
3:513MB:117GB:116GB:ntfs:Basic data partition:msftdata;
7:117GB:231GB:114GB:ext4::;
4:231GB:239GB:8463MB:linux-swap(v1)::swap;
5:239GB:240GB:1028MB:ntfs:Basic data partition:hidden, diag;
6:240GB:256GB:15.9GB:ntfs:Basic data partition:hidden, msftdata;
sdb:30.8GB:scsi:512:512:msdos:SanDisk Cruzer Glide:;
1:1049kB:30.8GB:30.8GB:fat32::boot, lba;
nvme0n1:256GB:nvme:512:512:gpt:SK hynix PC711 HFS256GDE9X073N:;
1:1049kB:274MB:273MB:fat32:EFI system partition:boot, esp;
2:274MB:290MB:16.8MB::Microsoft reserved partition:msftres;
3:290MB:255GB:255GB:ntfs:Basic data partition:msftdata;
4:255GB:256GB:749MB:ntfs:Basic data partition:hidden, diag;

blkid (filtered): ______________________________________________________________

NAME        FSTYPE   UUID                                 PARTUUID                             LABEL            PARTLABEL
sda                                                                                                             
├─sda1      vfat     2E70-2BEE                            d1fa36d3-ecdc-420f-af37-23d89d7f79f7 SYSTEM           EFI system partition
├─sda2                                                    0564c663-f95f-4f47-a63a-0be3aeff53d5                  Microsoft reserved partition
├─sda3      ntfs     2C28F5ED28F5B5C4                     79abae6a-6fb5-435a-b5d0-6e84076dc972 Windows          Basic data partition
├─sda4      swap     9f2d56f5-9d7e-4a0d-a471-7b6bbcae899a 4d47f034-2165-4302-b5aa-de88c3d7a711                  
├─sda5      ntfs     1A30D66530D64801                     553a2a5f-a128-4624-965f-bf1aa237766e Windows RE tools Basic data partition
├─sda6      ntfs     A27491A874918029                     558b83ba-75ff-4143-a101-b12aa66052e0 Recovery Image   Basic data partition
└─sda7      ext4     a6cc917e-7a52-4a79-9d4b-f0c15be9c3c6 e4406adc-f91b-477c-a011-ae8acca07f19                  
sdb                                                                                                             
└─sdb1      vfat     CC9B-BB05                            0077b080-01                          UBUNTU 22_0      
nvme0n1                                                                                                         
├─nvme0n1p1 vfat     C00A-5FB1                            6e9bf405-68fd-41cb-a21c-408544894b9b SYSTEM           EFI system partition
├─nvme0n1p2                                               d35f9441-22c2-46f3-be5d-4d7546aa7b37                  Microsoft reserved partition
├─nvme0n1p3 ntfs     823655C73655BCBB                     ec5fca47-c542-45d6-a309-b29c409d7d3f Windows          Basic data partition
└─nvme0n1p4 ntfs     EA0E4C3B0E4C0355                     81f7ff57-ea40-48cb-9696-b23e5dc3a7ac Windows RE Tools Basic data partition

Mount points (filtered): _______________________________________________________

                        Avail Use% Mounted on
/dev/nvme0n1p1         147.5M  42% /mnt/boot-sav/nvme0n1p1
/dev/nvme0n1p3         160.1G  33% /mnt/boot-sav/nvme0n1p3
/dev/nvme0n1p4         115.1M  84% /mnt/boot-sav/nvme0n1p4
/dev/sda1              250.6M  30% /mnt/boot-sav/sda1
/dev/sda3               39.1G  64% /mnt/boot-sav/sda3
/dev/sda5              531.1M  46% /mnt/boot-sav/sda5
/dev/sda6                1.9G  87% /media/ubuntu/Recovery Image
/dev/sda7               16.1G  79% /media/ubuntu/a6cc917e-7a52-4a79-9d4b-f0c15be9c3c6
/dev/sdb1               25.1G  12% /cdrom

Mount options (filtered): ______________________________________________________


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

search.fs_uuid a6cc917e-7a52-4a79-9d4b-f0c15be9c3c6 root hd0,gpt7 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   a6cc917e-7a52-4a79-9d4b-f0c15be9c3c6
Ubuntu, with Linux 5.4.0-137-generic   a6cc917e-7a52-4a79-9d4b-f0c15be9c3c6
Ubuntu, with Linux 5.4.0-135-generic   a6cc917e-7a52-4a79-9d4b-f0c15be9c3c6
Windows Boot Manager (on nvme0n1p1)   osprober-efi-C00A-5FB1
Windows Boot Manager (on sda1)   osprober-efi-2E70-2BEE
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda7/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda7 during installation
UUID=a6cc917e-7a52-4a79-9d4b-f0c15be9c3c6 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=2E70-2BEE  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

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

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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1
 197.935581207 = 212.531712000  boot/vmlinuz                                   1
 131.263706207 = 140.943331328  boot/vmlinuz-5.4.0-135-generic                 2
 197.935581207 = 212.531712000  boot/vmlinuz-5.4.0-137-generic                 1
 131.263706207 = 140.943331328  boot/vmlinuz.old                               2
 190.506729126 = 204.555042816  boot/initrd.img                                4
 142.725921631 = 153.250791424  boot/initrd.img-5.4.0-135-generic              9
 190.506729126 = 204.555042816  boot/initrd.img-5.4.0-137-generic              4
 142.725921631 = 153.250791424  boot/initrd.img.old                            9

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

-rwxr-xr-x 1 root root 18224 Jan 11  2022 10_linux
-rwxr-xr-x 1 root root 42359 Sep  8  2020 10_linux_zfs
-rwxr-xr-x 1 root root 12894 Sep  8  2020 20_linux_xen
-rwxr-xr-x 1 root root 12059 Jul 17  2018 30_os-prober
-rwxr-xr-x 1 root root  1424 Sep  8  2020 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   216 Jul 17  2018 41_custom

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

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

Hors ligne

#11 Le 28/01/2023, à 10:52

Qid

Re : Perdu le grub! [Résolu]

Bref... Au vue du rapport c'était donc bien l'uefi qui avait fait des siennes car suivant l'ordi windows ne se gêne pas pour réécrire dedans sans prévenir... Pour réparer ça il n'y a absolument pas besoin de bootrepair... Juste d'aller remettre Ubuntu en priorité au démarrage : dans le cas présent on voit très clairement qu'il a été complètement éjecté...


"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

#12 Le 28/01/2023, à 11:21

malbo

Re : Perdu le grub! [Résolu]

Qid a écrit :

Juste d'aller remettre Ubuntu en priorité au démarrage

Bonjour,
Pour pouvoir remettre Ubuntu en priorité de démarrage, encore faudrait-il qu'il soit là. Dans la partie "Reinstall the grub-efi of sda7 ", on ne trouve pas Ubuntu parmi les entrées UEFI :

======================== Reinstall the grub-efi of sda7 ========================

chroot /media/ubuntu/a6cc917e-7a52-4a79-9d4b-f0c15be9c3c6 grub-install --version
grub-install (GRUB) 2.04-1ubuntu26.16
modprobe: FATAL: Module efivars not found in directory /lib/modules/5.15.0-43-generic
chroot /media/ubuntu/a6cc917e-7a52-4a79-9d4b-f0c15be9c3c6 modprobe efivars

chroot /media/ubuntu/a6cc917e-7a52-4a79-9d4b-f0c15be9c3c6 efibootmgr -v before grub install
BootCurrent: 0004
Timeout: 0 seconds
BootOrder: 0006,0003,0000,0002,0001
Boot0000* SK hynix PC711 HFS256GDE9X073N-CN0CQ44391020CF0X	PciRoot(0x0)/Pci(0x2,0x2)/Pci(0x0,0x0)/NVMe(0x1,AC-E4-2E-00-06-2A-40-DB)N.....YM....R,Y.....ISPH
Boot0001* IPV6 Network - Realtek PCIe GBE Family Controller	PciRoot(0x0)/Pci(0x2,0x1)/Pci(0x0,0x2)/Pci(0x9,0x0)/Pci(0x0,0x1)/MAC(6c02e07eac3e,0)/IPv6([::]:<->[::]:,0,0)N.....YM....R,Y.....ISPH
Boot0002* IPV4 Network - Realtek PCIe GBE Family Controller	PciRoot(0x0)/Pci(0x2,0x1)/Pci(0x0,0x2)/Pci(0x9,0x0)/Pci(0x0,0x1)/MAC(6c02e07eac3e,0)/IPv4(0.0.0.00.0.0.0,0,0)N.....YM....R,Y.....ISPH
Boot0003* SanDisk Cruzer Glide 04010809100222192002	PciRoot(0x0)/Pci(0x8,0x1)/Pci(0x0,0x4)/USB(1,0)N.....YM....R,Y.....ISPH
Boot0004* EFIbootgrubx64.efi	PciRoot(0x0)/Pci(0x8,0x1)/Pci(0x0,0x4)/USB(1,0)/HD(1,MBR,0x77b080,0x800,0x394d800)/File(EFIbootgrubx64.efi)....ISPH
Boot0006* Windows Boot Manager	HD(1,GPT,d1fa36d3-ecdc-420f-af37-23d89d7f79f7,0x800,0xb4000)/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.}...te...................ISPH

Hors ligne

#13 Le 28/01/2023, à 12:38

Qid

Re : Perdu le grub! [Résolu]

Ouais je sais bien... Mais et la 4 d'ailleurs ?


"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

#14 Le 06/02/2023, à 16:34

xubu1957

Re : Perdu le grub! [Résolu]


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

Hors ligne

#15 Le 06/02/2023, à 17:17

plante_ca

Re : Perdu le grub! [Résolu]

et oui

Hors ligne