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 :

ok donc on a bien notre entrée de windows boot manager, celle du live usb en uefi).
Donc on va tenter de réinstaller le grub.
tu vas faire cette commande (si elle passe pas on en tente une autre)

Code : Tout sélectionner

sudo apt install grub-pc grub-efi grub-efi-amd64 grub-efi-amd64-signed 
Tu me donnes le retour du terminal quand c'est fini.
_____________________________________________________________________________
- 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 »

Ça ne passe pas :

Code : Tout sélectionner

root@mint / # sudo apt install grub-pc grub-efi grub-efi-amd64 grub-efi-amd64-signed 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 grub-efi-amd64 : Conflicts: grub-pc
                  Conflicts: grub-pc:i386
 grub-pc : Conflicts: grub-efi-amd64
           Conflicts: grub-efi-amd64:i386
E: Unable to correct problems, you have held broken packages.
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 »

ouh ça ce n'est pas normal..
Que donne le retour de

Code : Tout sélectionner

apt policy grub-pc
_____________________________________________________________________________
- 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 / # apt policy grub-pc
grub-pc:
  Installed: (none)
  Candidate: 2.02~beta2-36ubuntu3.14+linuxmint1
  Version table:
     2.02~beta2-36ubuntu3.17 500
        500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
     2.02~beta2-36ubuntu3.14+linuxmint1 700
        700 http://packages.linuxmint.com sylvia/upstream amd64 Packages
     2.02~beta2-36ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
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 »

autant pour moi je viens de me rendre compte de mon erreur désolé (j'avais mis le paquet grub-pc, prise dans mon élan)
Donc tente avec cette commande cette fois, ça devrait le faire.

Code : Tout sélectionner

sudo apt install grub-efi grub-efi-amd64 grub-efi-amd64-signed 
_____________________________________________________________________________
- 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'ai une autre erreur :

Code : Tout sélectionner

root@mint / # sudo apt install grub-efi grub-efi-amd64 grub-efi-amd64-signed 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  grub-efi-amd64-bin
Recommended packages:
  secureboot-db
The following NEW packages will be installed:
  grub-efi grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,026 kB of archives.
After this operation, 6,556 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://packages.linuxmint.com sylvia/upstream amd64 grub-efi-amd64-bin amd64 2.02~beta2-36ubuntu3.14+linuxmint1 [661 kB]
Get:2 http://packages.linuxmint.com sylvia/upstream amd64 grub-efi-amd64 amd64 2.02~beta2-36ubuntu3.14+linuxmint1 [66.3 kB]
Get:3 http://packages.linuxmint.com sylvia/upstream amd64 grub-efi amd64 2.02~beta2-36ubuntu3.14+linuxmint1 [2,532 B]
Get:4 http://packages.linuxmint.com sylvia/upstream amd64 grub-efi-amd64-signed amd64 1.66.14+2.02~beta2-36ubuntu3.14+linuxmint1 [296 kB]
Fetched 1,026 kB in 1s (926 kB/s)          
Preconfiguring packages ...
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
Selecting previously unselected package grub-efi-amd64-bin.
(Reading database ... 197651 files and directories currently installed.)
Preparing to unpack .../grub-efi-amd64-bin_2.02~beta2-36ubuntu3.14+linuxmint1_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.02~beta2-36ubuntu3.14+linuxmint1) ...
Selecting previously unselected package grub-efi-amd64.
Preparing to unpack .../grub-efi-amd64_2.02~beta2-36ubuntu3.14+linuxmint1_amd64.deb ...
Unpacking grub-efi-amd64 (2.02~beta2-36ubuntu3.14+linuxmint1) ...
Selecting previously unselected package grub-efi.
Preparing to unpack .../grub-efi_2.02~beta2-36ubuntu3.14+linuxmint1_amd64.deb ...
Unpacking grub-efi (2.02~beta2-36ubuntu3.14+linuxmint1) ...
Selecting previously unselected package grub-efi-amd64-signed.
Preparing to unpack .../grub-efi-amd64-signed_1.66.14+2.02~beta2-36ubuntu3.14+linuxmint1_amd64.deb ...
Unpacking grub-efi-amd64-signed (1.66.14+2.02~beta2-36ubuntu3.14+linuxmint1) ...
Setting up grub-efi-amd64-bin (2.02~beta2-36ubuntu3.14+linuxmint1) ...
Setting up grub-efi-amd64 (2.02~beta2-36ubuntu3.14+linuxmint1) ...

Creating config file /etc/default/grub with new version
Installing for x86_64-efi platform.
grub-install.real: error: cannot find EFI directory.
Failed: grub-install --target=x86_64-efi  
WARNING: Bootloader is not properly installed, system may not be bootable
Setting up grub-efi (2.02~beta2-36ubuntu3.14+linuxmint1) ...
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 »

on retente avec cette commande alors

Code : Tout sélectionner

sudo apt install grub-efi grub-efi-amd64 grub-efi-amd64-signed grub-efi-amd64-bin secureboot-db
dis moi ce que ça fait ?!!
_____________________________________________________________________________
- 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 »

A priori, erreur similaire :

Code : Tout sélectionner

root@mint / # sudo apt install grub-efi grub-efi-amd64 grub-efi-amd64-signed 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).
grub-efi-amd64-bin set to manually installed.
grub-efi-amd64-signed is already the newest version (1.66.14+2.02~beta2-36ubuntu3.14+linuxmint1).
The following NEW packages will be installed:
  secureboot-db
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 2,740 B of archives.
After this operation, 44.0 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 secureboot-db amd64 1.1 [2,740 B]
Fetched 2,740 B in 0s (40.1 kB/s)         
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
Selecting previously unselected package secureboot-db.
(Reading database ... 197935 files and directories currently installed.)
Preparing to unpack .../secureboot-db_1.1_amd64.deb ...
Unpacking secureboot-db (1.1) ...
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
Setting up secureboot-db (1.1) ...
Can't access efivars filesystem at /sys/firmware/efi/efivars, aborting
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 permet justement au grub de pouvoir booter sur un linux efi, et il est signé en accord avec microsoft, donc bizarre qu'il passe pas sur ton pc.

donne moi le retour du terminal pour cette commande

Code : Tout sélectionner

apt policy grub-efi-amd64-signed
_____________________________________________________________________________
- 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

grub-efi-amd64-signed:
  Installed: 1.66.14+2.02~beta2-36ubuntu3.14+linuxmint1
  Candidate: 1.66.14+2.02~beta2-36ubuntu3.14+linuxmint1
  Version table:
     1.66.17+2.02~beta2-36ubuntu3.17 500
        500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
 *** 1.66.14+2.02~beta2-36ubuntu3.14+linuxmint1 700
        700 http://packages.linuxmint.com sylvia/upstream amd64 Packages
        100 /var/lib/dpkg/status
     1.66+2.02~beta2-36ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
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 »

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 -
Répondre