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)
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.
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.
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)
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)
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