Résolu le 20-12-18 [résolu] Dualboot Linuxmint/Windows 10 sur pc portable HP avec UEFI

Répondre
Avatar du membre
victoria
Messages : 1045
Enregistré le : dim. 21 janv. 2018 20:10

Re: Dualboot Linuxmint/Windows 10 sur pc portable HP avec UEFI

Message par victoria »

Dernier message de la page précédente :

Pourtant il est installé déjà, mais on ne peut pas le réinstaller, probablement la cause de tes soucis.

Que donne le retour de cette commande

Code : Tout sélectionner

sudo ls -la /boot/efi/EFI/
_____________________________________________________________________________
- Le silence aussi possède la violence des mots -
Fred53
Messages : 61
Enregistré le : mer. 28 févr. 2018 15:26

Re: Dualboot Linuxmint/Windows 10 sur pc portable HP avec UEFI

Message par Fred53 »

Code : Tout sélectionner

root@mint / # sudo ls -la /boot/efi/EFI/
total 12
drwxr-xr-x 3 root root 4096 Mar  1 21:25 .
drwxr-xr-x 3 root root 4096 Mar  1 21:25 ..
drwxr-xr-x 3 root root 4096 Mar  1 21:25 ubuntu
Avatar du membre
victoria
Messages : 1045
Enregistré le : dim. 21 janv. 2018 20:10

Re: Dualboot Linuxmint/Windows 10 sur pc portable HP avec UEFI

Message par victoria »

ok maintenant que donne

Code : Tout sélectionner

sudo ls -la /boot/efi/EFI/ubuntu/
_____________________________________________________________________________
- Le silence aussi possède la violence des mots -
Fred53
Messages : 61
Enregistré le : mer. 28 févr. 2018 15:26

Re: Dualboot Linuxmint/Windows 10 sur pc portable HP avec UEFI

Message par Fred53 »

J'anticipe ta prochaine question :

Code : Tout sélectionner

root@mint / # sudo ls -la /boot/efi/EFI/ubuntu
total 12
drwxr-xr-x 3 root root 4096 Mar  1 21:25 .
drwxr-xr-x 3 root root 4096 Mar  1 21:25 ..
drwxr-xr-x 2 root root 4096 Mar  1 21:25 fw
root@mint / # sudo ls -la /boot/efi/EFI/ubuntu/fw/
total 8
drwxr-xr-x 2 root root 4096 Mar  1 21:25 .
drwxr-xr-x 3 root root 4096 Mar  1 21:25 ..
Avatar du membre
victoria
Messages : 1045
Enregistré le : dim. 21 janv. 2018 20:10

Re: Dualboot Linuxmint/Windows 10 sur pc portable HP avec UEFI

Message par victoria »

Bien joué pour l'anticipation :D
tout m'a l'air en ordre, alors tu vas maintenant me faire ça, on va oublier le paquet grub-efi-amd64-signed qui nous emm*****

Code : Tout sélectionner

sudo apt install grub-efi grub-efi-amd64 grub-efi-amd64-bin secureboot-db
Et ensuite on tentera une simulation pour virer un paquet voir ce que ça donne.
Et si rien ne va, vu que t'es sur ta live usb de mint, on pourra utiliser boot-repair (même si je n'apprécie pas ce logiciel)
_____________________________________________________________________________
- Le silence aussi possède la violence des mots -
Fred53
Messages : 61
Enregistré le : mer. 28 févr. 2018 15:26

Re: Dualboot Linuxmint/Windows 10 sur pc portable HP avec UEFI

Message par Fred53 »

Code : Tout sélectionner

root@mint / # sudo apt install grub-efi grub-efi-amd64 grub-efi-amd64-bin secureboot-db
Reading package lists... Done
Building dependency tree       
Reading state information... Done
grub-efi is already the newest version (2.02~beta2-36ubuntu3.14+linuxmint1).
grub-efi-amd64 is already the newest version (2.02~beta2-36ubuntu3.14+linuxmint1).
grub-efi-amd64-bin is already the newest version (2.02~beta2-36ubuntu3.14+linuxmint1).
secureboot-db is already the newest version (1.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
Setting up grub-efi-amd64-signed (1.66.14+2.02~beta2-36ubuntu3.14+linuxmint1) ...
Installing for x86_64-efi platform.
grub-install.real: error: cannot find EFI directory.
dpkg: error processing package grub-efi-amd64-signed (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 grub-efi-amd64-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)
Avatar du membre
victoria
Messages : 1045
Enregistré le : dim. 21 janv. 2018 20:10

Re: Dualboot Linuxmint/Windows 10 sur pc portable HP avec UEFI

Message par victoria »

le paquet grub-efi-amd64-signed est cassé à mon avis, donc on va tenter un truc, pas sur que la commande passe (à mon avis il y aura une erreur)

Code : Tout sélectionner

sudo dpkg --configure grub-efi-amd64-signed
Donne moi bien le retour du terminal en cas d'erreur.
_____________________________________________________________________________
- Le silence aussi possède la violence des mots -
Fred53
Messages : 61
Enregistré le : mer. 28 févr. 2018 15:26

Re: Dualboot Linuxmint/Windows 10 sur pc portable HP avec UEFI

Message par Fred53 »

Code : Tout sélectionner

root@mint / # sudo dpkg --configure grub-efi-amd64-signed
Setting up grub-efi-amd64-signed (1.66.14+2.02~beta2-36ubuntu3.14+linuxmint1) ...
Installing for x86_64-efi platform.
grub-install.real: error: cannot find EFI directory.
dpkg: error processing package grub-efi-amd64-signed (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 grub-efi-amd64-signed
Avatar du membre
victoria
Messages : 1045
Enregistré le : dim. 21 janv. 2018 20:10

Re: Dualboot Linuxmint/Windows 10 sur pc portable HP avec UEFI

Message par victoria »

il est coriace celui-là, alors on va tenter quelque chose.
Là on fait de la simulation, donc copie colle bien mes commandes, sinon ça va virer à la catastrophe....

Tu me donnes le retour de cette commande

Code : Tout sélectionner

sudo apt autoremove --purge -s grub*
Le retour du terminal va être un peu long, c'est normal.
_____________________________________________________________________________
- Le silence aussi possède la violence des mots -
Fred53
Messages : 61
Enregistré le : mer. 28 févr. 2018 15:26

Re: Dualboot Linuxmint/Windows 10 sur pc portable HP avec UEFI

Message par Fred53 »

C'était rapide :

Code : Tout sélectionner

root@mint / # sudo apt autoremove --purge -s grub*
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'grub-legacy' for glob 'grub*'
Note, selecting 'grub-doc' for glob 'grub*'
Note, selecting 'grub-ipxe' for glob 'grub*'
Note, selecting 'grub-efi' for glob 'grub*'
Note, selecting 'grub-emu' for glob 'grub*'
Note, selecting 'grub-coreboot' for glob 'grub*'
Note, selecting 'grub-linuxbios' for glob 'grub*'
Note, selecting 'grub-common' for glob 'grub*'
Note, selecting 'grub-invaders' for glob 'grub*'
Note, selecting 'grub-coreboot-bin' for glob 'grub*'
Note, selecting 'grub-ieee1275-bin' for glob 'grub*'
Note, selecting 'grub-coreboot-dbg' for glob 'grub*'
Note, selecting 'grub-xen-bin' for glob 'grub*'
Note, selecting 'grub-ieee1275-dbg' for glob 'grub*'
Note, selecting 'grub-xen-dbg' for glob 'grub*'
Note, selecting 'grub2-common' for glob 'grub*'
Note, selecting 'grub-disk' for glob 'grub*'
Note, selecting 'grub-legacy-doc' for glob 'grub*'
Note, selecting 'grub-legacy-ec2' for glob 'grub*'
Note, selecting 'grub-splashimages' for glob 'grub*'
Note, selecting 'grub-yeeloong' for glob 'grub*'
Note, selecting 'grub-pc' for glob 'grub*'
Note, selecting 'grub-imageboot' for glob 'grub*'
Note, selecting 'grub-xen' for glob 'grub*'
Note, selecting 'grub-pc-bin' for glob 'grub*'
Note, selecting 'grub-pc-dbg' for glob 'grub*'
Note, selecting 'grub-efi-amd64-bin' for glob 'grub*'
Note, selecting 'grub-gfxpayload-lists' for glob 'grub*'
Note, selecting 'grub-efi-amd64-dbg' for glob 'grub*'
Note, selecting 'grub2-themes-ubuntu-mate' for glob 'grub*'
Note, selecting 'grub-rescue-pc' for glob 'grub*'
Note, selecting 'grub2-theme-mint' for glob 'grub*'
Note, selecting 'grub-ieee1275' for glob 'grub*'
Note, selecting 'grub' for glob 'grub*'
Note, selecting 'grub2' for glob 'grub*'
Note, selecting 'grub-efi-amd64' for glob 'grub*'
Note, selecting 'grub-efi-ia32' for glob 'grub*'
Note, selecting 'grub-efi-ia64' for glob 'grub*'
Note, selecting 'grub-efi-amd64-signed' for glob 'grub*'
Note, selecting 'grub-efi-ia32-bin' for glob 'grub*'
Note, selecting 'grub2-splashimages' for glob 'grub*'
Note, selecting 'grub-efi-ia32-dbg' for glob 'grub*'
Note, selecting 'grub-emu-dbg' for glob 'grub*'
Note, selecting 'grub-xen-host' for glob 'grub*'
Note, selecting 'grub-theme-starfield' for glob 'grub*'
Note, selecting 'grub-firmware-qemu' for glob 'grub*'
Package 'grub-efi-ia64' is not installed, so not removed
Package 'grub-yeeloong' is not installed, so not removed
Package 'grub-legacy' is not installed, so not removed
Package 'grub' is not installed, so not removed
Package 'grub-doc' is not installed, so not removed
Package 'grub-gfxpayload-lists' is not installed, so not removed
Package 'grub-legacy-doc' is not installed, so not removed
Package 'grub-disk' is not installed, so not removed
Package 'grub-imageboot' is not installed, so not removed
Package 'grub-invaders' is not installed, so not removed
Package 'grub-splashimages' is not installed, so not removed
Package 'grub2-splashimages' is not installed, so not removed
Package 'grub2-themes-ubuntu-mate' is not installed, so not removed
Package 'grub-efi-amd64-dbg' is not installed, so not removed
Package 'grub-efi-ia32' is not installed, so not removed
Package 'grub-efi-ia32-bin' is not installed, so not removed
Package 'grub-efi-ia32-dbg' is not installed, so not removed
Package 'grub-ieee1275' is not installed, so not removed
Package 'grub-ieee1275-bin' is not installed, so not removed
Package 'grub-ieee1275-dbg' is not installed, so not removed
Package 'grub-ipxe' is not installed, so not removed
Package 'grub-legacy-ec2' is not installed, so not removed
Package 'grub-pc' is not installed, so not removed
Package 'grub-pc-bin' is not installed, so not removed
Package 'grub-pc-dbg' is not installed, so not removed
Package 'grub-xen' is not installed, so not removed
Package 'grub-xen-bin' is not installed, so not removed
Package 'grub-xen-dbg' is not installed, so not removed
Package 'grub-coreboot' is not installed, so not removed
Package 'grub-coreboot-bin' is not installed, so not removed
Package 'grub-coreboot-dbg' is not installed, so not removed
Package 'grub-emu' is not installed, so not removed
Package 'grub-emu-dbg' is not installed, so not removed
Package 'grub-firmware-qemu' is not installed, so not removed
Package 'grub-linuxbios' is not installed, so not removed
Package 'grub-rescue-pc' is not installed, so not removed
Package 'grub-theme-starfield' is not installed, so not removed
Package 'grub-xen-host' is not installed, so not removed
Package 'grub2' is not installed, so not removed
The following packages will be REMOVED:
  grub-common* grub-efi* grub-efi-amd64* grub-efi-amd64-bin* grub-efi-amd64-signed* grub2-common* grub2-theme-mint* lupin-support* mint-meta-cinnamon* mint-meta-core*
  os-prober* ubiquity* ubiquity-frontend-gtk*
0 upgraded, 0 newly installed, 13 to remove and 0 not upgraded.
1 not fully installed or removed.
Purg grub-efi-amd64-signed [1.66.14+2.02~beta2-36ubuntu3.14+linuxmint1]
Purg grub-efi [2.02~beta2-36ubuntu3.14+linuxmint1]
Purg ubiquity-frontend-gtk [2.21.63+linuxmint8] [ubiquity:amd64 ]
Purg ubiquity [2.21.63+linuxmint8]
Purg grub-common [2.02~beta2-36ubuntu3.14+linuxmint1] [os-prober:amd64 grub2-common:amd64 grub-efi-amd64-bin:amd64 grub-efi-amd64:amd64 lupin-support:amd64 ]
Purg grub-efi-amd64 [2.02~beta2-36ubuntu3.14+linuxmint1] [os-prober:amd64 grub2-common:amd64 grub-efi-amd64-bin:amd64 lupin-support:amd64 ]
Purg grub-efi-amd64-bin [2.02~beta2-36ubuntu3.14+linuxmint1] [os-prober:amd64 grub2-common:amd64 lupin-support:amd64 ]
Purg grub2-common [2.02~beta2-36ubuntu3.14+linuxmint1] [os-prober:amd64 lupin-support:amd64 ]
Purg mint-meta-cinnamon [2017.09.19] [os-prober:amd64 lupin-support:amd64 ]
Purg mint-meta-core [2017.09.19] [os-prober:amd64 lupin-support:amd64 ]
Purg grub2-theme-mint [1.1.0] [os-prober:amd64 lupin-support:amd64 ]
Purg lupin-support [0.57] [os-prober:amd64 ]
Purg os-prober [1.70ubuntu3.3]
Avatar du membre
victoria
Messages : 1045
Enregistré le : dim. 21 janv. 2018 20:10

Re: Dualboot Linuxmint/Windows 10 sur pc portable HP avec UEFI

Message par victoria »

je voulais dire long en longueur :D
Tiens donc, première chose anormale dans ton retour, on y arrive ça y est, je commence à comprendre ce qui cloche je crois bien.
Que donne le retour de

Code : Tout sélectionner

apt policy efibootmgr
Je ne sais plus si je t'ai demandé, mais par sécurité on va refaire.
_____________________________________________________________________________
- Le silence aussi possède la violence des mots -
Répondre