#1 Le 27/01/2022, à 20:31
- Kail
[Résolu]Dual BOOT probleme = Failed to open \EFI\UBUNTU\grubx64.efi -
Failed to open \EFI\UBUNTU\grubx64.efi - NOT FOUND
Failed to load image \EFI\UBUNTU\grubx64.efi: Not Found
start_image() returned not found
J'ai installé ubuntu en dual boot et c'est arrivé comme ça du jour au lendemain. J'ai cherché sur le web on me dit de faire des sudo cp etc mais j'ai pas accès au terminal linux
si quelqu'un pouvait m'apporter une réponse rapide , j'en ai besoin pour le travail
Dernière modification par Kail (Le 28/01/2022, à 17:21)
Hors ligne
#2 Le 27/01/2022, à 20:33
- Kail
Re : [Résolu]Dual BOOT probleme = Failed to open \EFI\UBUNTU\grubx64.efi -
https://askubuntu.com/questions/906776/ … al-booting
j'ai ça mais on ne peut pas faire de sudo cp /boot depuis windows
je comprends pas la réponse, si justemetn je n'ai pas accès à linux comment résoudre ça
la réponse c'est
$ sudo bash
$ cd /boot/efi/EFI
$ sudo cp -p ubuntu/grubx64.efi Boot
$ sudo touch ubuntu/grubx64.efi.gbr
Hors ligne
#3 Le 27/01/2022, à 20:39
- xubu1957
Re : [Résolu]Dual BOOT probleme = Failed to open \EFI\UBUNTU\grubx64.efi -
Bonjour,
Marque et nom du modèle de l'ordi ?
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
#4 Le 27/01/2022, à 20:48
- geole
Re : [Résolu]Dual BOOT probleme = Failed to open \EFI\UBUNTU\grubx64.efi -
Bonjour
et fournir un boot-info à faire depuis le support d installation 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
#5 Le 27/01/2022, à 22:46
- Kail
Re : [Résolu]Dual BOOT probleme = Failed to open \EFI\UBUNTU\grubx64.efi -
Bonjour,
Marque et nom du modèle de l'ordi ?
Asus
R520U
Faut savoir qu'avant je n'ai pas eu de problèmes avec ubuntu , je bossais même dessus pour le travail
peut être une chute du pc,
ou bien , une mise à jour windows
Je pense que je vais ré installer linux ça me saoule tout ça
Hors ligne
#6 Le 27/01/2022, à 22:46
- Kail
Re : [Résolu]Dual BOOT probleme = Failed to open \EFI\UBUNTU\grubx64.efi -
Bonjour
et fournir un boot-info à faire depuis le support d installation https://doc.ubuntu-fr.org/tutoriel/boot-info
" depuis une session ubuntu "
mais je n'ai plus accès à linux, je ne peux pas le faire
Hors ligne
#7 Le 27/01/2022, à 22:49
- xubu1957
Re : [Résolu]Dual BOOT probleme = Failed to open \EFI\UBUNTU\grubx64.efi -
As-tu un support d'installation d'Ubuntu (DVD ou clé USB) ?
Pour appliquer la procédure > amorcer_sur_cd_ubuntu#amorcage et arriver à cette étape : essayer_ubuntu_sans_rien_changer_dans_votre_ordinateur et essayer d'accéder à une session-live.
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
#8 Le 27/01/2022, à 22:53
- geole
Re : [Résolu]Dual BOOT probleme = Failed to open \EFI\UBUNTU\grubx64.efi -
geole a écrit :Bonjour
et fournir un boot-info à faire depuis le support d installation https://doc.ubuntu-fr.org/tutoriel/boot-info" depuis une session ubuntu "
mais je n'ai plus accès à linux, je ne peux pas le faire
Je n'ai jamais dit "depuis le ubuntu qui fonctionne" Ce qui serait stupide.
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit, utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#9 Le 27/01/2022, à 22:56
- Kail
Re : [Résolu]Dual BOOT probleme = Failed to open \EFI\UBUNTU\grubx64.efi -
As-tu un support d'installation d'Ubuntu (DVD ou clé USB) ?
Pour appliquer la procédure > amorcer_sur_cd_ubuntu#amorcage et arriver à cette étape : essayer_ubuntu_sans_rien_changer_dans_votre_ordinateur et essayer d'accéder à une session-live.
purée je suis vraiment en galère je suis venu chez quelqu'un pour bosser sur mon pc mais mes clés linux sont chez moi lol
je vais devoir donc revenir chez moi et appliquer vos méthodes
Hors ligne
#10 Le 28/01/2022, à 13:51
- Kail
Re : [Résolu]Dual BOOT probleme = Failed to open \EFI\UBUNTU\grubx64.efi -
As-tu un support d'installation d'Ubuntu (DVD ou clé USB) ?
Pour appliquer la procédure > amorcer_sur_cd_ubuntu#amorcage et arriver à cette étape : essayer_ubuntu_sans_rien_changer_dans_votre_ordinateur et essayer d'accéder à une session-live.
donc là je refais une clé usb avec rufus et ubuntu 20 j'attends que la clé se transforme.
n'est pas plus rapide d'écraser mon ancien linux ubuntu ? j'ai pas envie de perdre du temps
sauf si ça prend 30 minutes max de réparer grub + faire le boot info machin
Hors ligne
#11 Le 28/01/2022, à 14:06
- geole
Re : [Résolu]Dual BOOT probleme = Failed to open \EFI\UBUNTU\grubx64.efi -
Bonjour
Tu fais d'abord le boot-info et on voit le problème qui existe. Après on verra la bonne solution
Dans l'ensemble une réparation ciblée se fait en 5 minutes
Si elle rate, on ne cherche pas et tu réinstalles.
Dernière modification par geole (Le 28/01/2022, à 14:09)
Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit, utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248
Hors ligne
#12 Le 28/01/2022, à 15:43
- Kail
Re : [Résolu]Dual BOOT probleme = Failed to open \EFI\UBUNTU\grubx64.efi -
Bonjour
Tu fais d'abord le boot-info et on voit le problème qui existe. Après on verra la bonne solution
Dans l'ensemble une réparation ciblée se fait en 5 minutes
Si elle rate, on ne cherche pas et tu réinstalles.
Ok merci l'ami j'ai la clé usb, là je fais la manoeuvre, je reviens
Hors ligne
#13 Le 28/01/2022, à 16:04
- Kail
Re : [Résolu]Dual BOOT probleme = Failed to open \EFI\UBUNTU\grubx64.efi -
Les gars ya pas de /boot/efi
normal car je suis sur ma clé usb je pense, il peut pas accéder à mon disque dur non
https://zupimages.net/viewer.php?id=22/04/nqpv.png
Hors ligne
#14 Le 28/01/2022, à 16:16
- Kail
Re : [Résolu]Dual BOOT probleme = Failed to open \EFI\UBUNTU\grubx64.efi -
boot-info-4ppa171 [20220128_1406]
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: Windows 8/10/11/2012: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/Boot/bootx64.efi /efi/Boot/fbx64.efi
/efi/Boot/mmx64.efi /efi/ubuntu/mmx64.efi
/efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg
/efi/Microsoft/Boot/bootmgfw.efi
/efi/Microsoft/Boot/bootmgr.efi
sda2: __________________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
sda3: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/10/11/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 10 or 11
Boot files: /Windows/System32/winload.exe
sda4: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/10/11/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 20.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sda6: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
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 20.04.2 LTS on sda5
OS#2: Windows 10 or 11 on sda3
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: UHD Graphics 620 from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04.3 LTS, focal, x86_64)
===================================== UEFI =====================================
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot enabled.
BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0002,0000,0003
Boot0000* Windows Boot Manager HD(1,GPT,06c98ff2-594c-48c9-b191-017e0795cdca,0x800,0x82000)/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.}....................
Boot0002* ubuntu HD(1,GPT,06c98ff2-594c-48c9-b191-017e0795cdca,0x800,0x82000)/File(\EFI\UBUNTU\SHIMX64.EFI)..BO
Boot0003* UEFI: Generic Flash Disk 8.07, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(2,0)/HD(1,MBR,0x211df7,0x800,0x1d4b800)..BO
d91bd7045f56ef46e2d140afb64bb534 sda1/Boot/bootx64.efi
1201bdff16733b9fa2b50ef1196ba472 sda1/Boot/fbx64.efi
46aaba55d06e3810bb5c51e297e1c7ab sda1/Boot/mmx64.efi
46aaba55d06e3810bb5c51e297e1c7ab sda1/ubuntu/mmx64.efi
d91bd7045f56ef46e2d140afb64bb534 sda1/ubuntu/shimx64.efi
88d8877ed3e6c65fe091f4fe40c8beff sda1/Microsoft/Boot/bootmgfw.efi
9804a5af3899975c598d2e323c04ed87 sda1/Microsoft/Boot/bootmgr.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, has-win, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda3 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda4 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda5 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
Partitions info (2/3): _________________________________________________________
sda1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda3 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot
sda4 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot
sda5 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda3 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda4 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda5 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 238.49 GiB, 256060514304 bytes, 500118192 sectors
Disk identifier: 1E0AB825-D55F-4FBD-ACD8-72CED587C110
Start End Sectors Size Type
sda1 2048 534527 532480 260M EFI System
sda2 534528 567295 32768 16M Microsoft reserved
sda3 567296 302715525 302148230 144.1G Microsoft basic data
sda4 498479104 500117503 1638400 800M Windows recovery environment
sda5 302716928 486135807 183418880 87.5G Linux filesystem
sda6 486135808 498479103 12343296 5.9G Linux swap
Partition table entries are not in disk order.
Disk sdb: 14.66 GiB, 15728640000 bytes, 30720000 sectors
Disk identifier: 0x00211df7
Boot Start End Sectors Size Id Type
sdb1 * 2048 30719999 30717952 14.7G c W95 FAT32 (LBA)
parted -lm (filtered): _________________________________________________________
sda:256GB:scsi:512:512:gpt:ATA Micron_1100_MTFD:;
1:1049kB:274MB:273MB:fat32:EFI system partition:boot, esp;
2:274MB:290MB:16.8MB::Microsoft reserved partition:msftres;
3:290MB:155GB:155GB:ntfs:Basic data partition:msftdata;
5:155GB:249GB:93.9GB:ext4::;
6:249GB:255GB:6320MB:linux-swap(v1)::swap;
4:255GB:256GB:839MB:ntfs:Basic data partition:hidden, diag;
sdb:15.7GB:scsi:512:512:msdos:Generic Flash Disk:;
1:1049kB:15.7GB:15.7GB:fat32::boot, lba;
Free space (filtered): _________________________________________________________
sda:244198MiB:scsi:512:512:gpt:ATA Micron_1100_MTFD:;
1:0.02MiB:1.00MiB:0.98MiB:free;
1:147810MiB:147811MiB:0.68MiB:free;
1:244198MiB:244198MiB:0.32MiB:free;
sdb:15000MiB:scsi:512:512:msdos:Generic Flash Disk:;
1:0.03MiB:1.00MiB:0.97MiB:free;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat 827D-6ADD 06c98ff2-594c-48c9-b191-017e0795cdca SYSTEM EFI system partition
├─sda2 1789e9b4-f956-4447-82bd-8102606df2ae Microsoft reserved partition
├─sda3 ntfs E662809A6280715B d0e85969-482b-44d4-a100-7ee5b9bc73bb OS Basic data partition
├─sda4 ntfs 68562C62562C32EC 4e182923-deb7-4137-939c-2fcc8e96d3f1 RECOVERY Basic data partition
├─sda5 ext4 fd83a7d4-eb1f-4d83-90f2-561c862279a1 863e5d05-fbb5-4aaa-ac35-20713b8aeda5
└─sda6 swap f6497460-0711-4134-a485-22201b70fd4a b70a329e-2fba-4d7a-9d8a-1790c6e10936
sdb
└─sdb1 vfat 5C32-125E 00211df7-01 UBUNTU 20_0
Mount points (filtered): _________________________________________________________________
Avail Use% Mounted on
/dev/sda1 226.9M 11% /mnt/boot-sav/sda1
/dev/sda3 6.3G 96% /mnt/boot-sav/sda3
/dev/sda4 349.2M 56% /mnt/boot-sav/sda4
/dev/sda5 6.4G 87% /mnt/boot-sav/sda5
/dev/sdb1 11.8G 20% /cdrom
Mount options (filtered): ________________________________________________________________
/dev/sda1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sda3 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda4 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda5 rw,relatime
/dev/sdb1 ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid fd83a7d4-eb1f-4d83-90f2-561c862279a1 root hd0,gpt5
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda5/boot/grub/grub.cfg (filtered) ======================
Ubuntu fd83a7d4-eb1f-4d83-90f2-561c862279a1
Ubuntu, avec Linux 5.4.0-81-generic fd83a7d4-eb1f-4d83-90f2-561c862279a1
Ubuntu, avec Linux 5.4.0-80-generic fd83a7d4-eb1f-4d83-90f2-561c862279a1
Ubuntu, avec Linux 5.4.0-77-generic fd83a7d4-eb1f-4d83-90f2-561c862279a1
Windows Boot Manager (sur sda1) osprober-efi-827D-6ADD
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sda5/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=fd83a7d4-eb1f-4d83-90f2-561c862279a1 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=827D-6ADD /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
======================= sda5/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=""
==================== sda5: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
213.183418274 = 228.903952384 boot/grub/grub.cfg 2
207.295143127 = 222.581465088 boot/vmlinuz 1
227.412326813 = 244.182126592 boot/vmlinuz-5.4.0-77-generic 2
229.615451813 = 246.547714048 boot/vmlinuz-5.4.0-80-generic 2
207.295143127 = 222.581465088 boot/vmlinuz-5.4.0-81-generic 1
229.615451813 = 246.547714048 boot/vmlinuz.old 2
171.353111267 = 183.989002240 boot/initrd.img 7
222.014286041 = 238.386024448 boot/initrd.img-5.4.0-77-generic 4
215.267181396 = 231.141376000 boot/initrd.img-5.4.0-80-generic 4
171.353111267 = 183.989002240 boot/initrd.img-5.4.0-81-generic 7
215.267181396 = 231.141376000 boot/initrd.img.old 4
===================== sda5: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 17622 Sep 8 2020 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 Nov 11 2019 30_os-prober
-rwxr-xr-x 1 root root 1424 Sep 8 2020 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Nov 11 2019 40_custom
-rwxr-xr-x 1 root root 216 Nov 11 2019 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 reinstall the grub-efi-amd64-signed of
sda5,
using the following options: sda1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the Ubuntu 20.04.2 LTS entry (sda1/efi/****/shim****.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\****\shim****.efi (**** will be updated in the final message)
Hors ligne
#15 Le 28/01/2022, à 16:17
- Kail
Re : [Résolu]Dual BOOT probleme = Failed to open \EFI\UBUNTU\grubx64.efi -
mon rapport boot info
https://paste.ubuntu.com/p/6bMp2JYKgy/
Dernière modification par Kail (Le 28/01/2022, à 16:25)
Hors ligne
#16 Le 28/01/2022, à 16:20
- Kail
Re : [Résolu]Dual BOOT probleme = Failed to open \EFI\UBUNTU\grubx64.efi -
https://paste.ubuntu.com/p/k6H7jB9Z9Q/
mon boot repair report
Hors ligne
#17 Le 28/01/2022, à 16:26
- xubu1957
Re : [Résolu]Dual BOOT probleme = Failed to open \EFI\UBUNTU\grubx64.efi -
Bonjour,
Collage du Boot-repair, pour les spécialistes :
boot-repair-4ppa171 [20220128_1418]
============================= Boot Repair Summary ==============================
Recommended repair: ____________________________________________________________
The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of
sda5,
using the following options: sda1/boot/efi
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file
/boot/efi added in sda5/fstab
Mount sda1 on /mnt/boot-sav/sda5/boot/efi
Unhide GRUB boot menu in sda5/etc/default/grub
================= Reinstall the grub-efi-amd64-signed of sda5 ==================
grub-install --version
grub-install (GRUB) 2.04-1ubuntu26.12
efibootmgr -v from chroot before grub install
BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0002,0000,0003
Boot0000* Windows Boot Manager HD(1,GPT,06c98ff2-594c-48c9-b191-017e0795cdca,0x800,0x82000)/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.}....................
Boot0002* ubuntu HD(1,GPT,06c98ff2-594c-48c9-b191-017e0795cdca,0x800,0x82000)/File(EFIUBUNTUSHIMX64.EFI)..BO
Boot0003* UEFI: Generic Flash Disk 8.07, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(2,0)/HD(1,MBR,0x211df7,0x800,0x1d4b800)..BO
uname -r in chroot
5.11.0-27-generic
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
Installing for x86_64-efi platform.
Installation finished. No error reported.
df /dev/sda1
mv /mnt/boot-sav/sda5/boot/efi/EFI/Boot/bootx64.efi /mnt/boot-sav/sda5/boot/efi/EFI/Boot/bkpbootx64.efi
cp /mnt/boot-sav/sda5/boot/efi/efi/ubuntu/shimx64.efi /mnt/boot-sav/sda5/boot/efi/EFI/Boot/bootx64.efi
cp /mnt/boot-sav/sda5/boot/efi/efi/ubuntu/grubx64.efi /mnt/boot-sav/sda5/boot/efi/EFI/Boot/
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
Installing for x86_64-efi platform.
Installation finished. No error reported.
efibootmgr -v from chroot after grub install
BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0002,0000,0003
Boot0000* Windows Boot Manager HD(1,GPT,06c98ff2-594c-48c9-b191-017e0795cdca,0x800,0x82000)/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.}....................
Boot0002* ubuntu HD(1,GPT,06c98ff2-594c-48c9-b191-017e0795cdca,0x800,0x82000)/File(EFIubuntushimx64.efi)
Boot0003* UEFI: Generic Flash Disk 8.07, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(2,0)/HD(1,MBR,0x211df7,0x800,0x1d4b800)..BO
chroot /mnt/boot-sav/sda5 update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-81-generic
Found initrd image: /boot/initrd.img-5.4.0-81-generic
Found linux image: /boot/vmlinuz-5.4.0-80-generic
Found initrd image: /boot/initrd.img-5.4.0-80-generic
Found linux image: /boot/vmlinuz-5.4.0-77-generic
Found initrd image: /boot/initrd.img-5.4.0-77-generic
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings
Unhide GRUB boot menu in sda5/boot/grub/grub.cfg
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 20.04.2 LTS (fichier sda1/efi/ubuntu/shimx64.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\shimx64.efi
============================ Boot Info After Repair ============================
=> No boot loader is installed in the MBR of /dev/sda.
=> Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: Windows 8/10/11/2012: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/Boot/bkpbootx64.efi /efi/Boot/bootx64.efi
/efi/Boot/fbx64.efi /efi/Boot/grubx64.efi
/efi/Boot/mmx64.efi /efi/ubuntu/grubx64.efi
/efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi
/efi/ubuntu/grub.cfg /efi/Microsoft/Boot/bootmgfw.efi
/efi/Microsoft/Boot/bootmgr.efi
sda2: __________________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
sda3: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/10/11/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 10 or 11
Boot files: /Windows/System32/winload.exe
sda4: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/10/11/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 20.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sda6: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
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 20.04.2 LTS on sda5
OS#2: Windows 10 or 11 on sda3
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: UHD Graphics 620 from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04.3 LTS, focal, x86_64)
===================================== UEFI =====================================
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot enabled.
BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0002,0000,0003
Boot0000* Windows Boot Manager HD(1,GPT,06c98ff2-594c-48c9-b191-017e0795cdca,0x800,0x82000)/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.}....................
Boot0002* ubuntu HD(1,GPT,06c98ff2-594c-48c9-b191-017e0795cdca,0x800,0x82000)/File(\EFI\ubuntu\shimx64.efi)
Boot0003* UEFI: Generic Flash Disk 8.07, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(2,0)/HD(1,MBR,0x211df7,0x800,0x1d4b800)..BO
d91bd7045f56ef46e2d140afb64bb534 sda1/Boot/bkpbootx64.efi
d91bd7045f56ef46e2d140afb64bb534 sda1/Boot/bootx64.efi
1201bdff16733b9fa2b50ef1196ba472 sda1/Boot/fbx64.efi
fa1bf1a7f90a852abe0bdbd089b7f1b0 sda1/Boot/grubx64.efi
46aaba55d06e3810bb5c51e297e1c7ab sda1/Boot/mmx64.efi
fa1bf1a7f90a852abe0bdbd089b7f1b0 sda1/ubuntu/grubx64.efi
46aaba55d06e3810bb5c51e297e1c7ab sda1/ubuntu/mmx64.efi
d91bd7045f56ef46e2d140afb64bb534 sda1/ubuntu/shimx64.efi
88d8877ed3e6c65fe091f4fe40c8beff sda1/Microsoft/Boot/bootmgfw.efi
9804a5af3899975c598d2e323c04ed87 sda1/Microsoft/Boot/bootmgr.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, has-win, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda3 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda4 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda5 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
Partitions info (2/3): _________________________________________________________
sda1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda3 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot
sda4 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot
sda5 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda3 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda4 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda5 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 238.49 GiB, 256060514304 bytes, 500118192 sectors
Disk identifier: 1E0AB825-D55F-4FBD-ACD8-72CED587C110
Start End Sectors Size Type
sda1 2048 534527 532480 260M EFI System
sda2 534528 567295 32768 16M Microsoft reserved
sda3 567296 302715525 302148230 144.1G Microsoft basic data
sda4 498479104 500117503 1638400 800M Windows recovery environment
sda5 302716928 486135807 183418880 87.5G Linux filesystem
sda6 486135808 498479103 12343296 5.9G Linux swap
Partition table entries are not in disk order.
Disk sdb: 14.66 GiB, 15728640000 bytes, 30720000 sectors
Disk identifier: 0x00211df7
Boot Start End Sectors Size Id Type
sdb1 * 2048 30719999 30717952 14.7G c W95 FAT32 (LBA)
parted -lm (filtered): _________________________________________________________
sda:256GB:scsi:512:512:gpt:ATA Micron_1100_MTFD:;
1:1049kB:274MB:273MB:fat32:EFI system partition:boot, esp;
2:274MB:290MB:16.8MB::Microsoft reserved partition:msftres;
3:290MB:155GB:155GB:ntfs:Basic data partition:msftdata;
5:155GB:249GB:93.9GB:ext4::;
6:249GB:255GB:6320MB:linux-swap(v1)::swap;
4:255GB:256GB:839MB:ntfs:Basic data partition:hidden, diag;
sdb:15.7GB:scsi:512:512:msdos:Generic Flash Disk:;
1:1049kB:15.7GB:15.7GB:fat32::boot, lba;
Free space (filtered): _________________________________________________________
sda:244198MiB:scsi:512:512:gpt:ATA Micron_1100_MTFD:;
1:0.02MiB:1.00MiB:0.98MiB:free;
1:147810MiB:147811MiB:0.68MiB:free;
1:244198MiB:244198MiB:0.32MiB:free;
sdb:15000MiB:scsi:512:512:msdos:Generic Flash Disk:;
1:0.03MiB:1.00MiB:0.97MiB:free;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat 827D-6ADD 06c98ff2-594c-48c9-b191-017e0795cdca SYSTEM EFI system partition
├─sda2 1789e9b4-f956-4447-82bd-8102606df2ae Microsoft reserved partition
├─sda3 ntfs E662809A6280715B d0e85969-482b-44d4-a100-7ee5b9bc73bb OS Basic data partition
├─sda4 ntfs 68562C62562C32EC 4e182923-deb7-4137-939c-2fcc8e96d3f1 RECOVERY Basic data partition
├─sda5 ext4 fd83a7d4-eb1f-4d83-90f2-561c862279a1 863e5d05-fbb5-4aaa-ac35-20713b8aeda5
└─sda6 swap f6497460-0711-4134-a485-22201b70fd4a b70a329e-2fba-4d7a-9d8a-1790c6e10936
sdb
└─sdb1 vfat 5C32-125E 00211df7-01 UBUNTU 20_0
Mount points (filtered): _________________________________________________________________
Avail Use% Mounted on
/dev/sda1 222.7M 13% /mnt/boot-sav/sda1
/dev/sda3 6.3G 96% /mnt/boot-sav/sda3
/dev/sda4 349.2M 56% /mnt/boot-sav/sda4
/dev/sda5 6.4G 87% /mnt/boot-sav/sda5
/dev/sdb1 11.8G 20% /cdrom
Mount options (filtered): ________________________________________________________________
/dev/sda1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sda3 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda4 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda5 rw,relatime
/dev/sdb1 ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid fd83a7d4-eb1f-4d83-90f2-561c862279a1 root hd0,gpt5
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda5/boot/grub/grub.cfg (filtered) ======================
Ubuntu fd83a7d4-eb1f-4d83-90f2-561c862279a1
Ubuntu, with Linux 5.4.0-81-generic fd83a7d4-eb1f-4d83-90f2-561c862279a1
Ubuntu, with Linux 5.4.0-80-generic fd83a7d4-eb1f-4d83-90f2-561c862279a1
Ubuntu, with Linux 5.4.0-77-generic fd83a7d4-eb1f-4d83-90f2-561c862279a1
Windows Boot Manager (on sda1) osprober-efi-827D-6ADD
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
========================== sda5/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=fd83a7d4-eb1f-4d83-90f2-561c862279a1 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
/swapfile none swap sw 0 0
UUID=827D-6ADD /boot/efi vfat defaults 0 1
======================= sda5/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false
==================== sda5: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
144.346687317 = 154.991075328 boot/grub/grub.cfg 1
207.295143127 = 222.581465088 boot/vmlinuz 1
227.412326813 = 244.182126592 boot/vmlinuz-5.4.0-77-generic 2
229.615451813 = 246.547714048 boot/vmlinuz-5.4.0-80-generic 2
207.295143127 = 222.581465088 boot/vmlinuz-5.4.0-81-generic 1
229.615451813 = 246.547714048 boot/vmlinuz.old 2
171.353111267 = 183.989002240 boot/initrd.img 7
222.014286041 = 238.386024448 boot/initrd.img-5.4.0-77-generic 4
215.267181396 = 231.141376000 boot/initrd.img-5.4.0-80-generic 4
171.353111267 = 183.989002240 boot/initrd.img-5.4.0-81-generic 7
215.267181396 = 231.141376000 boot/initrd.img.old 4
===================== sda5: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 17622 Sep 8 2020 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 Nov 11 2019 30_os-prober
-rwxr-xr-x 1 root root 1424 Sep 8 2020 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Nov 11 2019 40_custom
-rwxr-xr-x 1 root root 216 Nov 11 2019 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
Comme demandé dans le premier message du tutoriel Retour utilisable de commande
Pour ajouter toi-même les balises code à ton précédent message #14 :
Cliquer sur le lien « Modifier » en bas à droite du message
Sélectionner le texte
Cliquer sur le <> de l'éditeur de message
Dernière modification par xubu1957 (Le 28/01/2022, à 16:27)
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
#18 Le 28/01/2022, à 17:20
- Kail
Re : [Résolu]Dual BOOT probleme = Failed to open \EFI\UBUNTU\grubx64.efi -
Bon les gars merci à tous mais finalement pas besoin de boot info
j'ai juste installé boot repair et lancé boot repair et ça a ré installé grub je crois
là je vous écris depuis linux
bon je dois bosser maintenant haha merci à tous bon courage
Hors ligne
#19 Le 29/01/2022, à 10:35
- geole
Re : [Résolu]Dual BOOT probleme = Failed to open \EFI\UBUNTU\grubx64.efi -
Bonjour
Mieux vaut tard que jamais
sda1: __________________________________________________________________________
File system: vfat
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/Microsoft/Boot/bootmgfw.efi
/efi/Microsoft/Boot/bootmgr.efi
.....
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
sda5,
using the following options: sda1/boot/efi
Surprenant tous les fichiers de boot sont présents y compris le fichier de configuration du grub. Il ne manque que grubx64.efi. Je m'attendais à plus de fichiers manquants.
La réparation recommandée était la bonne solution.
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