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/
[résolu] Dualboot Linuxmint/Windows 10 sur pc portable HP avec UEFIDernier 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.Code : Tout sélectionner
sudo ls -la /boot/efi/EFI/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
Code : Tout sélectionner
sudo ls -la /boot/efi/EFI/ubuntu/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 ..
Code : Tout sélectionner
sudo apt install grub-efi grub-efi-amd64 grub-efi-amd64-bin secureboot-dbCode : 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)
Code : Tout sélectionner
sudo dpkg --configure grub-efi-amd64-signedCode : 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
Code : Tout sélectionner
sudo apt autoremove --purge -s grub*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]
Code : Tout sélectionner
apt policy efibootmgr