#26 Le 20/04/2016, à 13:27
- serviteur
Re : Comment installer/reinstaller le Grub en EFI en dual boot avec Win10
J'ai essayé a nouveau d'utiliser bootrepair qui est sur le live de Cubuntu, et l'installation s'est terminée, sans erreur.
Message partielle du bootrepair: Le démarrage de l'ordinateur a été correctement réparé.
http://paste.ubuntu.com/15944569/
L'ordinateur redémarre directement sur Windows 10, j'ai essayé sous Windows, en tapant la commande suivante dans une invite de commande en mode administrateur :
bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi
, mais l'ordinateur redémarre toujours directement sur Windows 10.
J'ai essayé aussi la procédure pour démarrer Ubuntu à partir de windows 10 sur ce lien: https://forum.ubuntu-fr.org/viewtopic.p … #p20542461
en Sélectionner utiliser un périphérique
== Faire le choix , je n'ai pas UBUNTU mais seulement:
-Notebook Upgrade Bay
-Notebook Hard Drive
Ces deux choix ne redémarrent que l'ordinateur.
La seule option (LONGUE) pour démarrer Ubuntu, c'est quand je choisis dans le Bios la fonctionnalité: Boot From EFI File
ensuite
/EFI/ubuntu/grubx64.efi
" Le disciple (serviteur) n'est pas plus que le maître; mais tout disciple accompli sera comme son maître." Luc 6:40; Jean. 13:16
HP EliteBook Workstation Intel i7 2760QM, 16GB RAM, Nvidia Quadro 4000M
HP Z8 G4 2X: Intel Xeon Silver 4108 CPU, 32 GB RAM, Nvidia Geforce RTX 2070 Super
Hors ligne
#27 Le 20/04/2016, à 16:44
- Bougron
Re : Comment installer/reinstaller le Grub en EFI en dual boot avec Win10
Bonjour.
Il y a un certain nombre de choses qui echappe à nos prévisions par exemple le second boot-repair qui fonctionne alors que le premier a foiré.
Il y a donc une chose non identifiée qui a changé dans l'intervalle.
Je dirais que l'installation EFI est correcte.
chroot /target efibootmgr -v
BootCurrent: 0000
Timeout: 10 seconds
BootOrder: 0008,0000,0001
Boot0000* Notebook Upgrade Bay BIOS(3,0,01).......................................................................
Boot0001* Notebook Hard Drive BIOS(2,0,01).......................................................................
Boot0002* Notebook Hard Drive BIOS(2,0,01).......................................................................
Boot0003* Notebook Hard Drive BIOS(2,0,01).......................................................................
Boot0004* Windows Boot Manager HD(1,800,32000,7483a1a8-8089-4c36-be48-50c098ff358d)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.}...a................
Boot0005* Windows Boot Manager HD(1,800,32000,7483a1a8-8089-4c36-be48-50c098ff358d)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.}...a................
Boot0006* Windows Boot Manager HD(1,800,32000,7483a1a8-8089-4c36-be48-50c098ff358d)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.}...a................
Boot0007* Windows Boot Manager HD(1,800,32000,7483a1a8-8089-4c36-be48-50c098ff358d)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.}...a................
Boot0008* ubuntu HD(1,800,32000,7483a1a8-8089-4c36-be48-50c098ff358d)File(EFIubuntushimx64.efi)
Il devrait booter avec le shimx64 de ubuntu, mais comme ce n'est pas le cas et qu'il sait booter avec le grub, et que ce cas a déjà été rencontré, on va faire avec.
Au prochain boot de ubuntu, tu diras au bios de booter avec le grubx64 par la commande.
sudo efibootmgr -c -d /dev/sda -p 1 -L "Avec GRUB" -l "\efi\ubuntu\grubx64.efi"
Tu vérifies que c'est bien mis prioritaire par la commande
sudo efibootmgr -v
Dernière modification par Bougron (Le 20/04/2016, à 16:46)
Hors ligne
#28 Le 22/04/2016, à 16:46
- serviteur
Re : Comment installer/reinstaller le Grub en EFI en dual boot avec Win10
Salut,
la commande :
sudo efibootmgr -c -d /dev/sda -p 1 -L "Avec GRUB" -l "\efi\ubuntu\grubx64.efi"
/home/creation>sudo efibootmgr -c -d /dev/sda -p 1 -L "Avec GRUB" -l "\efi\ubuntu\grubx64.efi"
[sudo] password for creation:
BootNext: 0000
BootCurrent: 0000
Timeout: 10 seconds
BootOrder: 0009,0000,0001
Boot0000* Notebook Upgrade Bay
Boot0001* Notebook Hard Drive
Boot0002* Notebook Hard Drive
Boot0003* Notebook Hard Drive
Boot0004* Windows Boot Manager
Boot0005* Windows Boot Manager
Boot0006* Windows Boot Manager
Boot0007* Windows Boot Manager
Boot0008* ubuntu
Boot0009* Avec GRUB
/home/creation>
la commande:
sudo efibootmgr -v
/home/creation>sudo efibootmgr -v
BootNext: 0000
BootCurrent: 0000
Timeout: 10 seconds
BootOrder: 0009,0000,0001
Boot0000* Notebook Upgrade Bay BIOS(3,0,01).......................................................................
Boot0001* Notebook Hard Drive BIOS(2,0,01).......................................................................
Boot0002* Notebook Hard Drive BIOS(2,0,01).......................................................................
Boot0003* Notebook Hard Drive BIOS(2,0,01).......................................................................
Boot0004* Windows Boot Manager HD(1,800,32000,7483a1a8-8089-4c36-be48-50c098ff358d)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.}...a................
Boot0005* Windows Boot Manager HD(1,800,32000,7483a1a8-8089-4c36-be48-50c098ff358d)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.}...a................
Boot0006* Windows Boot Manager HD(1,800,32000,7483a1a8-8089-4c36-be48-50c098ff358d)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.}...a................
Boot0007* Windows Boot Manager HD(1,800,32000,7483a1a8-8089-4c36-be48-50c098ff358d)File(\EFI\ubuntu\shimx64.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.}...a................
Boot0008* ubuntu HD(1,800,32000,7483a1a8-8089-4c36-be48-50c098ff358d)File(\EFI\ubuntu\shimx64.efi)
Boot0009* Avec GRUB HD(1,800,32000,7483a1a8-8089-4c36-be48-50c098ff358d)File(\efi\ubuntu\grubx64.efi)
/home/creation
L'ordinateur redémarre toujours directement sur Windows 10.
Cubuntu demarre en bootant sur ces deux fichiers
/EFI/ubuntu/shimx64.efi
/EFI/ubuntu/grubx64.efi
Dernière modification par serviteur (Le 22/04/2016, à 16:55)
" Le disciple (serviteur) n'est pas plus que le maître; mais tout disciple accompli sera comme son maître." Luc 6:40; Jean. 13:16
HP EliteBook Workstation Intel i7 2760QM, 16GB RAM, Nvidia Quadro 4000M
HP Z8 G4 2X: Intel Xeon Silver 4108 CPU, 32 GB RAM, Nvidia Geforce RTX 2070 Super
Hors ligne
#29 Le 22/04/2016, à 18:10
- Bougron
Re : Comment installer/reinstaller le Grub en EFI en dual boot avec Win10
Bonjour.
Manifestement le bios se moque des consignes.
Peux-tu refaire par windows avec un autre fichier.
bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi
Si c'est pareil, j'ai encore une autre possibilité.
Mais je vois qu'elle a été partiellement faite avec certainement le fichier shimx64.efi .
/EFI/Boot/bkpbootx64.efi /EFI/Boot/bootx64.efi
Il faudrait la refaire avec le fichier bootx64.efi
Lorsque tu seras de nouveau sous ubuntu
sudo cp /boot/efi/EFI/Boot/bootx64.efi /boot/efi/EFI/Boot/OLDbootx64.efi
sudo cp /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/EFI/Boot/bootx64.efi
Dernière modification par Bougron (Le 22/04/2016, à 18:20)
Hors ligne
#30 Le 22/04/2016, à 22:49
- serviteur
Re : Comment installer/reinstaller le Grub en EFI en dual boot avec Win10
c'est pareil en tapant la commande suivante dans une invite de commande en mode administrateur :
bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi
, l'ordinateur redémarre toujours directement sur Windows 10.
Dans mon poste #26, j’avais déja essaye cette commande sans succès: bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi
Les commandes:
/home/creation>sudo cp /boot/efi/EFI/Boot/bootx64.efi /boot/efi/EFI/Boot/OLDbootx64.efi
[sudo] password for creation:
/home/creation>sudo cp /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/EFI/Boot/bootx64.efi
/home/creation>
L'ordinateur redémarre directement sur Windows 10.
Dernière modification par serviteur (Le 22/04/2016, à 22:55)
" Le disciple (serviteur) n'est pas plus que le maître; mais tout disciple accompli sera comme son maître." Luc 6:40; Jean. 13:16
HP EliteBook Workstation Intel i7 2760QM, 16GB RAM, Nvidia Quadro 4000M
HP Z8 G4 2X: Intel Xeon Silver 4108 CPU, 32 GB RAM, Nvidia Geforce RTX 2070 Super
Hors ligne
#31 Le 23/04/2016, à 00:28
- Bougron
Re : Comment installer/reinstaller le Grub en EFI en dual boot avec Win10
Bonsoir
Il faut que je résume,
Si je me souviens bien, pour lancer ubuntu tu as actuellement une seule solution qui est de choisir avec le bios le fichier de boot.
Je pense que tu entres dans le bios avec un appui sur la touche F12.
Je n'ai pas d'autres solutions à te proposer.
Dernière modification par Bougron (Le 23/04/2016, à 00:28)
Hors ligne