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 26/03/2016, à 20:06

RedLib

[ Résolu ] Multiboot : Grub ne démarre pas windows 7

Ladies and Gentlemen, bonjour !

Et bien après de longs essais afin d'installer Ubuntu 14.04 LTS à coté de Windows 7, j'y suis arrivé ! big_smile

Toutefois, lorsque j'essai d'accéder à Windows 7 avec Grub, Ca donne un écran noir disant: erreur de l'ecture, press Ctlr+Alt+Del pour redémarrer

Vous l'avez devinez, oui, j'ai partiellement perdu le bootloader de Windows, vous avez vu moi aussi je m y connais un peu tongue

J'ai un résumé avec Grub costomizer https://i.imgur.com/Int01hj.png

Aussi, un log plus détaillé avec boot repair

Le matériel que j'ai:

  • "sdb" un SDD de 32Go sur lequel Ubuntu est installé, je l'ai dévisé en 3 parties, 22 Go en Ext4 pour Ubuntu, 9 Go pour la zone de swap et 1 Go en plus que j'utilise pas jusqu'a présent

  • "sda" un HDD 500 Go qui se dévise en 3 parties:

    1. 100 Go "réservé au système windows"

    2. 317 Go de données de Windows

    3. 150 Go libre ou je souhaiterais les utiliser pour étendre Ubuntu, j'ai essayé de les convertir en Ext4 mais cela ne marche pas

Je ne sais pas quel est la meilleur approche pour revoir mes outils préinstallé sur Windows, toutefois et à bonne fin utile je vous informe que j'ai toujours la répartition de W7 ou je retrouve le fichier BCD  et la partition C surlequel je trouve le bootloader de Windows

Je remercie infinement et je reste disponible pour tout complément d'information,

Reda.


Modération : merci d'utiliser des images de petite taille (300x300) ou des miniatures pointant sur ces images (Des hébergeurs comme Toile Libre ou TDCT'Pix le permettent).

Dernière modification par RedLib (Le 27/03/2016, à 22:17)

Hors ligne

#2 Le 27/03/2016, à 10:37

Bougron

Re : [ Résolu ] Multiboot : Grub ne démarre pas windows 7

Bonjour
Je vois que tu as installé ubuntu sur un SSD de façon normale et que tu veux utiliser le disque dur pour y stocker des fichiers gérés par ubuntu
Vu la taille du SSD, c'est une bonne chose. Mais vu le type de partionnement (SFS) fait par windows 7, c'est impossible.
car ubuntu ne sait écrire dans une partition SFS.

Drive: sda _____________________________________________________________________
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
/dev/sda1    *             63         2,047         1,985  42 SFS
/dev/sda2               2,048       206,847       204,800  42 SFS
/dev/sda3             206,848   666,757,119   666,550,272  42 SFS
/dev/sda4         666,757,120   976,771,119   310,014,000  42 SFS

Je pense d'ailleurs que c'est la raison qui empêche le lancement de windows.

Il te reste donc a suivre le conseil donné.

=================== Advice in case of suggested repair
SFS detected. You may want to retry after converting Windows dynamic partitioning (SFS partitions) to a basic disk. This can be performed via tools such as TestDisk or EASEUS-Partition-Master / MiniTool-Partition-Wizard.
Do you want to continue?

C'est une opération risquée, si elle n'est pas maîtrisé https://forum.ubuntu-fr.org/viewtopic.p … #p21483120

On pourra te guider pour la transformation du SFS en NTFS par tesdisk
Il faudra que tu postes les étapes   qui se préparent
Sachant que c'est la commande W  (write) qui valide toutes les modifs.

J'ai le sentiment que la perte des partitions qui a nécessité leur récupération est indépendante de la conversion. et est survenue après une fausse manip ultérieure

Dernière modification par Bougron (Le 27/03/2016, à 10:51)

Hors ligne

#3 Le 27/03/2016, à 16:17

RedLib

Re : [ Résolu ] Multiboot : Grub ne démarre pas windows 7

Bonjour Bougron,

Tout à fait, les fausses manipulations, ce n'est pas ce qui manque lol

Et bien, à mon avis, j'ai fait deux fausses manipulations

La première, ça remonte a 2 ans, j'avais windows 8 préinstallé par défault que j'ai fini par perdre à cause d'une fausse manip pour installer Ubuntu big_smile , au final, j'avais réinstaller Windows 7 sur la totalité des disques.

La deuxième, ça remonte à deux jours, lors de l'installation d'Ubuntu, j'ai raté l'option où je spécifi le disque d'installation, cad le SSD, ce qui aboutissait à une erreur lors de l'installation en disant que sda est déja utilisé et me demandant de choisir un autre disque "sdb", j'ai fini par résoudre ce problème en formatant totalement le disque sdb à partir de windows ensuite de spécifier l'endroit d'installation, cad sdb.

C'est vrai que les partitions sont en SFS,  par contre, avec l'utilitaire disks d'Ubuntu, je détecte toutes les partitions de tout les disques suivant leurs format adéquat

1459082700.png

Avec testdisk, voici le quick scan:

Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63
     Partition               Start        End    Size in sectors
 * HPFS - NTFS              0  32 33    12 223 19     204800 [R erv au syst e]
 P HPFS - NTFS             12 223 20 41503 181 22  666550272
>P HPFS - NTFS          41503 181 23 60801  15 14  310011904 [Nouveau nom]

Et le deep search, j'ai une erreur et qui est

Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63

The harddisk (500 GB / 465 GiB) seems too small! (< 743 GB / 692 GiB)
Check the harddisk size: HD jumpers settings, BIOS detection...

The following partitions can't be recovered:
     Partition               Start        End    Size in sectors
>  Linux                30106 141 52 90334  83 53  967559168
   Linux                30107  81 55 90335  23 56  967559168
   Linux                30111 102  8 90339  44  9  967559168
   Linux                30112 107 12 90340  49 13  967559168
   Linux                30114  84 51 90342  26 52  967559168
   Linux                52740 125 58 68396  15 35  251506688
   Linux                52740 158 27 68396  48  4  251506688
   Linux                52741 228 32 68397 118  9  251506688
   Linux                52742 168 35 68398  58 12  251506688
   Linux                52742 233 36 68398 123 13  251506688
   Linux                52744 243 44 68400 133 21  251506688
   Linux                52745   1  1 68400 145 41  251506688
   Linux                52745  53 45 68400 198 22  251506688

Le résultat final du deep search:

Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63
     Partition               Start        End    Size in sectors
>  HPFS - NTFS              0  32 33    12 223 19     204800 [R erv au syst e]
   HPFS - NTFS              0  32 33 25496 139 51  409600000
   HPFS - NTFS             12 223 19    25 159  5     204800
   HPFS - NTFS             12 223 20 41503 181 22  666550272
   HPFS - NTFS             12 223 20 60801  47 46  976564224
   Linux                   65 101 37 60293  43 38  967559168
   Linux                 7287   0  1  8330 254 63   16771860 [Android-x86]
   Linux                13771 129 55 14424  55 31   10485760
   Linux                13772   4 57 14424 185 33   10485760
   Linux                13779 137 55 14432  63 31   10485760
   Linux                14252 192 21 16471 245 30   35651584
   Linux                14605  55 43 14659 199  4     876544
>  Linux                14685 174 18 16904 227 27   35651584
   Linux                14686 146 53 16905 199 62   35651584
   Linux                14760   0  1 16979 254 63   35664300
   Linux                14786 100 35 17005 153 44   35651584
   Linux                14790 153 20 17009 206 29   35651584
   Linux                14790 185 52 17009 238 61   35651584
   Linux                16017 189 45 16833 127 62   13105152
   Linux                16222 219 62 17038 158 16   13105152
   HPFS - NTFS          25496 139 52 60801  15 14  567166976 [Nouveau nom]
   Linux                34566   1 60 59552 127 31  401408000
   HPFS - NTFS          41503 181 23 60801  15 14  310011904 [Nouveau nom]
   Linux Swap           44637 153 61 45145 158  5    8161280
   Linux                45145 158  6 60801  47 46  251506688
   HPFS - NTFS          45163 216 46 45176 152 32     204800
   HPFS - NTFS          45163 249 15 45176 185  1     204800
   HPFS - NTFS          59552 127 32 59597  30 17     716800

Avant d'essayer une réparation, j'ai trois questions
1- Est ce que c'est logs sont suffisant pour entamer une réparation ?
2- Qu'est ce que je risque si la réparation ne marche pas ?
3- Si je passe par Windows, Minitool Partition Wizard, est ce que je risque de perdre Ubuntu ?

Merci encore.

Reda.

Dernière modification par RedLib (Le 27/03/2016, à 16:21)

Hors ligne

#4 Le 27/03/2016, à 17:03

Bougron

Re : [ Résolu ] Multiboot : Grub ne démarre pas windows 7

Tu n'avais pas besoin de faire le deep search.

dans le premier échange, on voit que

Drive: sda _____________________________________________________________________
/dev/sda1    *             63         2,047         1,985  42 SFS
/dev/sda2               2,048       206,847       204,800  42 SFS
/dev/sda3             206,848   666,757,119   666,550,272  42 SFS
/dev/sda4         666,757,120   976,771,119   310,014,000  42 SFS

Dans testdisk , on voit que

Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63
     Partition               Start        End    Size in sectors
 * HPFS - NTFS              0  32 33    12 223 19     204800 [R erv au syst e]
 P HPFS - NTFS             12 223 20 41503 181 22  666550272
>P HPFS - NTFS          41503 181 23 60801  15 14  310011904 [Nouveau nom]

Après conversion
              2,048               206,847                   204,800     => donc SDA2  à l'identique
          206,848        666,757,119            666,555,272     => Donc SDA3  à l'identique
   666,757,120        976,769,023           310,011,904    =>    Donc SDA4 un peu rétréci....


Comme toujours, le premier indique des valeurs  en LBA   et le second en CHS
Il faut que je convertisse pour savoir si c'est le même début, la même fin qui est vue.
Mais la taille est dans la même unité.      Il n'y a qu'une valeur identique     666,550,272    <=> 666550272
Mais il faut aussi que je prenne en compte le fait qu'il y a une partition étendue   qu'il faut intégrer.
En fait, ce n'est pas une partition étendue,
Au début, il y a 4 partitions et maintenant il y a trois partitions.


Lorsque je regarde le début de ton boot-info
sda1: __________________________________________________________________________
    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  According to the info in the boot sector, sda1 starts  at sector 2048.
                                But according to the info from fdisk, sda1 starts at sector 63. 
                                According to   the info in the boot sector, sda1 has 204799 sectors,
                              but according to the info from fdisk, it has 1984  sectors.
    Boot files:        /grldr /bootmgr /Boot/BCD /grldr
sda2: __________________________________________________________________________
    File system:       ntfs
    Boot sector type:  Windows 7/2008: NTFS
    Boot sector info:  According to the info in the boot sector, sda2 starts  at sector 206848.
                               But according to the info from   fdisk, sda2 starts at sector 2048.
                               According to the info in the boot sector, sda2 has  666550271 sectors,
                              but according to the info from   fdisk, it has 204799 sectors.
    Boot files:        /grldr /bootmgr /Boot/BCD
                      /Windows/System32/winload.exe /grldr

Pour un peu, je dirais que c'est la même chose en deux exemplaires.   MAIS le seconde contient le fichier de démarrage de windows et pas le premier.

Pour le moment, je préfère réfléchir et attendre peut-être d'autres avis.

Dernière modification par Bougron (Le 27/03/2016, à 18:09)

Hors ligne

#5 Le 27/03/2016, à 18:10

RedLib

Re : [ Résolu ] Multiboot : Grub ne démarre pas windows 7

Bougron a écrit :

Comme toujours, le premier indique des valeurs  en LBA   et le second en CHS
Il faut que je convertisse pour savoir si c'est le même début, la même fin qui est vue.

En attendant d'autres avis et réponses, ci joint la convertion en ligne de CHS a LBA:

     Partition                   Start                                          End                                                                                                                              
 * HPFS - NTFS           2,048                 ;              206,847                          
 P HPFS - NTFS          206,848             ;              666,757,119                                                         
 P HPFS - NTFS          666,757,120       ;             976,769,023                     

Que je retrouve pratiquement le meme sur le boot info

Drive: sda _____________________________________________________________________
/dev/sda1    *             63         2,047         1,985  42 SFS
/dev/sda2               2,048       206,847       204,800  42 SFS
/dev/sda3             206,848   666,757,119   666,550,272  42 SFS
/dev/sda4         666,757,120   976,771,119   310,014,000  42 SFS

Toutes les valeurs sont les memes sauf pour la dernière ou il ya 2,069 (976,771,119 - 976,769,023) qui manquent, ce qui correspond presque à sda1 tongue
A bientôt

Dernière modification par RedLib (Le 27/03/2016, à 18:21)

Hors ligne

#6 Le 27/03/2016, à 18:33

Bougron

Re : [ Résolu ] Multiboot : Grub ne démarre pas windows 7

Tu as fais plus vite que moi pour la conversion que je fais avec libreoffice calc. Il va falloir que je trouve ta méthode.

Comme la partition SDA1 va être virée et que la partition SDA4 va être rétrécie, on va prendre un minima de précaution.

A)   Sauver la table de partition

    dd if=/dev/sda of=/home/$USER/PART.image bs=512  count=1

B) Puis tu lances testdisk   pour détection des partitions qui va te réafficher la liste.
C) Tu fais 'enter'  pour faire apparaître la suite.
D) à ce niveau tu vas te retrouver avec une ligne de choix de commande dont la commande "deep search", Ce n'est pas elle que tu vas choisir, mais celle qui est à sa droite" c'est à dire la commande "Write"
E)   Il te demandera de confirmer le write.
F)  Il te dira de booter pour que ubuntu soit au courant.
G)  Apres le boot
     Tu fais un boot-info, pour voir le résultat. Je considère qu'il sera bon, donc tu enchaînes.
H) Mise à jour du grub.

    sudo update-grub

I) Boot pour choisir  Windows à lancer
K .....????

Dernière modification par Bougron (Le 27/03/2016, à 18:36)

Hors ligne

#7 Le 27/03/2016, à 22:15

RedLib

Re : [ Résolu ] Multiboot : Grub ne démarre pas windows 7

Bingo !

Ca à marché, tu dois etre un oracle toi ! big_smile

Oui, tout est correct, voici le log info, sda1 à été supprimé et les 3 autres sont remontées en NTFS

Je passe en résolu, toutefois il me reste un petit truc, est ce que je peux récupérer les 150 GO libre de sda pour Ubuntu sans faire de mauvaise manipulation

Ah oui, pour la conversion et bien j'ai utilisé un utilitaire en ligne, il faut juste spécifier "number of Heads/Sectors" que j'ai retrouvé dans le Boot Info

Merci encore, la communauté Ubuntu-fr devrait etre fière de t'avoir big_smile !

Hors ligne

#8 Le 27/03/2016, à 23:32

Bougron

Re : [ Résolu ] Multiboot : Grub ne démarre pas windows 7

Bonsoir
J'ai malheureusement eu la 'chance' de "participer" il y a quelques jours à un même problème (dont je t'ai parlé) . Donc un peu plus de précautions aujourd'hui
Je pense que tu veux parler de cette partition
/dev/sda3      fuseblk   148G   91M  148G   1% /mnt/boot-sav/sda3
Bien sûr tu peux l'utiliser pour ubuntu.
     Le tout étant pour toi de savoir si les données de ubuntu que que tu vas y mettre  doivent être accessibles pour windows et réciproquement.
      Si oui, elle doit rester comme elle est en NTFS.
      Si non,  et si tu prévois de te séparer de windows à terme, il faudrait que tu la reformates en EXT4 pour ne pas avoir de problèmes.
Lorsque ton choix sera fait, tu pourras automatiquement faire écrire ubuntu dans cette partition pour une grande partie de ses répertoires.
En résultat final, tu peux avoir un truc de ce style

UUID=E42418292417FCEC     /DPP   ntfs   default 2    2
/DPP/Docu        /home/u14044/Documents       none bind
/DPP/Images      /home/u14044/Images          none bind
/DPP/Musique     /home/u14044/Musique         none bind
/DPP/Telecharger /home/u14044/Téléchargements none bind

et tu peux même faire en sorte que les  "bibliothèques" de windows les connaissent.

Merci pour l'adresse de l'utilitaire.

Dernière modification par Bougron (Le 28/03/2016, à 09:31)

Hors ligne

#9 Le 28/03/2016, à 09:25

malbo

Re : [ Résolu ] Multiboot : Grub ne démarre pas windows 7

Pour qu'on garde la mémoire de l'état après réparation, je colle ici le "log info" ( https://forum.ubuntu-fr.org/viewtopic.p … #p11528561 ) que tu as donné dans le post #7 :

 Boot Info Script e7fc706 + Boot-Repair extra info      [Boot-Info 9Feb2015]


============================= Boot Info Summary: ===============================

 => Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sda.
 => Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 
    22157536 of the same hard drive for core.img. core.img is at this location 
    and looks for (,gpt1)/boot/grub.

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /grldr /bootmgr /Boot/BCD /grldr

sda2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 7/2008: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 7
    Boot files:        /grldr /bootmgr /Boot/BCD 
                       /Windows/System32/winload.exe /grldr

sda3: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 7/2008: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 14.04.3 LTS 
    Boot files:        /boot/grub/grub.cfg /etc/fstab 
                       /boot/grub/i386-pc/core.img

sdb2: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sdb3: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048       206,847       204,800   7 NTFS / exFAT / HPFS
/dev/sda2             206,848   666,757,119   666,550,272   7 NTFS / exFAT / HPFS
/dev/sda3         666,757,120   976,769,023   310,011,904   7 NTFS / exFAT / HPFS


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 32.0 GB, 32017047552 bytes
255 heads, 63 sectors/track, 3892 cylinders, total 62533296 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1                   1    62,533,295    62,533,295  ee GPT


GUID Partition Table detected.

Partition    Start Sector    End Sector  # of Sectors System
/dev/sdb1           2,048    43,001,855    42,999,808 Data partition (Linux)
/dev/sdb2      44,955,648    62,531,583    17,575,936 Swap partition (Linux)
/dev/sdb3      43,003,904    44,955,647     1,951,744 Data partition (Linux)

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        221CDA631CDA3211                       ntfs       Réservé au système
/dev/sda2        0698DD1E98DD0CD5                       ntfs       
/dev/sda3        8E7AC03E7AC024B5                       ntfs       Nouveau nom
/dev/sdb1        092b3fa5-cec6-4983-a432-87e56ef2bf3c   ext4       
/dev/sdb2        3899ba45-2a3f-49f7-9d7c-e6b502342313   swap       
/dev/sdb3        753a5dd8-834b-4ba7-af39-6b6523cf2ec4   ext4       V1G

========================= "ls -l /dev/disk/by-id" output: ======================

total 0
lrwxrwxrwx 1 root root  9 Mar 27 21:56 ata-Hitachi_HTS545050A7E380_120816TEJ51139HJ84BS -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 27 21:57 ata-Hitachi_HTS545050A7E380_120816TEJ51139HJ84BS-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 27 21:57 ata-Hitachi_HTS545050A7E380_120816TEJ51139HJ84BS-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar 27 21:57 ata-Hitachi_HTS545050A7E380_120816TEJ51139HJ84BS-part3 -> ../../sda3
lrwxrwxrwx 1 root root  9 Mar 27 21:56 ata-SAMSUNG_MZMPC032HBCD-00000_S0VSNEACA10161 -> ../../sdb
lrwxrwxrwx 1 root root 10 Mar 27 21:56 ata-SAMSUNG_MZMPC032HBCD-00000_S0VSNEACA10161-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Mar 27 21:56 ata-SAMSUNG_MZMPC032HBCD-00000_S0VSNEACA10161-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Mar 27 21:56 ata-SAMSUNG_MZMPC032HBCD-00000_S0VSNEACA10161-part3 -> ../../sdb3
lrwxrwxrwx 1 root root  9 Mar 27 21:56 wwn-0x5000cca71ed57c00 -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 27 21:57 wwn-0x5000cca71ed57c00-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 27 21:57 wwn-0x5000cca71ed57c00-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar 27 21:57 wwn-0x5000cca71ed57c00-part3 -> ../../sda3
lrwxrwxrwx 1 root root  9 Mar 27 21:56 wwn-0x5002538043584d30 -> ../../sdb
lrwxrwxrwx 1 root root 10 Mar 27 21:56 wwn-0x5002538043584d30-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Mar 27 21:56 wwn-0x5002538043584d30-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Mar 27 21:56 wwn-0x5002538043584d30-part3 -> ../../sdb3

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/sdb1        /                        ext4       (rw,errors=remount-ro)


========================== sda1/grldr embedded menu: ===========================

--------------------------------------------------------------------------------
--------------------------------------------------------------------------------

========================== sda2/grldr embedded menu: ===========================

--------------------------------------------------------------------------------
--------------------------------------------------------------------------------

=========================== sdb1/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  092b3fa5-cec6-4983-a432-87e56ef2bf3c
else
  search --no-floppy --fs-uuid --set=root 092b3fa5-cec6-4983-a432-87e56ef2bf3c
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=10
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=10
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=10
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30,0; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-092b3fa5-cec6-4983-a432-87e56ef2bf3c' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='hd1,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  092b3fa5-cec6-4983-a432-87e56ef2bf3c
	else
	  search --no-floppy --fs-uuid --set=root 092b3fa5-cec6-4983-a432-87e56ef2bf3c
	fi
	linux	/boot/vmlinuz-3.19.0-25-generic root=UUID=092b3fa5-cec6-4983-a432-87e56ef2bf3c ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.19.0-25-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-092b3fa5-cec6-4983-a432-87e56ef2bf3c' {
	menuentry 'Ubuntu, with Linux 3.19.0-25-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-25-generic-advanced-092b3fa5-cec6-4983-a432-87e56ef2bf3c' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  092b3fa5-cec6-4983-a432-87e56ef2bf3c
		else
		  search --no-floppy --fs-uuid --set=root 092b3fa5-cec6-4983-a432-87e56ef2bf3c
		fi
		echo	'Loading Linux 3.19.0-25-generic ...'
		linux	/boot/vmlinuz-3.19.0-25-generic root=UUID=092b3fa5-cec6-4983-a432-87e56ef2bf3c ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.19.0-25-generic
	}
	menuentry 'Ubuntu, with Linux 3.19.0-25-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-25-generic-recovery-092b3fa5-cec6-4983-a432-87e56ef2bf3c' {
		recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  092b3fa5-cec6-4983-a432-87e56ef2bf3c
		else
		  search --no-floppy --fs-uuid --set=root 092b3fa5-cec6-4983-a432-87e56ef2bf3c
		fi
		echo	'Loading Linux 3.19.0-25-generic ...'
		linux	/boot/vmlinuz-3.19.0-25-generic root=UUID=092b3fa5-cec6-4983-a432-87e56ef2bf3c ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.19.0-25-generic
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
	insmod part_gpt
	insmod ext2
	set root='hd1,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  092b3fa5-cec6-4983-a432-87e56ef2bf3c
	else
	  search --no-floppy --fs-uuid --set=root 092b3fa5-cec6-4983-a432-87e56ef2bf3c
	fi
	knetbsd	/boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
	insmod part_gpt
	insmod ext2
	set root='hd1,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  092b3fa5-cec6-4983-a432-87e56ef2bf3c
	else
	  search --no-floppy --fs-uuid --set=root 092b3fa5-cec6-4983-a432-87e56ef2bf3c
	fi
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-221CDA631CDA3211' {
	insmod ldm
	insmod ntfs
	set root='ldm/314ea340-7d59-11e4-87c1-806e6f6e6963/Volume4'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0 --hint-efi=hd0 --hint-baremetal=ahci0 --hint='ldm/314ea340-7d59-11e4-87c1-806e6f6e6963/Volume4'  221CDA631CDA3211
	else
	  search --no-floppy --fs-uuid --set=root 221CDA631CDA3211
	fi
	chainloader +1
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sdb1/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb1 during installation
UUID=092b3fa5-cec6-4983-a432-87e56ef2bf3c /               ext4    errors=remount-ro 0       1
# swap was on /dev/sdb2 during installation
UUID=3899ba45-2a3f-49f7-9d7c-e6b502342313 none            swap    sw              0       0
--------------------------------------------------------------------------------

=============================== StdErr Messages: ===============================

cat: write error: Broken pipe

ADDITIONAL INFORMATION :
=================== log of boot-repair 2016-03-27__21h56 ===================
boot-repair version : 4ppa35
boot-sav version : 4ppa35
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa35
boot-repair is executed in installed-session (Ubuntu 14.04.3 LTS, trusty, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-3.19.0-25-generic root=UUID=092b3fa5-cec6-4983-a432-87e56ef2bf3c ro quiet splash vt.handoff=7

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


=================== os-prober:
/dev/sdb1:The OS now in use - Ubuntu 14.04.3 LTS CurrentSession:linux
/dev/sda1:Windows 7 (loader):Windows:chain
/dev/sda2:Windows 7 (loader):Windows1:chain

=================== blkid:
/dev/sda1: LABEL="RM-CM-)servM-CM-) au systM-CM-(me" UUID="221CDA631CDA3211" TYPE="ntfs"
/dev/sda2: UUID="0698DD1E98DD0CD5" TYPE="ntfs"
/dev/sda3: LABEL="Nouveau nom" UUID="8E7AC03E7AC024B5" TYPE="ntfs"
/dev/sdb1: UUID="092b3fa5-cec6-4983-a432-87e56ef2bf3c" TYPE="ext4"
/dev/sdb2: UUID="3899ba45-2a3f-49f7-9d7c-e6b502342313" TYPE="swap"
/dev/sdb3: LABEL="V1G" UUID="753a5dd8-834b-4ba7-af39-6b6523cf2ec4" TYPE="ext4"


2 disks with OS, 3 OS : 1 Linux, 0 MacOS, 2 Windows, 0 unknown type OS.


WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util sfdisk doesn't support GPT. Use GNU Parted.


WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


=================== /etc/grub.d/ :
drwxr-xr-x  2 root root    4096 أغس  5  2015 grub.d
total 76
-rwxr-xr-x 1 root root  9424 يون 26  2015 00_header
-rwxr-xr-x 1 root root  6058 ماي 13  2015 05_debian_theme
-rwxr-xr-x 1 root root 11608 يون 26  2015 10_linux
-rwxr-xr-x 1 root root 10412 يون 26  2015 20_linux_xen
-rwxr-xr-x 1 root root  1992 مار 12  2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 يون 26  2015 30_os-prober
-rwxr-xr-x 1 root root  1416 يون 26  2015 30_uefi-firmware
-rwxr-xr-x 1 root root   214 يون 26  2015 40_custom
-rwxr-xr-x 1 root root   216 يون 26  2015 41_custom
-rw-r--r-- 1 root root   483 يون 26  2015 README




=================== /etc/default/grub :

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"




=================== UEFI/Legacy mode:
This installed-session is not in EFI-mode.
SecureBoot disabled.


=================== PARTITIONS & DISKS:
sdb1	: sdb,	not-sepboot,	grubenv-ok	grub2,	grub-pc ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	not-far,	.
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda1.
sda2	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	is-winboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	/mnt/boot-sav/sda2.
sda3	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	/mnt/boot-sav/sda3.
sdb3	: sdb,	maybesepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sdb3.

sdb	: GPT,	no-BIOS_boot,	has-no-EFIpart, 	not-usb,	has-os,	2048 sectors * 512 bytes
sda	: not-GPT,	BIOSboot-not-needed,	has-no-EFIpart, 	not-usb,	has-os,	2048 sectors * 512 bytes


=================== parted -l:

Model: ATA Hitachi HTS54505 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos

Number  Start   End    Size   Type     File system  Flags
1      1049kB  106MB  105MB  primary  ntfs         boot
2      106MB   341GB  341GB  primary  ntfs
3      341GB   500GB  159GB  primary  ntfs


Model: ATA SAMSUNG MZMPC032 (scsi)
Disk /dev/sdb: 32.0GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system     Name  Flags
1      1049kB  22.0GB  22.0GB  ext4
3      22.0GB  23.0GB  999MB   ext4
2      23.0GB  32.0GB  8999MB  linux-swap(v1)

=================== parted -lm:

BYT;
/dev/sda:500GB:scsi:512:4096:msdos:ATA Hitachi HTS54505;
1:1049kB:106MB:105MB:ntfs::boot;
2:106MB:341GB:341GB:ntfs::;
3:341GB:500GB:159GB:ntfs::;

BYT;
/dev/sdb:32.0GB:scsi:512:512:gpt:ATA SAMSUNG MZMPC032;
1:1049kB:22.0GB:22.0GB:ext4::;
3:22.0GB:23.0GB:999MB:ext4: :;
2:23.0GB:32.0GB:8999MB:linux-swap(v1)::;

=================== lsblk:
KNAME TYPE FSTYPE   SIZE LABEL
sda   disk        465.8G
sda1  part ntfs     100M Réservé au système
sda2  part ntfs   317.9G
sda3  part ntfs   147.8G Nouveau nom
sdb   disk         29.8G
sdb1  part ext4    20.5G
sdb2  part swap     8.4G
sdb3  part ext4     953M V1G

KNAME ROTA RO RM STATE   MOUNTPOINT
sda      1  0  0 running
sda1     1  0  0         /mnt/boot-sav/sda1
sda2     1  0  0         /mnt/boot-sav/sda2
sda3     1  0  0         /mnt/boot-sav/sda3
sdb      0  0  0 running
sdb1     0  0  0         /
sdb2     0  0  0         [SWAP]
sdb3     0  0  0         /mnt/boot-sav/sdb3


=================== mount:
/dev/sdb1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=red)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda3 on /mnt/boot-sav/sda3 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sdb3 on /mnt/boot-sav/sdb3 type ext4 (rw)


=================== ls:
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sdb1 sdb2 sdb3 size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd full fuse hpet i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 input kmsg kvm log mapper mcelog media0 mei0 mem memory_bandwidth net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sdb sdb1 sdb2 sdb3 sg0 sg1 shm snapshot snd stderr stdin stdout uhid uinput urandom v4l vfio vga_arbiter vhci vhost-net video0 zero
ls /dev/mapper:  control
ls: cannot access : No such file or directory

=================== hexdump -n512 -C /dev/sda1
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff 1f 03 00 00 00 00 00  |................|
00000030  55 21 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |U!..............|
00000040  f6 00 00 00 01 00 00 00  11 32 da 1c 63 da 1c 22  |.........2..c.."|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 41 20 64 69  |............A di|
00000190  73 6b 20 72 65 61 64 20  65 72 72 6f 72 20 6f 63  |sk read error oc|
000001a0  63 75 72 72 65 64 00 0d  0a 42 4f 4f 54 4d 47 52  |curred...BOOTMGR|
000001b0  20 69 73 20 63 6f 6d 70  72 65 73 73 65 64 00 0d  | is compressed..|
000001c0  0a 50 72 65 73 73 20 43  74 72 6c 2b 41 6c 74 2b  |.Press Ctrl+Alt+|
000001d0  44 65 6c 20 74 6f 20 72  65 73 74 61 72 74 0d 0a  |Del to restart..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a7 01 bf 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sda2
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 28 03 00  |........?....(..|
00000020  00 00 00 00 80 00 80 00  ff bf ba 27 00 00 00 00  |...........'....|
00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  d5 0c dd 98 1e dd 98 06  |................|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 01 90 90 66 60 1e  |(........_...f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a0 f8 01 e8 09 00  |...u...fa.......|
00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|
00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 45 72  |t.............Er|
00000190  72 65 75 72 20 6c 65 63  74 75 72 65 20 64 69 73  |reur lecture dis|
000001a0  71 75 65 00 0d 0a 42 4f  4f 54 4d 47 52 20 61 62  |que...BOOTMGR ab|
000001b0  73 65 6e 74 00 0d 0a 42  4f 4f 54 4d 47 52 20 63  |sent...BOOTMGR c|
000001c0  6f 6d 70 72 65 73 73 82  00 0d 0a 43 74 72 6c 2b  |ompress....Ctrl+|
000001d0  41 6c 74 2b 53 75 70 70  72 20 70 6f 75 72 20 72  |Alt+Suppr pour r|
000001e0  65 64 82 6d 61 72 72 65  72 0d 0a 00 6f 20 72 65  |ed.marrer...o re|
000001f0  73 74 61 72 74 0d 0a 00  8c a4 b5 c9 00 00 55 aa  |start.........U.|
00000200

=================== hexdump -n512 -C /dev/sda3
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 e8 bd 27  |........?......'|
00000020  00 00 00 00 80 00 80 00  ff 67 7a 12 00 00 00 00  |.........gz.....|
00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  b5 24 c0 7a 3e c0 7a 8e  |.........$.z>.z.|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 01 90 90 66 60 1e  |(........_...f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a0 f8 01 e8 09 00  |...u...fa.......|
00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|
00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 45 72  |t.............Er|
00000190  72 65 75 72 20 6c 65 63  74 75 72 65 20 64 69 73  |reur lecture dis|
000001a0  71 75 65 00 0d 0a 42 4f  4f 54 4d 47 52 20 61 62  |que...BOOTMGR ab|
000001b0  73 65 6e 74 00 0d 0a 42  4f 4f 54 4d 47 52 20 63  |sent...BOOTMGR c|
000001c0  6f 6d 70 72 65 73 73 82  00 0d 0a 43 74 72 6c 2b  |ompress....Ctrl+|
000001d0  41 6c 74 2b 53 75 70 70  72 20 70 6f 75 72 20 72  |Alt+Suppr pour r|
000001e0  65 64 82 6d 61 72 72 65  72 0d 0a 00 6f 20 72 65  |ed.marrer...o re|
000001f0  73 74 61 72 74 0d 0a 00  8c a4 b5 c9 00 00 55 aa  |start.........U.|
00000200

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


=================== df -Th:

Filesystem     Type      Size  Used Avail Use% Mounted on
/dev/sdb1      ext4       21G  5.2G   14G  28% /
none           tmpfs     4.0K     0  4.0K   0% /sys/fs/cgroup
udev           devtmpfs  1.9G   12K  1.9G   1% /dev
tmpfs          tmpfs     385M  1.2M  384M   1% /run
none           tmpfs     5.0M     0  5.0M   0% /run/lock
none           tmpfs     1.9G   76K  1.9G   1% /run/shm
none           tmpfs     100M   28K  100M   1% /run/user
/dev/sda1      fuseblk   100M   25M   76M  25% /mnt/boot-sav/sda1
/dev/sda2      fuseblk   318G  169G  149G  54% /mnt/boot-sav/sda2
/dev/sda3      fuseblk   148G   91M  148G   1% /mnt/boot-sav/sda3
/dev/sdb3      ext4      922M  1.2M  858M   1% /mnt/boot-sav/sdb3

=================== fdisk -l:

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0e2dcc5a

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      206847      102400    7  HPFS/NTFS/exFAT
/dev/sda2          206848   666757119   333275136    7  HPFS/NTFS/exFAT
/dev/sda3       666757120   976769023   155005952    7  HPFS/NTFS/exFAT

Disk /dev/sdb: 32.0 GB, 32017047552 bytes
255 heads, 63 sectors/track, 3892 cylinders, total 62533296 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x05b12b15

Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1    62533295    31266647+  ee  GPT


User choice: Is sdb (32.0GB) a removable disk? no


(debug) reinstall grub2 place-in-all-MBRs no-BIOS_boot (sdb1)


=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sdb1 into the MBRs of all disks (except USB without OS).
Additional repair would be performed: unhide-bootmenu-10s


=================== Blockers in case of suggested repair
GPT detected. Please create a BIOS-Boot partition (>1MB, unformatted filesystem, bios_grub flag). This can be performed via tools such as Gparted. Then try again.


=================== Final advice in case of suggested repair
Please do not forget to make your BIOS boot on sdb (32.0GB) disk!


=================== User settings
The settings chosen by the user will not act on the boot.
RedLib a écrit :

sda1 à été supprimé et les 3 autres sont remontées en NTFS

Oui, ça se passe comme ça quand la réparation est réussie.
Avant réparation :

Drive: sda _____________________________________________________________________
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
/dev/sda1    *             63         2,047         1,985  42 SFS
/dev/sda2               2,048       206,847       204,800  42 SFS
/dev/sda3             206,848   666,757,119   666,550,272  42 SFS
/dev/sda4         666,757,120   976,771,119   310,014,000  42 SFS

Après réparation :

Drive: sda _____________________________________________________________________

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048       206,847       204,800   7 NTFS / exFAT / HPFS
/dev/sda2             206,848   666,757,119   666,550,272   7 NTFS / exFAT / HPFS
/dev/sda3         666,757,120   976,769,023   310,011,904   7 NTFS / exFAT / HPFS

La première partition disparaît effectivement. Les autres devraient conserver exactement les valeurs "Start Sector" et "End Sector". Ce n'est pas vrai dans ton cas pour la dernière partition ("End Sector" qui est décalé un poil) : tu en as parlé dans le post #5

Dernière modification par malbo (Le 28/03/2016, à 09:39)

Hors ligne