Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 21/11/2017, à 17:24

??

Le grub ne sait plus détecter la présence de windows

Bonjour
Une nouveauté.   Il y a plus d'un mois que je n'avais pas fait ce style de recherche.
Il me semble que le grub m'a taclé pour avoir osé utiliser refind ou sg2d.
A ce jour, je ne détecte plus la présence de windows10!
1)

sudo os-prober
/dev/sda23:Ubuntu 16.04.3 LTS (16.04):Ubuntu:linux
/dev/sda26:Ubuntu 17.10 (17.10):Ubuntu1:linux
/dev/sda28:Ubuntu 17.04 (17.04):Ubuntu2:linux
/dev/sda9:Ubuntu 16.04 LTS (16.04):Ubuntu3:linux
u16041@u16041:~$ 

2)

cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"
u16041@u16041:~$

3)

 sudo fdisk -l | grep EFI
/dev/sda2        923648    1128447    204800  100M EFI System
u16041@u16041:~$

4)

sudo mount | grep sda2
/dev/sda29 on /LUBUNTU type ext4 (rw,relatime,data=ordered)
/dev/sda25 on /home type fuseblk (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda2 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
u16041@u16041:~$ 

5)

ls -ls /boot/efi/EFI/microsoft/boot/boot*
 1222 -rwxr-xr-x 1 root root  1250656 nov.   4 10:57 /boot/efi/EFI/microsoft/boot/bootmgfw.efi
 1206 -rwxr-xr-x 1 root root  1234768 nov.   4 10:57 /boot/efi/EFI/microsoft/boot/bootmgr.efi
  160 -rwxr-xr-x 1 root root   163664 juin  25 09:56 /boot/efi/EFI/microsoft/boot/bootspaces.dll
    5 -rwxr-xr-x 1 root root     4669 nov.   4 10:57 /boot/efi/EFI/microsoft/boot/boot.stl
14635 -rwxr-xr-x 1 root root 14986240 nov.  13 00:01 /boot/efi/EFI/microsoft/boot/bootx64.efi

6)

ls -ls /boot/efi/EFI/microsoft/boot/BC*
144 -rwxr-xr-x 1 root root 147456 nov.  19 14:43 /boot/efi/EFI/microsoft/boot/BCD
256 -rwxr-xr-x 1 root root 262144 oct.  22  2016 /boot/efi/EFI/microsoft/boot/BCD.LOG
  0 -rwxr-xr-x 1 root root      0 oct.  22  2016 /boot/efi/EFI/microsoft/boot/BCD.LOG1
  0 -rwxr-xr-x 1 root root      0 oct.  22  2016 /boot/efi/EFI/microsoft/boot/BCD.LOG2
144 -rwxr-xr-x 1 root root 147456 nov.  13 03:13 /boot/efi/EFI/microsoft/boot/BCD.SAVE

7)

dpkg -l | grep -Ei "linux-(g|h|i|lo|si|t)" |sort -k3
ii  linux-tools-joule                             4.4.0.1003.5                                 amd64        Linux kernel tools for Intel Joule
ii  linux-tools-4.4.0-1003-joule                  4.4.0-1003.8                                 amd64        Linux kernel version specific tools for version 4.4.0-1003
ii  linux-generic                                 4.4.0.101.106                                amd64        Complete Generic Linux kernel and headers
ii  linux-signed-generic                          4.4.0.101.106                                amd64        Complete Signed Generic Linux kernel and headers
ii  linux-headers-generic                         4.4.0.101.106                                amd64        Generic Linux kernel headers
ii  linux-image-generic                           4.4.0.101.106                                amd64        Generic Linux kernel image
ii  linux-signed-image-generic                    4.4.0.101.106                                amd64        Signed Generic Linux kernel image
ii  linux-headers-4.4.0-101                       4.4.0-101.124                                all          Header files related to Linux kernel version 4.4.0
ii  linux-tools-common                            4.4.0-101.124                                all          Linux kernel version specific tools for version 4.4.0
ii  linux-image-extra-4.4.0-101-generic           4.4.0-101.124                                amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-101-generic               4.4.0-101.124                                amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-101-generic                 4.4.0-101.124                                amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-signed-image-4.4.0-101-generic          4.4.0-101.124                                amd64        Signed kernel image generic
pc  linux-image-4.4.0-83-generic                  4.4.0-83.106                                 amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-89                        4.4.0-89.112                                 all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-89-generic                4.4.0-89.112                                 amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-89-generic                  4.4.0-89.112                                 amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-98                        4.4.0-98.121                                 all          Header files related to Linux kernel version 4.4.0
ii  linux-image-extra-4.4.0-98-generic            4.4.0-98.121                                 amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-headers-4.4.0-98-generic                4.4.0-98.121                                 amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-98-generic                  4.4.0-98.121                                 amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-signed-image-4.4.0-98-generic           4.4.0-98.121                                 amd64        Signed kernel image generic
u16041@u16041:~$ 

Je ne me souviens pas lui avoir dit de ne pas détecter windows.

Cependant, il est possible que ce logiciel pense que  si la partition  a pas mal de données, elle ne peut pas avoir la structure de boot de windows....

Dernière modification par ?? (Le 21/11/2017, à 19:02)


Utiliser REFIND au lieu du GRUB https://doc.ubuntu-fr.org/refind . Aidez à vous faire dépanner en suivant le guide et en utilisant les outils de diagnostic J'ai perdu ma gomme. Désolé pour les fautes d'orthographes non corrigées.

Hors ligne

#2 Le 25/11/2017, à 17:33

??

Re : Le grub ne sait plus détecter la présence de windows

Bonjour
Une évolution avec un autre OS.

u1710@u:~$ sudo os-prober
  WARNING: Device for PV kUOdOx-0S4G-IYB7-nnJK-HSg8-ePqu-XBGosW not found or rejected by a filter.
/dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
/dev/sda23:Ubuntu 16.04.3 LTS (16.04):Ubuntu:linux
/dev/sda28:Ubuntu 17.04 (17.04):Ubuntu1:linux
/dev/sda7:Ubuntu 16.04.3 LTS (16.04):Ubuntu2:linux
/dev/sda9:Ubuntu 16.04 LTS (16.04):Ubuntu3:linux
  WARNING: Device for PV kUOdOx-0S4G-IYB7-nnJK-HSg8-ePqu-XBGosW not found or rejected by a filter.
  WARNING: Device for PV kUOdOx-0S4G-IYB7-nnJK-HSg8-ePqu-XBGosW not found or rejected by a filter.
grub-probe : erreur : impossible d'obtenir l'état de « [unknown] » : Aucun fichier ou dossier de ce type.
  WARNING: Device for PV kUOdOx-0S4G-IYB7-nnJK-HSg8-ePqu-XBGosW not found or rejected by a filter.
  WARNING: Device for PV kUOdOx-0S4G-IYB7-nnJK-HSg8-ePqu-XBGosW not found or rejected by a filter.
grub-probe : erreur : impossible d'obtenir l'état de « [unknown] » : Aucun fichier ou dossier de ce type.
u1710@u:~$ date
samedi 25 novembre 2017, 16:31:01 (UTC+0100)
u1710@u:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=17.10
DISTRIB_CODENAME=artful
DISTRIB_DESCRIPTION="Ubuntu 17.10"
u1710@u:~$ 

Mais aucun changement pour la version LTS

[sudo] Mot de passe de u16041 : 
  WARNING: Device for PV kUOdOx-0S4G-IYB7-nnJK-HSg8-ePqu-XBGosW not found or rejected by a filter.
/dev/sda23:Ubuntu 16.04.3 LTS (16.04):Ubuntu:linux
/dev/sda26:Ubuntu 17.10 (17.10):Ubuntu1:linux
/dev/sda28:Ubuntu 17.04 (17.04):Ubuntu2:linux
/dev/sda9:Ubuntu 16.04 LTS (16.04):Ubuntu3:linux
u16041@u16041:~$ date
samedi 25 novembre 2017, 16:37:31 (UTC+0100)
u16041@u16041:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"
u16041@u16041:~$ 

Dernière modification par ?? (Le 25/11/2017, à 17:40)


Utiliser REFIND au lieu du GRUB https://doc.ubuntu-fr.org/refind . Aidez à vous faire dépanner en suivant le guide et en utilisant les outils de diagnostic J'ai perdu ma gomme. Désolé pour les fautes d'orthographes non corrigées.

Hors ligne