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 :

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 -
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 efibootmgr
efibootmgr:
  Installed: 0.12-4
  Candidate: 0.12-4
  Version table:
 *** 0.12-4 500
        500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status
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 »

alors maintenant tu vas me faire ceci, c'est toujours de la simulation.

Code : Tout sélectionner

sudo apt autoremove --purge -s grub-efi-amd64-signed
Et tu me donnes le retour.
_____________________________________________________________________________
- 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 autoremove --purge -s grub-efi-amd64-signed
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  grub-efi-amd64-signed*
0 upgraded, 0 newly installed, 1 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]
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 »

Question fatale.
Est-ce que tu te sens l'âme d'un cascadeur kamikaze ??
Si oui, on vire complètement le grub, et on le réinstalle nous même.
Et si ça foire, on se sert de boot-repair.
_____________________________________________________________________________
- 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 »

Kamakaze oui, mais plutôt gaffeur : je naviguait sur un autre onglet, et le pc s'est figé (obligé de le redémarrer)
Je peux refaire les mêmes manip pour me remettre en chroot ?
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 »

oui tu peux refaire les manipulations pour te mettre en chroot, j'espère que ça n'a pas dégradé les choses, parce qu'un reboot sauvage sans démonter les partitions, ça peut tuer Linux....
_____________________________________________________________________________
- Le silence aussi possède la violence des mots -
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 »

Code : Tout sélectionner

setxkbmap fr

sudo mkdir /media/system

sudo mount /dev/sda6 /media/system

sudo mount --bind /dev /media/system/dev

sudo mount -t proc /proc /media/system/proc

sudo mount --bind /run  /media/system/run

sudo mount -t sysfs /sys /media/system/sys

sudo cp /etc/resolv.conf /media/system/etc/resolv.conf

sudo chroot /media/system
Les manip pour revenir en chroot.
Appuie sur entrée entre chaque commande
_____________________________________________________________________________
- 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'est fait (j'ai juste changé sda en sdb car ils sont inversés maintenant)
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 »

Donc là on y va à la méthode brutale, on vire tous les paquets en rapport avec grub, et cette fois ce n'est pas de la simulation.

Code : Tout sélectionner

sudo apt autoremove --purge grub*
_____________________________________________________________________________
- 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'est fait.

Code : Tout sélectionner

root@mint / # sudo apt autoremove --purge 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.
After this operation, 41.0 MB disk space will be freed.
Do you want to continue? [Y/n] y
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
(Reading database ... 197942 files and directories currently installed.)
Removing grub-efi-amd64-signed (1.66.14+2.02~beta2-36ubuntu3.14+linuxmint1) ...
Removing grub-efi (2.02~beta2-36ubuntu3.14+linuxmint1) ...
Purging configuration files for grub-efi (2.02~beta2-36ubuntu3.14+linuxmint1) ...
Removing grub-efi-amd64 (2.02~beta2-36ubuntu3.14+linuxmint1) ...
Purging configuration files for grub-efi-amd64 (2.02~beta2-36ubuntu3.14+linuxmint1) ...
Removing grub-efi-amd64-bin (2.02~beta2-36ubuntu3.14+linuxmint1) ...
Removing grub2-common (2.02~beta2-36ubuntu3.14+linuxmint1) ...
Removing mint-meta-cinnamon (2017.09.19) ...
Removing mint-meta-core (2017.09.19) ...
Removing grub2-theme-mint (1.1.0) ...
Purging configuration files for grub2-theme-mint (1.1.0) ...
Removing lupin-support (0.57) ...
Removing 'diversion of /usr/sbin/grub-install to /usr/sbin/grub-install.real by lupin-support'
update-initramfs: deferring update (trigger activated)
Purging configuration files for lupin-support (0.57) ...
update-initramfs: deferring update (trigger activated)
Removing ubiquity (2.21.63+linuxmint8) ...
Running in chroot, ignoring request.
Running in chroot, ignoring request.
Purging configuration files for ubiquity (2.21.63+linuxmint8) ...
Running in chroot, ignoring request.
Running in chroot, ignoring request.
Running in chroot, ignoring request.
Running in chroot, ignoring request.
Running in chroot, ignoring request.
Running in chroot, ignoring request.
Removing os-prober (1.70ubuntu3.3) ...
Removing ubiquity-frontend-gtk (2.21.63+linuxmint8) ...
Purging configuration files for ubiquity-frontend-gtk (2.21.63+linuxmint8) ...
Removing grub-common (2.02~beta2-36ubuntu3.14+linuxmint1) ...
Running in chroot, ignoring request.
Running in chroot, ignoring request.
Running in chroot, ignoring request.
Running in chroot, ignoring request.
Running in chroot, ignoring request.
Purging configuration files for grub-common (2.02~beta2-36ubuntu3.14+linuxmint1) ...
Running in chroot, ignoring request.
Running in chroot, ignoring request.
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for install-info (6.1.0.dfsg.1-5) ...
Processing triggers for initramfs-tools (0.122ubuntu8.10) ...
update-initramfs: Generating /boot/initrd.img-4.10.0-38-generic
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22+linuxmint1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Répondre