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 18/11/2015, à 01:26

MichelEtMarina

[Résolu] partitions non détectées : overlapping

Bonsoir, j'aimerais installer ubuntu par dessus une précédente installation qui ne boot plus, le problème est que l'installateur ne détecte pas mes partitions, il détecte un disque vierge de 500 Go, c'est tout.

J'ai essayé les deux installateurs du live-cd (celui au lancement et celui avec l'icône du bureau après "essayer ubuntu").

Après plusieurs recherches, je découvre que mes partitions se chevauchent (il semblerait).

ubuntu@ubuntu:~$ sudo gparted
======================
libparted : 2.3
======================

(gpartedbin:29397): GLib-CRITICAL **: Source ID 7 was not found when attempting to remove it

(gpartedbin:29397): GLib-CRITICAL **: Source ID 6 was not found when attempting to remove it

(gpartedbin:29397): GLib-CRITICAL **: Source ID 10 was not found when attempting to remove it

  ... ETC ETC ...

Can't have overlapping partitions.
ubuntu@ubuntu:~$ sudo fdisk -l
omitting empty partition (5)

Disk /dev/sda: 500.1 GB, 500107862016 bytes
240 heads, 63 sectors/track, 64601 cylinders, total 976773168 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: 0x5460168c

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63   163840319    81920128+   7  HPFS/NTFS/exFAT
/dev/sda2       163842046   976751999   406454977    f  W95 Ext'd (LBA)
/dev/sda3       327680703   976751999   324535648+   c  W95 FAT32 (LBA)
/dev/sda5       163842048   317249535    76703744   83  Linux
/dev/sda6       317251584   320913407     1830912   82  Linux swap / Solaris
/dev/sda7       320914503   327677804     3381651   82  Linux swap / Solaris

Je ne vois pas où est le problème en fait.

Les sites que j'ai consulté indiquent comment "remettre la fin d'une partition avant le début de la suivante" mais je ne trouve pas l'anomalie ...

Merci par avance pour votre aide.

EDIT : boot-repair n'a rien corrigé

Dernière modification par MichelEtMarina (Le 18/11/2015, à 17:43)

Hors ligne

#2 Le 18/11/2015, à 08:38

malbo

Re : [Résolu] partitions non détectées : overlapping

/dev/sda2       163842046   976751999   406454977    f  W95 Ext'd (LBA)

ça veut dire que la partition étendue (voir la doc sur les différents types de partitions) commence au secteur 163 842 046 et se termine au secteur 976 751 999

/dev/sda3       327680703   976751999   324535648+   c  W95 FAT32 (LBA)

ça veut dire que la partition sda3 commence au secteur 327 680 703 et se termine au secteur 976 751 999

Cette partition sda3 se trouve donc théoriquement à l'intérieur de la partition étendue. Le gros souci, c'est que cette partition n’apparaît pas comme une partition logique mais comme une partition primaire. Une partition logique a toujours un numéro supérieur ou égal à 5 (sda5, sda6, etc...) : c'est comme ça que je sais dire que sda3 est une partition primaire.

Le fait qu'une partition primaire vienne squatter dans une partition étendue est un délit, il y a bien chevauchement illégal. Je ne sais pas te détailler avec le peu d'infos que tu donnes (*) ce qu'il convient de faire pour supprimer cette anomalie mais quelle que soit l'action que tu vas entreprendre, je te recommande de sauvegarder auparavant tes données les plus précieuses sur un disque dur externe avant toute modification de ton partitionnement.

(*) si tu peux faire un Boot-Info et donner l'URL dans ta réponse, on pourra mieux voir ce qui se passe.

Dernière modification par malbo (Le 18/11/2015, à 08:53)

Hors ligne

#3 Le 18/11/2015, à 08:57

Nasman

Re : [Résolu] partitions non détectées : overlapping

Le souci est sda3 (le 3 indique une partition principale - numéro supérieur ou égal à 5 pour une partition logique) mais sda3 commence et finit à l'intérieur de la partition étendue (et devrait donc être logique) d'où le pb.

Pourquoi as tu aussi deux swaps pour un seul système Linux ?

On va commencer par vérifier plusieurs choses :
- la partition en fat32 commence-t-elle à l'emplacement indiqué

sudo dd if=/dev/sda bs=512 count=1 skip=327680703 | hexdump -C

- entête de la partition étendue sda2

sudo dd if=/dev/sda bs=512 count=1 skip=163842046 | hexdump -C

De plus tu as des partitions alignées "au cylindre" ou du moins "à la tête" (commençant à un multiple de 63 (tête) ou de 16065 (cylindre) et d'autres au Mio (multiple de 2048 secteurs)

sda1 : alignée à la tête (commence en 63)
sda2 : alignée au Mio (en fait pour une partition étendue c'est souvent multiple de 2048 -2 donc reste de la division par 2048 de 2046)
sda3 : alignée à la tête (multiple de 63)
sda5 : alignée au Mio
sda6 : alignée au Mio
sda7 : alignée à la tête

Je pense qu'il faudra à un moment donné supprimer une swap (inutile) et sans doute agrandir sda5 pour récupérer l'espace en alignant au Mio; Il faudra modifier le fstab car la nouvelle swap (destruction de sda6 et sda7, agrandissement de sda5 et création d'une nouvelle swap) aura un uuid différent.


PC fixe sous Bionic 64 bits et portable avec Focal 64 bits

Hors ligne

#4 Le 18/11/2015, à 10:30

MichelEtMarina

Re : [Résolu] partitions non détectées : overlapping

Merci pour vos conseils. Oui je sais que j'ai un swap inutile qui traine mais apparament ce n'est pas lui le problème, ceci est donc secondaire, tant pis pour les qq Mo bloqués par ce swap.

Voilà pour le boot-info, il indique effectivement une anomalie sur sda3 :

Boot-Info a écrit :

According to the info in the boot sector, sda3 starts
                       at sector 0. But according to the info from fdisk,
                       sda3 starts at sector 327680703.

ubuntu@ubuntu:~$ sudo dd if=/dev/sda bs=512 count=1 skip=327680703 | hexdump -C
1+0 records in
1+0 records out
512 bytes (512 B) copied, 0,000209736 s, 2,4 MB/s
00000000  eb 58 90 6d 6b 64 6f 73  66 73 00 00 02 20 20 00  |.X.mkdosfs...  .|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 00 00 00  |........?.......|
00000020  c0 0a b0 26 b4 6a 02 00  00 00 00 00 02 00 00 00  |...&.j..........|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  00 01 29 d6 44 d1 9c 20  20 20 20 20 20 20 20 20  |..).D..         |
00000050  20 20 46 41 54 33 32 20  20 20 0e 1f be 77 7c ac  |  FAT32   ...w|.|
00000060  22 c0 74 0b 56 b4 0e bb  07 00 cd 10 5e eb f0 32  |".t.V.......^..2|
00000070  e4 cd 16 cd 19 eb fe 54  68 69 73 20 69 73 20 6e  |.......This is n|
00000080  6f 74 20 61 20 62 6f 6f  74 61 62 6c 65 20 64 69  |ot a bootable di|
00000090  73 6b 2e 20 20 50 6c 65  61 73 65 20 69 6e 73 65  |sk.  Please inse|
000000a0  72 74 20 61 20 62 6f 6f  74 61 62 6c 65 20 66 6c  |rt a bootable fl|
000000b0  6f 70 70 79 20 61 6e 64  0d 0a 70 72 65 73 73 20  |oppy and..press |
000000c0  61 6e 79 20 6b 65 79 20  74 6f 20 74 72 79 20 61  |any key to try a|
000000d0  67 61 69 6e 20 2e 2e 2e  20 0d 0a 00 00 00 00 00  |gain ... .......|
000000e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200
ubuntu@ubuntu:~$ sudo dd if=/dev/sda bs=512 count=1 skip=163842046 | hexdump -C
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 ef  |................|
000001c0  ff ff 05 ef ff ff 01 00  00 00 01 d0 24 09 00 00  |............$...|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
1+0 records in
1+0 records out
512 bytes (512 B) copied, 0,000201901 s, 2,5 MB/s
00000200

Et maintenant ?

Dernière modification par MichelEtMarina (Le 18/11/2015, à 10:55)

Hors ligne

#5 Le 18/11/2015, à 10:49

Nasman

Re : [Résolu] partitions non détectées : overlapping

1) Le partition en fat32 commence bien à l'endroit indiqué
2) Tu n'as pas changé la valeur du paramètre skip dans la deuxième commande, il faut mettre 163842046
et pendant qu'on y est, aussi un

sudo dd if=/dev/sda bs=512 count=1 | hexdump -C

(contenu du mbr)


PC fixe sous Bionic 64 bits et portable avec Focal 64 bits

Hors ligne

#6 Le 18/11/2015, à 10:57

MichelEtMarina

Re : [Résolu] partitions non détectées : overlapping

ah oui désolé, erreur de copier coller, j'ai édité le message précédent pour corriger.

ubuntu@ubuntu:~$ sudo dd if=/dev/sda bs=512 count=1 | hexdump -C
00000000  eb 63 90 d0 bc 00 7c fb  50 07 50 1f fc be 1b 7c  |.c....|.P.P....||
00000010  bf 1b 06 50 57 b9 e5 01  f3 a4 cb bd be 07 b1 04  |...PW...........|
00000020  38 6e 00 7c 09 75 13 83  c5 10 e2 f4 cd 18 8b f5  |8n.|.u..........|
00000030  83 c6 10 49 74 19 38 2c  74 f6 a0 b5 07 b4 07 8b  |...It.8,t.......|
00000040  f0 ac 3c 00 74 fc bb 07  00 b4 0e cd 10 eb f2 88  |..<.t...........|
00000050  4e 10 e8 46 00 73 2a fe  46 10 00 80 01 00 00 00  |N..F.s*.F.......|
00000060  00 00 00 00 ff fa 90 90  f6 c2 80 74 05 f6 c2 70  |...........t...p|
00000070  74 02 b2 80 ea 79 7c 00  00 31 c0 8e d8 8e d0 bc  |t....y|..1......|
00000080  00 20 fb a0 64 7c 3c ff  74 02 88 c2 52 bb 17 04  |. ..d|<.t...R...|
00000090  f6 07 03 74 06 be 88 7d  e8 17 01 be 05 7c b4 41  |...t...}.....|.A|
000000a0  bb aa 55 cd 13 5a 52 72  3d 81 fb 55 aa 75 37 83  |..U..ZRr=..U.u7.|
000000b0  e1 01 74 32 31 c0 89 44  04 40 88 44 ff 89 44 02  |..t21..D.@.D..D.|
000000c0  c7 04 10 00 66 8b 1e 5c  7c 66 89 5c 08 66 8b 1e  |....f..\|f.\.f..|
000000d0  60 7c 66 89 5c 0c c7 44  06 00 70 b4 42 cd 13 72  |`|f.\..D..p.B..r|
000000e0  05 bb 00 70 eb 76 b4 08  cd 13 73 0d 5a 84 d2 0f  |...p.v....s.Z...|
000000f0  83 d0 00 be 93 7d e9 82  00 66 0f b6 c6 88 64 ff  |.....}...f....d.|
00000100  40 66 89 44 04 0f b6 d1  c1 e2 02 88 e8 88 f4 40  |@f.D...........@|
00000110  89 44 08 0f b6 c2 c0 e8  02 66 89 04 66 a1 60 7c  |.D.......f..f.`||
00000120  66 09 c0 75 4e 66 a1 5c  7c 66 31 d2 66 f7 34 88  |f..uNf.\|f1.f.4.|
00000130  d1 31 d2 66 f7 74 04 3b  44 08 7d 37 fe c1 88 c5  |.1.f.t.;D.}7....|
00000140  30 c0 c1 e8 02 08 c1 88  d0 5a 88 c6 bb 00 70 8e  |0........Z....p.|
00000150  c3 31 db b8 01 02 cd 13  72 1e 8c c3 60 1e b9 00  |.1......r...`...|
00000160  01 8e db 31 f6 bf 00 80  8e c6 fc f3 a5 1f 61 ff  |...1..........a.|
00000170  26 5a 7c be 8e 7d eb 03  be 9d 7d e8 34 00 be a2  |&Z|..}....}.4...|
00000180  7d e8 2e 00 cd 18 eb fe  47 52 55 42 20 00 47 65  |}.......GRUB .Ge|
00000190  6f 6d 00 48 61 72 64 20  44 69 73 6b 00 52 65 61  |om.Hard Disk.Rea|
000001a0  64 00 20 45 72 72 6f 72  0d 0a 00 bb 01 00 b4 0e  |d. Error........|
000001b0  cd 10 ac 3c 00 75 f4 c3  8c 16 60 54 00 00 80 01  |...<.u....`T....|
000001c0  01 00 07 ef ff ff 3f 00  00 00 01 01 c4 09 00 ef  |......?.........|
000001d0  ff ff 0f ef ff ff fe 07  c4 09 82 05 74 30 00 ef  |............t0..|
000001e0  ff ff 0c ef ff ff bf 02  88 13 c1 0a b0 26 00 00  |.............&..|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
1+0 records in
1+0 records out
512 bytes (512 B) copied, 0,00052469 s, 976 kB/s
00000200

je ne comprend pas où tu veux en venir avec toutes ces valeurs hexadécimales

Hors ligne

#7 Le 18/11/2015, à 10:58

malbo

Re : [Résolu] partitions non détectées : overlapping

Ton Boot-Info est là :

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


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

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

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 2000/XP: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows XP
    Boot files:        /boot.ini /ntldr /NTDETECT.COM

sda2: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sda5: __________________________________________________________________________

    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/extlinux/extlinux.conf 
                       /boot/grub/i386-pc/core.img

sda6: __________________________________________________________________________

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

sda7: __________________________________________________________________________

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

sda3: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  According to the info in the boot sector, sda3 starts 
                       at sector 0. But according to the info from fdisk, 
                       sda3 starts at sector 327680703.
    Operating System:  
    Boot files:        

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 500.1 GB, 500107862016 bytes
240 heads, 63 sectors/track, 64601 cylinders, total 976773168 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/sda1    *             63   163,840,319   163,840,257   7 NTFS / exFAT / HPFS
/dev/sda2         163,842,046   976,751,999   812,909,954   f W95 Extended (LBA)
Extended partition linking to another extended partition.
/dev/sda5         163,842,048   317,249,535   153,407,488  83 Linux
/dev/sda6         317,251,584   320,913,407     3,661,824  82 Linux swap / Solaris
/dev/sda7         320,914,503   327,677,804     6,763,302  82 Linux swap / Solaris
/dev/sda3         327,680,703   976,751,999   649,071,297   c W95 FAT32 (LBA)

/dev/sda2 overlaps with /dev/sda3

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        30F0EE85F0EE50A0                       ntfs       
/dev/sda3        9CD1-44D6                              vfat       
/dev/sda5        dbd608aa-05e9-4a47-a919-f83c622129e8   ext4       
/dev/sda6        635e747e-5b4c-4ca4-af1c-2a9b7f94ca0d   swap       
/dev/sda7        a25c6534-1a3d-4dfe-84e3-11b135333a4d   swap       
/dev/sr0                                                iso9660    Ubuntu 14.04.3 LTS i386

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

total 0
lrwxrwxrwx 1 root root  9 Nov 17 23:13 ata-ATAPI_iHAS122_3522424_3N8120502711 -> ../../sr0
lrwxrwxrwx 1 root root  9 Nov 18 09:17 ata-WDC_WD5000AAKS-00UU3A0_WD-WCAYU7467611 -> ../../sda
lrwxrwxrwx 1 root root 10 Nov 18 09:17 ata-WDC_WD5000AAKS-00UU3A0_WD-WCAYU7467611-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Nov 17 23:14 ata-WDC_WD5000AAKS-00UU3A0_WD-WCAYU7467611-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Nov 17 23:14 ata-WDC_WD5000AAKS-00UU3A0_WD-WCAYU7467611-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Nov 17 23:14 ata-WDC_WD5000AAKS-00UU3A0_WD-WCAYU7467611-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Nov 17 23:14 ata-WDC_WD5000AAKS-00UU3A0_WD-WCAYU7467611-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Nov 17 23:14 ata-WDC_WD5000AAKS-00UU3A0_WD-WCAYU7467611-part7 -> ../../sda7
lrwxrwxrwx 1 root root  9 Nov 18 09:17 wwn-0x50014ee103484aa0 -> ../../sda
lrwxrwxrwx 1 root root 10 Nov 18 09:17 wwn-0x50014ee103484aa0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Nov 17 23:14 wwn-0x50014ee103484aa0-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Nov 17 23:14 wwn-0x50014ee103484aa0-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Nov 17 23:14 wwn-0x50014ee103484aa0-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Nov 17 23:14 wwn-0x50014ee103484aa0-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Nov 17 23:14 wwn-0x50014ee103484aa0-part7 -> ../../sda7

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

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sda3        /media/ubuntu/9CD1-44D6  vfat       (rw,nosuid,nodev,uid=999,gid=999,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)
/dev/sda5        /media/ubuntu/dbd608aa-05e9-4a47-a919-f83c622129e8 ext4       (rw,nosuid,nodev,uhelper=udisks2)
/dev/sr0         /cdrom                   iso9660    (ro,noatime)


================================ sda1/boot.ini: ================================

--------------------------------------------------------------------------------
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professionnel" /noexecute=optin /fastdetect /usepmtimer
--------------------------------------------------------------------------------

=========================== sda5/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_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
else
  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
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=fr_FR
  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-dbd608aa-05e9-4a47-a919-f83c622129e8' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
	else
	  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
	fi
	linux	/boot/vmlinuz-3.13.0-67-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro  vga=792 quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.13.0-67-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-dbd608aa-05e9-4a47-a919-f83c622129e8' {
	menuentry 'Ubuntu, with Linux 3.13.0-67-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-67-generic-advanced-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-67-generic ...'
		linux	/boot/vmlinuz-3.13.0-67-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro  vga=792 quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-67-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-67-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-67-generic-recovery-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-67-generic ...'
		linux	/boot/vmlinuz-3.13.0-67-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro recovery nomodeset  vga=792
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-67-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-64-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-64-generic-advanced-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-64-generic ...'
		linux	/boot/vmlinuz-3.13.0-64-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro  vga=792 quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-64-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-64-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-64-generic-recovery-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-64-generic ...'
		linux	/boot/vmlinuz-3.13.0-64-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro recovery nomodeset  vga=792
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-64-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-63-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-63-generic-advanced-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-63-generic ...'
		linux	/boot/vmlinuz-3.13.0-63-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro  vga=792 quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-63-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-63-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-63-generic-recovery-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-63-generic ...'
		linux	/boot/vmlinuz-3.13.0-63-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro recovery nomodeset  vga=792
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-63-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-62-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-62-generic-advanced-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-62-generic ...'
		linux	/boot/vmlinuz-3.13.0-62-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro  vga=792 quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-62-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-62-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-62-generic-recovery-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-62-generic ...'
		linux	/boot/vmlinuz-3.13.0-62-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro recovery nomodeset  vga=792
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-62-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-59-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-59-generic-advanced-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-59-generic ...'
		linux	/boot/vmlinuz-3.13.0-59-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro  vga=792 quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-59-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-59-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-59-generic-recovery-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-59-generic ...'
		linux	/boot/vmlinuz-3.13.0-59-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro recovery nomodeset  vga=792
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-59-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-58-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-58-generic-advanced-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-58-generic ...'
		linux	/boot/vmlinuz-3.13.0-58-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro  vga=792 quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-58-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-58-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-58-generic-recovery-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-58-generic ...'
		linux	/boot/vmlinuz-3.13.0-58-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro recovery nomodeset  vga=792
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-58-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-57-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-57-generic-advanced-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-57-generic ...'
		linux	/boot/vmlinuz-3.13.0-57-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro  vga=792 quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-57-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-57-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-57-generic-recovery-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-57-generic ...'
		linux	/boot/vmlinuz-3.13.0-57-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro recovery nomodeset  vga=792
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-57-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-48-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-48-generic-advanced-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-48-generic ...'
		linux	/boot/vmlinuz-3.13.0-48-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro  vga=792 quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-48-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-48-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-48-generic-recovery-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-48-generic ...'
		linux	/boot/vmlinuz-3.13.0-48-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro recovery nomodeset  vga=792
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-48-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-46-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-46-generic-advanced-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-46-generic ...'
		linux	/boot/vmlinuz-3.13.0-46-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro  vga=792 quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-46-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-46-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-46-generic-recovery-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-46-generic ...'
		linux	/boot/vmlinuz-3.13.0-46-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro recovery nomodeset  vga=792
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-46-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-44-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-44-generic-advanced-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-44-generic ...'
		linux	/boot/vmlinuz-3.13.0-44-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro  vga=792 quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-44-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-44-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-44-generic-recovery-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-44-generic ...'
		linux	/boot/vmlinuz-3.13.0-44-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro recovery nomodeset  vga=792
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-44-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-43-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-43-generic-advanced-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-43-generic ...'
		linux	/boot/vmlinuz-3.13.0-43-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro  vga=792 quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-43-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-43-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-43-generic-recovery-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-43-generic ...'
		linux	/boot/vmlinuz-3.13.0-43-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro recovery nomodeset  vga=792
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-43-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-40-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-40-generic-advanced-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-40-generic ...'
		linux	/boot/vmlinuz-3.13.0-40-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro  vga=792 quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-40-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-40-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-40-generic-recovery-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-40-generic ...'
		linux	/boot/vmlinuz-3.13.0-40-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro recovery nomodeset  vga=792
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-40-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-39-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-39-generic-advanced-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-39-generic ...'
		linux	/boot/vmlinuz-3.13.0-39-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro  vga=792 quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-39-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-39-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-39-generic-recovery-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-39-generic ...'
		linux	/boot/vmlinuz-3.13.0-39-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro recovery nomodeset  vga=792
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-39-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-38-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-38-generic-advanced-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-38-generic ...'
		linux	/boot/vmlinuz-3.13.0-38-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro  vga=792 quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-38-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-38-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-38-generic-recovery-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-38-generic ...'
		linux	/boot/vmlinuz-3.13.0-38-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro recovery nomodeset  vga=792
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-38-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-37-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-37-generic-advanced-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-37-generic ...'
		linux	/boot/vmlinuz-3.13.0-37-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro  vga=792 quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-37-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-37-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-37-generic-recovery-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-37-generic ...'
		linux	/boot/vmlinuz-3.13.0-37-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro recovery nomodeset  vga=792
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-37-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-36-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-36-generic-advanced-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-36-generic ...'
		linux	/boot/vmlinuz-3.13.0-36-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro  vga=792 quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-36-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-36-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-36-generic-recovery-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.13.0-36-generic ...'
		linux	/boot/vmlinuz-3.13.0-36-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro recovery nomodeset  vga=792
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-36-generic
	}
	menuentry 'Ubuntu, with Linux 3.2.0-68-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-68-generic-advanced-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.2.0-68-generic ...'
		linux	/boot/vmlinuz-3.2.0-68-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro  vga=792 quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.2.0-68-generic
	}
	menuentry 'Ubuntu, with Linux 3.2.0-68-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-68-generic-recovery-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.2.0-68-generic ...'
		linux	/boot/vmlinuz-3.2.0-68-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro recovery nomodeset  vga=792
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.2.0-68-generic
	}
	menuentry 'Ubuntu, with Linux 3.0.0-23-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.0.0-23-generic-advanced-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.0.0-23-generic ...'
		linux	/boot/vmlinuz-3.0.0-23-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro  vga=792 quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.0.0-23-generic
	}
	menuentry 'Ubuntu, with Linux 3.0.0-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.0.0-23-generic-recovery-dbd608aa-05e9-4a47-a919-f83c622129e8' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
		else
		  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
		fi
		echo	'Loading Linux 3.0.0-23-generic ...'
		linux	/boot/vmlinuz-3.0.0-23-generic root=UUID=dbd608aa-05e9-4a47-a919-f83c622129e8 ro recovery nomodeset  vga=792
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.0.0-23-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_msdos
	insmod ext2
	set root='hd0,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
	else
	  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
	fi
	knetbsd	/boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  dbd608aa-05e9-4a47-a919-f83c622129e8
	else
	  search --no-floppy --fs-uuid --set=root dbd608aa-05e9-4a47-a919-f83c622129e8
	fi
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Microsoft Windows XP Professionnel (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-30F0EE85F0EE50A0' {
	insmod part_msdos
	insmod ntfs
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  30F0EE85F0EE50A0
	else
	  search --no-floppy --fs-uuid --set=root 30F0EE85F0EE50A0
	fi
	parttool ${root} hidden-
	drivemap -s (hd0) ${root}
	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 ###
--------------------------------------------------------------------------------

=============================== sda5/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>
proc                                       /proc        proc  nodev,noexec,nosuid                           0  0  
# / was on /dev/sda7 during installation
UUID=dbd608aa-05e9-4a47-a919-f83c622129e8  /            ext4  errors=remount-ro                             0  1  
# swap was on /dev/sda8 during installation
UUID=635e747e-5b4c-4ca4-af1c-2a9b7f94ca0d  none         swap  sw                                            0  0  
#/dev/sda1                                 /media/sda1  ntfs  defaults                                      0  0  
#/dev/sda5                                 /media/sda5  vfat  user,rw,exec,dev,auto,suid,uid=1000,gid=1000  0  0  
#/dev/sda6                                 /media/sda6  swap  defaults                                      0  0  
/dev/sda3                                  /media/sda3  vfat  user,rw,exec,dev,auto,suid,uid=1000,gid=1000  0  0  
#/dev/sda7                                 /media/sda7  swap  defaults                                      0  0  
# coucou
/dev/sdb1                                  /media/sdb1  vfat  user,rw,exec,dev,auto,suid,uid=1000,gid=1000  0  0  
--------------------------------------------------------------------------------

====================== sda5/boot/extlinux/extlinux.conf: =======================

--------------------------------------------------------------------------------
## /boot/extlinux/extlinux.conf
##
## IMPORTANT WARNING
##
## The configuration of this file is generated automatically.
## Do not edit this file manually, use: extlinux-update


default l0
prompt 1
timeout 50

include themes/debian/theme.cfg
--------------------------------------------------------------------------------

============== sda5: Version of COM32(R) files used by Syslinux: ===============

 boot/extlinux/chain.c32            :  COM32R module (v4.xx)

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

cat: write error: Broken pipe
File descriptor 9 (/proc/30313/mounts) leaked on lvs invocation. Parent PID 4907: bash
File descriptor 63 (pipe:[396035]) leaked on lvs invocation. Parent PID 4907: bash
  No volume groups found

ADDITIONAL INFORMATION :
=================== log of boot-info 2015-11-18__09h17 ===================
boot-info version : 4ppa33
boot-sav version : 4ppa33
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa33
boot-info is executed in live-session (Ubuntu 14.04.3 LTS, trusty, Ubuntu, i686)
CPU op-mode(s):        32-bit, 64-bit
file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
ls: cannot access /home/usr/.config: No such file or directory

=================== os-prober:
/dev/sda1:Microsoft Windows XP Professionnel:Windows:chain
/dev/sda5:Ubuntu 14.04.3 LTS (14.04):Ubuntu:linux

=================== blkid:
/dev/sda1: UUID="30F0EE85F0EE50A0" TYPE="ntfs"
/dev/sda3: UUID="9CD1-44D6" TYPE="vfat"
/dev/sda5: UUID="dbd608aa-05e9-4a47-a919-f83c622129e8" TYPE="ext4"
/dev/loop0: TYPE="squashfs"
/dev/sda6: UUID="635e747e-5b4c-4ca4-af1c-2a9b7f94ca0d" TYPE="swap"
/dev/sda7: UUID="a25c6534-1a3d-4dfe-84e3-11b135333a4d" TYPE="swap"
/dev/sr0: LABEL="Ubuntu 14.04.3 LTS i386" TYPE="iso9660"


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

Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.

=================== /media/ubuntu/dbd608aa-05e9-4a47-a919-f83c622129e8/etc/grub.d/ :
drwxrwxrwx  2 root root     4096 nov.   1 09:17 grub.d
total 76
-rwxrwxrwx 1 root root  9424 juin  26 11:18 00_header
-rwxrwxrwx 1 root root  6058 mai    8  2014 05_debian_theme
-rwxrwxrwx 1 root root 11608 mai   15  2014 10_linux
-rwxrwxrwx 1 root root 10412 mai   15  2014 20_linux_xen
-rwxrwxrwx 1 root root  1992 mars  12  2014 20_memtest86+
-rwxrwxrwx 1 root root 11692 mai   15  2014 30_os-prober
-rwxrwxrwx 1 root root  1416 mai   15  2014 30_uefi-firmware
-rwxrwxrwx 1 root root   214 oct.   1  2011 40_custom
-rwxrwxrwx 1 root root   216 mai   15  2014 41_custom
-rwxrwxrwx 1 root root   483 oct.   1  2011 README




=================== /media/ubuntu/dbd608aa-05e9-4a47-a919-f83c622129e8/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=" vga=792"

# 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 live-session is not EFI-compatible.
SecureBoot maybe enabled.


=================== PARTITIONS & DISKS:
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,	ntldr,	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/sda1.
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,	/media/ubuntu/9CD1-44D6.
sda5	: sda,	not-sepboot,	grubenv-ok	grub2,	grub-pc ,	update-grub,	32,	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,	farbios,	/media/ubuntu/dbd608aa-05e9-4a47-a919-f83c622129e8.

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


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

Error: Can't have overlapping partitions.

Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only.
Error: Can't have a partition outside the disk!

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

Error: Can't have overlapping partitions.

Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only.
Error: Can't have a partition outside the disk!

=================== lsblk:
KNAME TYPE FSTYPE      SIZE LABEL    MODEL    UUID
sda   disk           465,8G          WDC WD50
sda1  part ntfs       78,1G                   30F0EE85F0EE50A0
sda2  part               1K
sda3  part vfat      309,5G                   9CD1-44D6
sda5  part ext4       73,2G                   dbd608aa-05e9-4a47-a919-f83c622129e8
sda6  part swap        1,8G                   635e747e-5b4c-4ca4-af1c-2a9b7f94ca0d
sda7  part swap        3,2G                   a25c6534-1a3d-4dfe-84e3-11b135333a4d
sr0   rom  iso9660  1015,3M Ubuntu 14.04.3 LTS i386
iHAS122
loop0 loop squashfs  978,3M

KNAME ROTA RO RM STATE   MOUNTPOINT
sda      1  0  0 running
sda1     1  0  0         /mnt/boot-sav/sda1
sda2     1  0  0
sda3     1  0  0         /media/ubuntu/9CD1-44D6
sda5     1  0  0         /media/ubuntu/dbd608aa-05e9-4a47-a919-f83c622129e8
sda6     1  0  0         [SWAP]
sda7     1  0  0         [SWAP]
sr0      1  0  1 running /cdrom
loop0    1  1  0         /rofs


=================== mount:
/cow on / type overlay (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
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)
/dev/sr0 on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
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)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
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/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=ubuntu)
/dev/sda3 on /media/ubuntu/9CD1-44D6 type vfat (rw,nosuid,nodev,uid=999,gid=999,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)
/dev/sda5 on /media/ubuntu/dbd608aa-05e9-4a47-a919-f83c622129e8 type ext4 (rw,nosuid,nodev,uhelper=udisks2)
gvfsd-fuse on /home/ubuntu/.gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)


=================== 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 sda5 sda6 sda7 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd full fuse hidraw0 hpet i2c-0 i2c-1 i2c-10 i2c-11 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 input kmsg log mapper mcelog mem memory_bandwidth net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda5 sda6 sda7 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom vfio vga_arbiter vhci vhost-net zero
ls /dev/mapper:  control

=================== 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 f0 00 3f 00 00 00  |........?...?...|
00000020  00 00 00 00 80 00 80 00  00 01 c4 09 00 00 00 00  |................|
00000030  00 00 0c 00 00 00 00 00  10 40 9c 00 00 00 00 00  |.........@......|
00000040  f6 00 00 00 01 00 00 00  a0 50 ee f0 85 ee f0 30  |.........P.....0|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb b8 c0 07  |.....3.....|....|
00000060  8e d8 e8 16 00 b8 00 0d  8e c0 33 db c6 06 0e 00  |..........3.....|
00000070  10 e8 53 00 68 00 0d 68  6a 02 cb 8a 16 24 00 b4  |..S.h..hj....$..|
00000080  08 cd 13 73 05 b9 ff ff  8a f1 66 0f b6 c6 40 66  |...s......f...@f|
00000090  0f b6 d1 80 e2 3f f7 e2  86 cd c0 ed 06 41 66 0f  |.....?.......Af.|
000000a0  b7 c9 66 f7 e1 66 a3 20  00 c3 b4 41 bb aa 55 8a  |..f..f. ...A..U.|
000000b0  16 24 00 cd 13 72 0f 81  fb 55 aa 75 09 f6 c1 01  |.$...r...U.u....|
000000c0  74 04 fe 06 14 00 c3 66  60 1e 06 66 a1 10 00 66  |t......f`..f...f|
000000d0  03 06 1c 00 66 3b 06 20  00 0f 82 3a 00 1e 66 6a  |....f;. ...:..fj|
000000e0  00 66 50 06 53 66 68 10  00 01 00 80 3e 14 00 00  |.fP.Sfh.....>...|
000000f0  0f 85 0c 00 e8 b3 ff 80  3e 14 00 00 0f 84 61 00  |........>.....a.|
00000100  b4 42 8a 16 24 00 16 1f  8b f4 cd 13 66 58 5b 07  |.B..$.......fX[.|
00000110  66 58 66 58 1f eb 2d 66  33 d2 66 0f b7 0e 18 00  |fXfX..-f3.f.....|
00000120  66 f7 f1 fe c2 8a ca 66  8b d0 66 c1 ea 10 f7 36  |f......f..f....6|
00000130  1a 00 86 d6 8a 16 24 00  8a e8 c0 e4 06 0a cc b8  |......$.........|
00000140  01 02 cd 13 0f 82 19 00  8c c0 05 20 00 8e c0 66  |........... ...f|
00000150  ff 06 10 00 ff 0e 0e 00  0f 85 6f ff 07 1f 66 61  |..........o...fa|
00000160  c3 a0 f8 01 e8 09 00 a0  fb 01 e8 03 00 fb eb fe  |................|
00000170  b4 01 8b f0 ac 3c 00 74  09 b4 0e bb 07 00 cd 10  |.....<.t........|
00000180  eb f2 c3 0d 0a 45 72 72  2e 20 6c 65 63 74 75 72  |.....Err. lectur|
00000190  65 20 64 69 73 71 75 65  00 0d 0a 4e 54 4c 44 52  |e disque...NTLDR|
000001a0  20 6d 61 6e 71 75 65 00  0d 0a 4e 54 4c 44 52 20  | manque...NTLDR |
000001b0  65 73 74 20 63 6f 6d 70  72 65 73 73 82 00 0d 0a  |est compress....|
000001c0  45 6e 74 72 65 7a 20 43  74 72 6c 2b 41 6c 74 2b  |Entrez Ctrl+Alt+|
000001d0  53 75 70 70 72 20 70 6f  75 72 20 72 65 64 82 6d  |Suppr pour red.m|
000001e0  61 72 72 65 72 0d 0a 00  0d 0a 00 00 00 00 00 00  |arrer...........|
000001f0  00 00 00 00 00 00 00 00  83 99 a8 be 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sda3
00000000  eb 58 90 6d 6b 64 6f 73  66 73 00 00 02 20 20 00  |.X.mkdosfs...  .|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 00 00 00  |........?.......|
00000020  c0 0a b0 26 b4 6a 02 00  00 00 00 00 02 00 00 00  |...&.j..........|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  00 01 29 d6 44 d1 9c 20  20 20 20 20 20 20 20 20  |..).D..         |
00000050  20 20 46 41 54 33 32 20  20 20 0e 1f be 77 7c ac  |  FAT32   ...w|.|
00000060  22 c0 74 0b 56 b4 0e bb  07 00 cd 10 5e eb f0 32  |".t.V.......^..2|
00000070  e4 cd 16 cd 19 eb fe 54  68 69 73 20 69 73 20 6e  |.......This is n|
00000080  6f 74 20 61 20 62 6f 6f  74 61 62 6c 65 20 64 69  |ot a bootable di|
00000090  73 6b 2e 20 20 50 6c 65  61 73 65 20 69 6e 73 65  |sk.  Please inse|
000000a0  72 74 20 61 20 62 6f 6f  74 61 62 6c 65 20 66 6c  |rt a bootable fl|
000000b0  6f 70 70 79 20 61 6e 64  0d 0a 70 72 65 73 73 20  |oppy and..press |
000000c0  61 6e 79 20 6b 65 79 20  74 6f 20 74 72 79 20 61  |any key to try a|
000000d0  67 61 69 6e 20 2e 2e 2e  20 0d 0a 00 00 00 00 00  |gain ... .......|
000000e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200

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

Filesystem     Type      Size  Used Avail Use% Mounted on
/cow           overlay  1007M  395M  612M  40% /
udev           devtmpfs  996M   12K  996M   1% /dev
tmpfs          tmpfs     202M  1.2M  201M   1% /run
/dev/sr0       iso9660  1015M 1015M     0 100% /cdrom
/dev/loop0     squashfs  979M  979M     0 100% /rofs
none           tmpfs     4.0K     0  4.0K   0% /sys/fs/cgroup
tmpfs          tmpfs    1007M  2.1M 1005M   1% /tmp
none           tmpfs     5.0M  4.0K  5.0M   1% /run/lock
none           tmpfs    1007M   80K 1007M   1% /run/shm
none           tmpfs     100M   56K  100M   1% /run/user
/dev/sda3      vfat      310G  285G   26G  92% /media/ubuntu/9CD1-44D6
/dev/sda5      ext4       72G   25G   44G  37% /media/ubuntu/dbd608aa-05e9-4a47-a919-f83c622129e8
/dev/sda1      fuseblk    79G   50G   29G  64% /mnt/boot-sav/sda1

=================== fdisk -l:
omitting empty partition (5)

Disk /dev/sda: 500.1 GB, 500107862016 bytes
240 heads, 63 sectors/track, 64601 cylinders, total 976773168 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: 0x5460168c

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63   163840319    81920128+   7  HPFS/NTFS/exFAT
/dev/sda2       163842046   976751999   406454977    f  W95 Ext'd (LBA)
/dev/sda3       327680703   976751999   324535648+   c  W95 FAT32 (LBA)
/dev/sda5       163842048   317249535    76703744   83  Linux
/dev/sda6       317251584   320913407     1830912   82  Linux swap / Solaris
/dev/sda7       320914503   327677804     3381651   82  Linux swap / Solaris


Partition outside the disk détecté.


=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sda5 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s   fix-windows-boot


=================== User settings
The settings chosen by the user will not act on the boot.

On a bien confirmation plutôt 3 fois qu'une que ton partitionnement est pourri, ça c'est fait.
On peut voir aussi l'occupation de tes partitions :

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

Filesystem     Type      Size  Used Avail Use% Mounted on
/cow           overlay  1007M  395M  612M  40% /
udev           devtmpfs  996M   12K  996M   1% /dev
tmpfs          tmpfs     202M  1.2M  201M   1% /run
/dev/sr0       iso9660  1015M 1015M     0 100% /cdrom
/dev/loop0     squashfs  979M  979M     0 100% /rofs
none           tmpfs     4.0K     0  4.0K   0% /sys/fs/cgroup
tmpfs          tmpfs    1007M  2.1M 1005M   1% /tmp
none           tmpfs     5.0M  4.0K  5.0M   1% /run/lock
none           tmpfs    1007M   80K 1007M   1% /run/shm
none           tmpfs     100M   56K  100M   1% /run/user
/dev/sda3      vfat      310G  285G   26G  92% /media/ubuntu/9CD1-44D6
/dev/sda5      ext4       72G   25G   44G  37% /media/ubuntu/dbd608aa-05e9-4a47-a919-f83c622129e8
/dev/sda1      fuseblk    79G   50G   29G  64% /mnt/boot-sav/sda1

Ta partition sda3 apparaît comme étant occupée par 285 Go. Je pense qu'elle contient des données précieuses pour toi. Donc je renouvelle mon conseil du post #2 pour tes sauvegardes sur DD externe. Pour ce qui est de la réparation proprement dite, c'est Nasman le boss qui pourra t'aider. Moi je me retire.

Dernière modification par malbo (Le 18/11/2015, à 10:59)

Hors ligne

#8 Le 18/11/2015, à 11:08

Nasman

Re : [Résolu] partitions non détectées : overlapping

Dans le mbr on voit à l'offset 1e6-1e9 les octets
bf 02  88 13
C'est l'adresse en hexa et little endian du début de la partition, soit 0x138802bf, soit 327680703 en décimal. a l'offset 1e2 on a 0c qui signifie fat32. Donc la troisième entrée du mbr (sda3) est indiquée en fat 32 commençant en 327680703. La taille de la partition en secteurs est indiquée par les octets commençant à l'offset 1ea, soient c1 0a b0 26.
Tu peux vérifier la taille à partir de ces valeurs.

Tu n'as toujours pas donné le résultat de

sudo dd if=/dev/sda bs=512 count=1 skip=163842046 | hexdump -C

PC fixe sous Bionic 64 bits et portable avec Focal 64 bits

Hors ligne

#9 Le 18/11/2015, à 11:41

MichelEtMarina

Re : [Résolu] partitions non détectées : overlapping

si, j'ai édité le message (je l'ai écris au-dessus)

voilà le résultat :

ubuntu@ubuntu:~$ sudo dd if=/dev/sda bs=512 count=1 skip=163842046 | hexdump -C
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 ef  |................|
000001c0  ff ff 05 ef ff ff 01 00  00 00 01 d0 24 09 00 00  |............$...|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
1+0 records in
1+0 records out
512 bytes (512 B) copied, 0,000201901 s, 2,5 MB/s
00000200

Hors ligne

#10 Le 18/11/2015, à 12:09

Nasman

Re : [Résolu] partitions non détectées : overlapping

Idem avec

sudo dd if=/dev/sda bs=512 count=1 skip=163842047 | hexdump -C

J'ai l'impression que c'est un peu le merdier dans les partitions logiques.


PC fixe sous Bionic 64 bits et portable avec Focal 64 bits

Hors ligne

#11 Le 18/11/2015, à 12:19

MichelEtMarina

Re : [Résolu] partitions non détectées : overlapping

ubuntu@ubuntu:~$ sudo dd if=/dev/sda bs=512 count=1 skip=163842047 | hexdump -C
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 ef  |................|
000001c0  ff ff 83 ef ff ff 01 00  00 00 00 d0 24 09 00 ef  |............$...|
000001d0  ff ff 05 ef ff ff 02 d0  24 09 00 e8 37 00 00 00  |........$...7...|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
1+0 records in
1+0 records out
512 bytes (512 B) copied, 0,000174699 s, 2,9 MB/s
00000200

je ne sais pas pourquoi c'est détraqué comme ça ... sur le live cd j'arrive à accéder aux partitions pourtant

Hors ligne

#12 Le 18/11/2015, à 13:28

Nasman

Re : [Résolu] partitions non détectées : overlapping

Normalement on devrait avoir :
Dans le secteur 163842046 (sda2) correspondant au premier ebr :
- une première entrée pointant vers la 1ère partition logique sda5
- une deuxième entrée pointant vers l'ebr suivant (qui lui contiendra une première entrée vers la deuxième partition logique et une deuxième entrée vers un éventuel ebr suivant...)

Or ici le premier ebr n'a qu'une entrée qui pointe non pas vers sda5 mais vers un autre ebr qui commence un secteur plus loin (d'où 163842047=163842046+1)
En 163842047 on retrouve une entrée vers sda5 en ext4 (id=83 à l'offset 1c2) et un début 1 secteur plus loin, donc en 163842048.
Il y a une autre entrée de type 05 (étendue=ebr suivant) qui commencerait plus loin.
Cet emplacement est donné par les octets 02 d0  24 09, soit 0x0924d002 en hexa, soit 153407490 secteurs par rapport à la première partition étendue, soit en 163842046+153407490=317249536

Donc commande suivante

sudo dd if=/dev/sda bs=512 count=1 skip=317249536 | hexdump -C

PC fixe sous Bionic 64 bits et portable avec Focal 64 bits

Hors ligne

#13 Le 18/11/2015, à 13:50

Nasman

Re : [Résolu] partitions non détectées : overlapping

On va continuer à analyser la situation mais je pense que l'on va pouvoir réparer tout cela avec les modifications suivantes :
- modification du mbr pour indiquer une taille plus petite à la partition étendue sda2 pour qu'elle se termine avant le début de sda3 (idéalement elle devrait se terminer au Mio inférieur de sda3, soit en 327679999. Cette taille permet d'englober la partition en ext4 et les deux partitions de swap.
- correction du premier ebr pour que sa première entrée pointe directement sur sda5 et la deuxième vers l'ebr situé en 317249536 (à confirmer avec la commande demandée), l'ebr du secteur 163842047 ne devrait plus être utilisé.


PC fixe sous Bionic 64 bits et portable avec Focal 64 bits

Hors ligne

#14 Le 18/11/2015, à 14:05

MichelEtMarina

Re : [Résolu] partitions non détectées : overlapping

ubuntu@ubuntu:~$ sudo dd if=/dev/sda bs=512 count=1 skip=317249536 | hexdump -C
1+0 records in
1+0 records out
512 bytes (512 B) copied, 0,000106053 s, 4,8 MB/s
00000000  44 b1 fe 40 2f 4a 9d db  66 7c bc 4b 9e 8b f4 5d  |D..@/J..f|.K...]|
00000010  76 d6 82 07 d5 48 d5 80  1e 25 17 fd 17 a2 a2 cf  |v....H...%......|
00000020  3f ff be cd 04 20 0d 6a  de 8f 8b a4 2c 00 ba 42  |?.... .j....,..B|
00000030  6c 0a 7b 77 58 b0 c0 8d  6e c2 1d db d5 cc 7a 8f  |l.{wX...n.....z.|
00000040  66 c8 a7 57 f7 6a db 8a  e4 0c bf 28 ea 01 f2 f0  |f..W.j.....(....|
00000050  83 6d 8a 26 7c 4a 67 cc  8e ae 24 8e 7c 3c 08 76  |.m.&|Jg...$.|<.v|
00000060  2c b7 6f 77 25 c9 bb 97  bf 74 67 8c 91 2b a2 4c  |,.ow%....tg..+.L|
00000070  c5 52 17 59 14 76 6d 2f  17 62 bf 6d ff c7 98 cc  |.R.Y.vm/.b.m....|
00000080  fd bc 5f b6 9f 1a 31 f8  fd d8 63 76 10 50 ea 6f  |.._...1...cv.P.o|
00000090  38 14 c3 14 62 bc 7a af  4b 30 05 67 7e 7b f6 43  |8...b.z.K0.g~{.C|
000000a0  ee 78 11 82 a6 2b 67 d5  6a 89 d0 0c 20 ec 1b ce  |.x...+g.j... ...|
000000b0  9e bd 5e 8a 56 b2 ae f2  cc 3c 46 30 e3 ee ed bf  |..^.V....<F0....|
000000c0  8f 3d 86 01 41 ec 36 1b  bf d1 4d 8d 6e ec ab bb  |.=..A.6...M.n...|
000000d0  3a 62 30 b8 7b 98 17 8c  fb 64 bd 7e 26 3e f0 23  |:b0.{....d.~&>.#|
000000e0  05 87 91 a2 a4 6f 39 cd  08 e2 65 35 11 90 ec ef  |.....o9...e5....|
000000f0  10 54 0b 3c 5c d7 01 f9  8b 6b 88 2a f0 22 6a 4d  |.T.<\....k.*."jM|
00000100  07 01 4b 28 46 e5 47 03  15 82 5d 7b 54 f0 5c b3  |..K(F.G...]{T.\.|
00000110  af 0f 6e 03 f3 b4 41 8b  42 a4 6e 30 ae e6 e2 3b  |..n...A.B.n0...;|
00000120  2d 59 0c 9d 42 2a b9 57  b6 40 cb bd 81 32 97 b3  |-Y..B*.W.@...2..|
00000130  9d 53 c3 5d b5 61 7c 04  d9 b4 f6 70 29 81 b1 a8  |.S.].a|....p)...|
00000140  92 91 b7 b4 6f 85 8f 16  dd b1 cf 8f 0d 8b 54 c0  |....o.........T.|
00000150  e2 03 e4 c0 0f 8d ad 60  9a 43 23 5d 30 d7 28 06  |.......`.C#]0.(.|
00000160  1a 2d 4c 3d 66 0d 67 0b  4c c0 e2 39 c1 b0 5e f0  |.-L=f.g.L..9..^.|
00000170  92 a0 26 63 2a 35 e5 48  42 d9 85 02 f3 02 a3 04  |..&c*5.HB.......|
00000180  60 77 70 48 8c e9 d0 1c  47 a8 5d 10 8c a4 cb cc  |`wpH....G.].....|
00000190  4c 60 45 7d 04 14 82 22  a8 70 5d b4 6a e0 41 da  |L`E}...".p].j.A.|
000001a0  37 d3 c3 88 1c 34 38 8d  d6 06 9c de a9 40 7f 20  |7....48......@. |
000001b0  a4 46 8b 2e 90 81 fc 20  d3 e2 2d 0e 2f 4d 00 ef  |.F..... ..-./M..|
000001c0  ff ff 82 ef ff ff 00 08  00 00 00 e0 37 00 00 ef  |............7...|
000001d0  ff ff 05 ef ff ff 0a bc  5c 09 65 33 67 00 00 00  |........\.e3g...|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200

Hors ligne

#15 Le 18/11/2015, à 14:10

Nasman

Re : [Résolu] partitions non détectées : overlapping

OK donc on voit l'entrée vers la première partition de swap sda6 (82 à l'offset 1c2) et qui commence 2048 secteurs plus loin, donc en 317251584.
Une deuxième entrée est présente, c'est un nouvel ebr commençant en 157072394+163842046=320914440.

Il devrait contenir une unique entrée vers sda7. A confirmer par

sudo dd if=/dev/sda bs=512 count=1 skip=320914440 | hexdump -C

PC fixe sous Bionic 64 bits et portable avec Focal 64 bits

Hors ligne

#16 Le 18/11/2015, à 14:12

MichelEtMarina

Re : [Résolu] partitions non détectées : overlapping

c'est vraiment sympa de m'aider comme ça.

ensuite j'aurai plus qu'à faire ce qui est indiqué ici : http://gparted.org/h2-fix-msdos-pt.php# … partitions étape 6 et suivantes ?

je devrai mettre 327679999 comme fin de sda2 ?

Hors ligne

#17 Le 18/11/2015, à 14:13

MichelEtMarina

Re : [Résolu] partitions non détectées : overlapping

ubuntu@ubuntu:~$ sudo dd if=/dev/sda bs=512 count=1 skip=320914440 | hexdump -C
1+0 records in
1+0 records out
512 bytes (512 B) copied00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
, 0,000104686 s, 4,9 MB/s
*
000001b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 ef  |................|
000001c0  ff ff 82 ef ff ff 3f 00  00 00 26 33 67 00 00 00  |......?...&3g...|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200

Hors ligne

#18 Le 18/11/2015, à 15:14

Nasman

Re : [Résolu] partitions non détectées : overlapping

Ok donc on a bien la dernière partition logique alignée cette fois ci à la tête et puis c'est tout (la deuxième entrée est vide).

Pour corriger les tables des partitions j'emploie dd avec ghex (éditeur hexa).
La démarche est la suivante (je te guiderais) :
- récupérer le mbr et les ebr sous forme de fichiers (avec dd)
- modifier ces fichiers avec ghex (en sachant quelles valeurs mettre)
- enregistrer la copie des fichiers modifiés (garder toujours un original sur support externe)
- réimplanter les nouveaux ebr (dd)

Si tu veux comprendre mieux la structure de ces machins, regarde la doc sur le mbr et sur les ebr


PC fixe sous Bionic 64 bits et portable avec Focal 64 bits

Hors ligne

#19 Le 18/11/2015, à 16:11

MichelEtMarina

Re : [Résolu] partitions non détectées : overlapping

sauvegarde des choses importantes effectuée
j'ai installé ghex et fait ceci :

sudo dd if=/dev/sda of=/media/ubuntu/KINGSTON/MBR.image bs=446 count=1
cd /media/ubuntu/KINGSTON
ghex MBR.imag

je dois changer quoi ?
et pour les ebr je n'ai pas encore trouvé comment les éditer

Hors ligne

#20 Le 18/11/2015, à 16:37

Nasman

Re : [Résolu] partitions non détectées : overlapping

No good. Tu as sauvegardé le mbr sans la table des partitions, ce qui peut être dommage puisque c'est justement elle que l'on va trafiquer (et une sauvegarde peut être utile).

Voici les directives

sudo dd if=/dev/sda of=/media/ubuntu/KINGSTON/MBR.image bs=512 count=1

pour le mbr

sudo dd if=/dev/sda of=/media/ubuntu/KINGSTON/ebr1.image bs=512 count=1 skip=163842046

premier ebr

Pour le mbr changer ceci

00000000  eb 63 90 d0 bc 00 7c fb  50 07 50 1f fc be 1b 7c  |.c....|.P.P....||
00000010  bf 1b 06 50 57 b9 e5 01  f3 a4 cb bd be 07 b1 04  |...PW...........|
00000020  38 6e 00 7c 09 75 13 83  c5 10 e2 f4 cd 18 8b f5  |8n.|.u..........|
00000030  83 c6 10 49 74 19 38 2c  74 f6 a0 b5 07 b4 07 8b  |...It.8,t.......|
00000040  f0 ac 3c 00 74 fc bb 07  00 b4 0e cd 10 eb f2 88  |..<.t...........|
00000050  4e 10 e8 46 00 73 2a fe  46 10 00 80 01 00 00 00  |N..F.s*.F.......|
00000060  00 00 00 00 ff fa 90 90  f6 c2 80 74 05 f6 c2 70  |...........t...p|
00000070  74 02 b2 80 ea 79 7c 00  00 31 c0 8e d8 8e d0 bc  |t....y|..1......|
00000080  00 20 fb a0 64 7c 3c ff  74 02 88 c2 52 bb 17 04  |. ..d|<.t...R...|
00000090  f6 07 03 74 06 be 88 7d  e8 17 01 be 05 7c b4 41  |...t...}.....|.A|
000000a0  bb aa 55 cd 13 5a 52 72  3d 81 fb 55 aa 75 37 83  |..U..ZRr=..U.u7.|
000000b0  e1 01 74 32 31 c0 89 44  04 40 88 44 ff 89 44 02  |..t21..D.@.D..D.|
000000c0  c7 04 10 00 66 8b 1e 5c  7c 66 89 5c 08 66 8b 1e  |....f..\|f.\.f..|
000000d0  60 7c 66 89 5c 0c c7 44  06 00 70 b4 42 cd 13 72  |`|f.\..D..p.B..r|
000000e0  05 bb 00 70 eb 76 b4 08  cd 13 73 0d 5a 84 d2 0f  |...p.v....s.Z...|
000000f0  83 d0 00 be 93 7d e9 82  00 66 0f b6 c6 88 64 ff  |.....}...f....d.|
00000100  40 66 89 44 04 0f b6 d1  c1 e2 02 88 e8 88 f4 40  |@f.D...........@|
00000110  89 44 08 0f b6 c2 c0 e8  02 66 89 04 66 a1 60 7c  |.D.......f..f.`||
00000120  66 09 c0 75 4e 66 a1 5c  7c 66 31 d2 66 f7 34 88  |f..uNf.\|f1.f.4.|
00000130  d1 31 d2 66 f7 74 04 3b  44 08 7d 37 fe c1 88 c5  |.1.f.t.;D.}7....|
00000140  30 c0 c1 e8 02 08 c1 88  d0 5a 88 c6 bb 00 70 8e  |0........Z....p.|
00000150  c3 31 db b8 01 02 cd 13  72 1e 8c c3 60 1e b9 00  |.1......r...`...|
00000160  01 8e db 31 f6 bf 00 80  8e c6 fc f3 a5 1f 61 ff  |...1..........a.|
00000170  26 5a 7c be 8e 7d eb 03  be 9d 7d e8 34 00 be a2  |&Z|..}....}.4...|
00000180  7d e8 2e 00 cd 18 eb fe  47 52 55 42 20 00 47 65  |}.......GRUB .Ge|
00000190  6f 6d 00 48 61 72 64 20  44 69 73 6b 00 52 65 61  |om.Hard Disk.Rea|
000001a0  64 00 20 45 72 72 6f 72  0d 0a 00 bb 01 00 b4 0e  |d. Error........|
000001b0  cd 10 ac 3c 00 75 f4 c3  8c 16 60 54 00 00 80 01  |...<.u....`T....|
000001c0  01 00 07 ef ff ff 3f 00  00 00 01 01 c4 09 00 ef  |......?.........|
000001d0  ff ff 0f ef ff ff fe 07  c4 09 02 f8 c3 09 00 ef  |............t0..|
000001e0  ff ff 0c ef ff ff bf 02  88 13 c1 0a b0 26 00 00  |.............&..|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|

Pour le premier ebr

00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 ef  |................|
000001c0  ff ff 83 ef ff ff 02 00  00 00 00 d0 24 09 00 ef  |............$...|
000001d0  ff ff 05 ef ff ff 02 d0  24 09 00 e8 37 00 00 00  |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|

L'ebr contient l'entrée directe vers sda5 et une deuxième entrée vers l'ebr situé en 317249536.

Je te laisse faire les modifs (en gras) sur une copie des fichiers sauvegardés à rebaptiser avec modif dans le nom puis tu postes

sudo dd if=/chemin/vers/un/des/fichiers/modifiés bs=512 count=1 | hexdump -C

PC fixe sous Bionic 64 bits et portable avec Focal 64 bits

Hors ligne

#21 Le 18/11/2015, à 17:00

MichelEtMarina

Re : [Résolu] partitions non détectées : overlapping

j'ai créé les deux sauvegardes et voici les deux version modifiées, j'ai relu 2 fois, c'est bon.

sudo dd if=/media/ubuntu/KINGSTON/MBRmodif.image bs=512 count=1 | hexdump -C
1+0 records in
1+0 records out
512 bytes (512 B) copied, 6,9358e-05 s, 7,4 MB/s
00000000  eb 63 90 d0 bc 00 7c fb  50 07 50 1f fc be 1b 7c  |.c....|.P.P....||
00000010  bf 1b 06 50 57 b9 e5 01  f3 a4 cb bd be 07 b1 04  |...PW...........|
00000020  38 6e 00 7c 09 75 13 83  c5 10 e2 f4 cd 18 8b f5  |8n.|.u..........|
00000030  83 c6 10 49 74 19 38 2c  74 f6 a0 b5 07 b4 07 8b  |...It.8,t.......|
00000040  f0 ac 3c 00 74 fc bb 07  00 b4 0e cd 10 eb f2 88  |..<.t...........|
00000050  4e 10 e8 46 00 73 2a fe  46 10 00 80 01 00 00 00  |N..F.s*.F.......|
00000060  00 00 00 00 ff fa 90 90  f6 c2 80 74 05 f6 c2 70  |...........t...p|
00000070  74 02 b2 80 ea 79 7c 00  00 31 c0 8e d8 8e d0 bc  |t....y|..1......|
00000080  00 20 fb a0 64 7c 3c ff  74 02 88 c2 52 bb 17 04  |. ..d|<.t...R...|
00000090  f6 07 03 74 06 be 88 7d  e8 17 01 be 05 7c b4 41  |...t...}.....|.A|
000000a0  bb aa 55 cd 13 5a 52 72  3d 81 fb 55 aa 75 37 83  |..U..ZRr=..U.u7.|
000000b0  e1 01 74 32 31 c0 89 44  04 40 88 44 ff 89 44 02  |..t21..D.@.D..D.|
000000c0  c7 04 10 00 66 8b 1e 5c  7c 66 89 5c 08 66 8b 1e  |....f..\|f.\.f..|
000000d0  60 7c 66 89 5c 0c c7 44  06 00 70 b4 42 cd 13 72  |`|f.\..D..p.B..r|
000000e0  05 bb 00 70 eb 76 b4 08  cd 13 73 0d 5a 84 d2 0f  |...p.v....s.Z...|
000000f0  83 d0 00 be 93 7d e9 82  00 66 0f b6 c6 88 64 ff  |.....}...f....d.|
00000100  40 66 89 44 04 0f b6 d1  c1 e2 02 88 e8 88 f4 40  |@f.D...........@|
00000110  89 44 08 0f b6 c2 c0 e8  02 66 89 04 66 a1 60 7c  |.D.......f..f.`||
00000120  66 09 c0 75 4e 66 a1 5c  7c 66 31 d2 66 f7 34 88  |f..uNf.\|f1.f.4.|
00000130  d1 31 d2 66 f7 74 04 3b  44 08 7d 37 fe c1 88 c5  |.1.f.t.;D.}7....|
00000140  30 c0 c1 e8 02 08 c1 88  d0 5a 88 c6 bb 00 70 8e  |0........Z....p.|
00000150  c3 31 db b8 01 02 cd 13  72 1e 8c c3 60 1e b9 00  |.1......r...`...|
00000160  01 8e db 31 f6 bf 00 80  8e c6 fc f3 a5 1f 61 ff  |...1..........a.|
00000170  26 5a 7c be 8e 7d eb 03  be 9d 7d e8 34 00 be a2  |&Z|..}....}.4...|
00000180  7d e8 2e 00 cd 18 eb fe  47 52 55 42 20 00 47 65  |}.......GRUB .Ge|
00000190  6f 6d 00 48 61 72 64 20  44 69 73 6b 00 52 65 61  |om.Hard Disk.Rea|
000001a0  64 00 20 45 72 72 6f 72  0d 0a 00 bb 01 00 b4 0e  |d. Error........|
000001b0  cd 10 ac 3c 00 75 f4 c3  8c 16 60 54 00 00 80 01  |...<.u....`T....|
000001c0  01 00 07 ef ff ff 3f 00  00 00 01 01 c4 09 00 ef  |......?.........|
000001d0  ff ff 0f ef ff ff fe 07  c4 09 02 f8 c3 09 00 ef  |................|
000001e0  ff ff 0c ef ff ff bf 02  88 13 c1 0a b0 26 00 00  |.............&..|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200
sudo dd if=/media/ubuntu/KINGSTON/ebr1modif.image bs=512 count=1 | hexdump -C
1+0 records in
1+0 records out
512 bytes (512 B) copied, 8,3187e-05 s, 6,2 MB/s
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 ef  |................|
000001c0  ff ff 83 ef ff ff 02 00  00 00 00 d0 24 09 00 ef  |............$...|
000001d0  ff ff 05 ef ff ff 02 d0  24 09 00 e8 37 00 00 00  |........$...7...|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200

maintenant il faut refaire les deux commandes en inversant le if et le of avec les fichiers modifiés je présume, pour écrire.

Hors ligne

#22 Le 18/11/2015, à 17:10

Nasman

Re : [Résolu] partitions non détectées : overlapping

Pour les commandes (attention c'est l'étape la plus risquée car ne pardonnant pas l'erreur)

Pour le mbr

sudo dd if=/chemin/vers/le/fichier/mbr/modifié of=/dev/sda bs=512 count=1

(être sur que le disque est bien sda)


Pour l'ebr

sudo dd if=/chemin/vers/le/fichier/ebr/modifié of=/dev/sda bs=512 count=1 seek=163842046

Attention au paramètre seek qui saute les 163842046 premiers secteurs sur la destination, la commande ne doit modifier que le secteur 163842046


PC fixe sous Bionic 64 bits et portable avec Focal 64 bits

Hors ligne

#23 Le 18/11/2015, à 17:41

MichelEtMarina

Re : [Résolu] partitions non détectées : overlapping

nikel !
gparted retrouve mes partitions, merci beaucoup Nasman pour le temps consacré.

mais bon, je ne sais toujours pas depuis quand et pourquoi mes partitions ont "changé de taille", vraiment étrange.

Hors ligne

#24 Le 18/11/2015, à 17:57

Nasman

Re : [Résolu] partitions non détectées : overlapping

Félicitation pour ta persévérance et ton sérieux.

En conclusion gparted est très sensible à la cohérence des tables des partitions et met le disque en non alloué au moindre pb alors que le système peut fonctionner (par exemple en ayant un identifiant de système de fichiers dans le mbr différent du formatage réel de la partition.


PC fixe sous Bionic 64 bits et portable avec Focal 64 bits

Hors ligne