#51 Le 29/06/2017, à 23:21
- Nasman
Re : [Résolu %]Récupérer des données dans une partition devenue non allouée
Si tu as réimplanté le fichier modifié alors je pense que la partition devrait être visible, soit depuis une session "Live", soit être directement fonctionnelle en bootant sur le disque.
PC fixe sous Bionic 64 bits et portable avec Focal 64 bits
Hors ligne
#52 Le 01/07/2017, à 12:42
- Arthourei
Re : [Résolu %]Récupérer des données dans une partition devenue non allouée
rebonjour,
voici ce que donne mon implantation
qwerty@qwerty:~$ sudo dd if=/dev/sda bs=512 count=1 skip=323883006 | hexdump -C
1+0 enregistrements lus
1+0 enregistrements écrits
512 bytes copied, 9,916e-05 s, 5,2 MB/s
00000000 6c 01 6b 55 b3 61 cb 03 e0 00 00 0f fb 33 2e 9c |l.kU.a.......3..|
00000010 47 c0 1b 5c a7 e6 9b 5c 06 9a df f7 8a f8 17 7b |G..\...\.......{|
00000020 a5 c5 16 9f d4 4f c4 26 4c 9f de 42 26 e4 dc 00 |.....O.&L..B&...|
00000030 ff 80 39 9c c7 af 77 b8 94 c7 30 d8 4e 48 a0 45 |..9...w...0.NH.E|
00000040 37 d2 16 3c 93 68 a9 7d 1a 79 a6 27 22 60 96 28 |7..<.h.}.y.'"`.(|
00000050 18 8d 5b 1c 44 bd a1 6a 61 03 ab fe f0 69 e0 f6 |..[.D..ja....i..|
00000060 bb eb 62 1b 0f 60 38 8c af 48 2d 28 1c 09 87 5f |..b..`8..H-(..._|
00000070 0e 70 9b e7 bf 18 80 90 2b 1b 78 90 a7 f7 ea 2f |.p......+.x..../|
00000080 f9 ab b3 d8 ff 9c ca cd 94 1e c4 0d ef 40 57 76 |.............@Wv|
00000090 27 ab 7e 0b f4 fa 48 56 95 c3 7c 0d 15 55 c3 6c |'.~...HV..|..U.l|
000000a0 1b 15 76 d5 27 18 dc 00 17 07 05 e9 58 88 a5 c4 |..v.'.......X...|
000000b0 e9 44 9a aa 38 e2 8f a3 1f 7d ae fc f1 e8 44 90 |.D..8....}....D.|
000000c0 d1 7b af 7f d5 67 9c 9b ba bf b3 8e 81 ce 00 51 |.{...g.........Q|
000000d0 49 82 90 a4 a9 c2 53 ff 13 56 40 1a 86 b9 c9 1c |I.....S..V@.....|
000000e0 b5 88 92 69 19 f3 b0 a4 ed 28 09 5f 4f 13 a0 a5 |...i.....(._O...|
000000f0 bb 5b 65 31 36 5f 6c c2 3b c2 c4 93 5a aa b6 07 |.[e16_l.;...Z...|
00000100 c0 00 1b fd c3 49 be fa 67 35 9f 3e 4a e9 ee 10 |.....I..g5.>J...|
00000110 20 03 0e e9 59 e8 a7 e5 d1 fd 01 d4 b9 fb 1b b1 | ...Y...........|
00000120 47 18 42 bc 67 1d 7a 31 93 de ec 75 21 a2 01 35 |G.B.g.z1...u!..5|
00000130 e9 37 aa c9 43 87 e2 d7 a0 9f c4 e7 4e a0 22 17 |.7..C.......N.".|
00000140 ee f4 94 bc c9 cd 15 8c dd b0 28 c9 dc 26 d2 0e |..........(..&..|
00000150 32 a9 38 48 ad 86 81 56 8d 8a 91 62 05 b3 94 d2 |2.8H...V...b....|
00000160 b8 10 af ae 37 39 a6 8e db 1a 5d 82 a8 86 60 62 |....79....]...`b|
00000170 07 da 4f 39 1b af 6a 38 b0 15 dc 00 00 82 56 27 |..O9..j8......V'|
00000180 a5 50 2e 59 da f1 92 59 ab ac 80 23 c1 e8 6b 9a |.P.Y...Y...#..k.|
00000190 34 73 f5 cd 41 68 5f 37 b6 b6 29 60 21 0b f8 fd |4s..Ah_7..)`!...|
000001a0 06 af b6 1f 36 ec 58 d6 22 19 67 75 67 73 c3 87 |....6.X.".gugs..|
000001b0 ae 11 a7 66 e1 59 91 99 1e 95 b8 b5 84 ee 00 fe |...f.Y..........|
000001c0 ff ff ff ff 83 fe ff ff 02 00 00 00 00 58 6a 26 |.............Xj&|
000001d0 00 fe ff ff 05 fe ff ff 02 58 6a 26 00 f0 7f 00 |.........Xj&....|
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
qwerty@qwerty:~$
Cela ne correspond pas à ce que Nasman m'a demandé de faire(voir#35/#43) donc je recommence
Dernière modification par Arthourei (Le 01/07/2017, à 12:45)
Tout le monde se plaint de sa mémoire mais personne de son raisonnement!
Hors ligne
#53 Le 01/07/2017, à 13:40
- Nasman
Re : [Résolu %]Récupérer des données dans une partition devenue non allouée
Effectivement tu as un "ff ff" de trop au début de la ligne "000001c0" ce qui décale les données. Le 55 aa de la fin est cependant bien placé.
Quand tu auras modifié ton fichier (par exemple avec le nom fichier_modif.bs) poste son contenu avec un
sudo dd if=~/fichier_modif.bs bs=512 count=1 | hexdump -C
.
Cela permettra de vérifier avant la réimplantation
points importants pour la réimplantation
if=nom_de_ton_fichier (adapter avec le nom et l'emplacement de ton fichier)
of=/dev/sda (le disque dur concerné)
bs=512 : taille des blocs copiés (ici 512 octets)
count=1 : un seul bloc de copié
seek=323883006 (indique le nombre de blocs sautés sur la destination pour implanter un secteur à partir de la LBA 323883006)
PC fixe sous Bionic 64 bits et portable avec Focal 64 bits
Hors ligne
#54 Le 01/07/2017, à 14:25
- Arthourei
Re : [Résolu %]Récupérer des données dans une partition devenue non allouée
hello
je viens de terminer l'implantation, en effet on voit la partition mais on n'y accède pour voir les fichiers
voici le message d'erreur
Maintenant je lis ton message(je l'avais remarqué également), je retourne voir et modifier éventuellement le fichier.
Voici ce que donne actuellement le code
qwerty@qwerty:~$ sudo dd if=/dev/sda bs=512 count=1 skip=323883006 | hexdump -C
1+0 enregistrements lus
1+0 enregistrements écrits
512 bytes copied, 0,000139199 s, 3,7 MB/s
00000000 6c 01 6b 55 b3 61 cb 03 e0 00 00 0f fb 33 2e 9c |l.kU.a.......3..|
00000010 47 c0 1b 5c a7 e6 9b 5c 06 9a df f7 8a f8 17 7b |G..\...\.......{|
00000020 a5 c5 16 9f d4 4f c4 26 4c 9f de 42 26 e4 dc 00 |.....O.&L..B&...|
00000030 ff 80 39 9c c7 af 77 b8 94 c7 30 d8 4e 48 a0 45 |..9...w...0.NH.E|
00000040 37 d2 16 3c 93 68 a9 7d 1a 79 a6 27 22 60 96 28 |7..<.h.}.y.'"`.(|
00000050 18 8d 5b 1c 44 bd a1 6a 61 03 ab fe f0 69 e0 f6 |..[.D..ja....i..|
00000060 bb eb 62 1b 0f 60 38 8c af 48 2d 28 1c 09 87 5f |..b..`8..H-(..._|
00000070 0e 70 9b e7 bf 18 80 90 2b 1b 78 90 a7 f7 ea 2f |.p......+.x..../|
00000080 f9 ab b3 d8 ff 9c ca cd 94 1e c4 0d ef 40 57 76 |.............@Wv|
00000090 27 ab 7e 0b f4 fa 48 56 95 c3 7c 0d 15 55 c3 6c |'.~...HV..|..U.l|
000000a0 1b 15 76 d5 27 18 dc 00 17 07 05 e9 58 88 a5 c4 |..v.'.......X...|
000000b0 e9 44 9a aa 38 e2 8f a3 1f 7d ae fc f1 e8 44 90 |.D..8....}....D.|
000000c0 d1 7b af 7f d5 67 9c 9b ba bf b3 8e 81 ce 00 51 |.{...g.........Q|
000000d0 49 82 90 a4 a9 c2 53 ff 13 56 40 1a 86 b9 c9 1c |I.....S..V@.....|
000000e0 b5 88 92 69 19 f3 b0 a4 ed 28 09 5f 4f 13 a0 a5 |...i.....(._O...|
000000f0 bb 5b 65 31 36 5f 6c c2 3b c2 c4 93 5a aa b6 07 |.[e16_l.;...Z...|
00000100 c0 00 1b fd c3 49 be fa 67 35 9f 3e 4a e9 ee 10 |.....I..g5.>J...|
00000110 20 03 0e e9 59 e8 a7 e5 d1 fd 01 d4 b9 fb 1b b1 | ...Y...........|
00000120 47 18 42 bc 67 1d 7a 31 93 de ec 75 21 a2 01 35 |G.B.g.z1...u!..5|
00000130 e9 37 aa c9 43 87 e2 d7 a0 9f c4 e7 4e a0 22 17 |.7..C.......N.".|
00000140 ee f4 94 bc c9 cd 15 8c dd b0 28 c9 dc 26 d2 0e |..........(..&..|
00000150 32 a9 38 48 ad 86 81 56 8d 8a 91 62 05 b3 94 d2 |2.8H...V...b....|
00000160 b8 10 af ae 37 39 a6 8e db 1a 5d 82 a8 86 60 62 |....79....]...`b|
00000170 07 da 4f 39 1b af 6a 38 b0 15 dc 00 00 82 56 27 |..O9..j8......V'|
00000180 a5 50 2e 59 da f1 92 59 ab ac 80 23 c1 e8 6b 9a |.P.Y...Y...#..k.|
00000190 34 73 f5 cd 41 68 5f 37 b6 b6 29 60 21 0b f8 fd |4s..Ah_7..)`!...|
000001a0 06 af b6 1f 36 ec 58 d6 22 19 67 75 67 73 c3 87 |....6.X.".gugs..|
000001b0 ae 11 a7 66 e1 59 91 99 1e 95 b8 b5 84 ee 00 fe |...f.Y..........|
000001c0 ff ff 83 fe ff ff 02 00 00 00 00 58 6a 26 00 fe |...........Xj&..|
000001d0 ff ff 05 fe ff ff 02 58 6a 26 00 f0 7f 00 00 00 |.......Xj&......|
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
qwerty@qwerty:~$
ATAL
Dernière modification par Arthourei (Le 01/07/2017, à 14:29)
Tout le monde se plaint de sa mémoire mais personne de son raisonnement!
Hors ligne
#55 Le 01/07/2017, à 14:31
- Nasman
Re : [Résolu %]Récupérer des données dans une partition devenue non allouée
En mode "Live" que donne a présent
sudo fdisk -l
PC fixe sous Bionic 64 bits et portable avec Focal 64 bits
Hors ligne
#56 Le 01/07/2017, à 14:38
- Arthourei
Re : [Résolu %]Récupérer des données dans une partition devenue non allouée
qwerty@qwerty:~$ sudo fdisk -l
Disque /dev/loop0 : 1,3 GiB, 1367113728 octets, 2670144 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disque /dev/sda : 465,8 GiB, 500107862016 octets, 976773168 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xd9b3496e
Périphérique Amorçage Start Fin Secteurs Size Id Type
/dev/sda1 2048 30715903 30713856 14,7G 1c W95 FAT32 masquée
/dev/sda2 * 30715904 323882078 293166175 139,8G 7 HPFS/NTFS/exFAT
/dev/sda3 323883006 976771071 652888066 311,3G 5 Étendue
/dev/sda5 323883008 968386559 644503552 307,3G 83 Linux
/dev/sda6 968388608 976771071 8382464 4G 82 partition d'échang
Disque /dev/sdb : 14,5 GiB, 15523119104 octets, 30318592 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xb4a1685c
Périphérique Amorçage Start Fin Secteurs Size Id Type
/dev/sdb1 * 8192 30318591 30310400 14,5G c W95 FAT32 (LBA)
Disque /dev/zram0 : 987,8 MiB, 1035771904 octets, 252874 secteurs
Unités : sectors of 1 * 4096 = 4096 octets
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disque /dev/zram1 : 987,8 MiB, 1035771904 octets, 252874 secteurs
Unités : sectors of 1 * 4096 = 4096 octets
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disque /dev/sdc : 14,9 GiB, 15931539456 octets, 31116288 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disque /dev/sda : 465,8 GiB, 500107862016 octets, 976773168 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xd9b3496e
Périphérique Amorçage Start Fin Secteurs Size Id Type
/dev/sda1 2048 30715903 30713856 14,7G 1c W95 FAT32 masquée
/dev/sda2 * 30715904 323882078 293166175 139,8G 7 HPFS/NTFS/exFAT
/dev/sda3 323883006 976771071 652888066 311,3G 5 Étendue
/dev/sda5 323883008 968386559 644503552 307,3G 83 Linux
/dev/sda6 968388608 976771071 8382464 4G 82 partition d'échang
Disque /dev/sdb : 14,5 GiB, 15523119104 octets, 30318592 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xb4a1685c
Périphérique Amorçage Start Fin Secteurs Size Id Type
/dev/sdb1 * 8192 30318591 30310400 14,5G c W95 FAT32 (LBA)
Disque /dev/zram0 : 987,8 MiB, 1035771904 octets, 252874 secteurs
Unités : sectors of 1 * 4096 = 4096 octets
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disque /dev/zram1 : 987,8 MiB, 1035771904 octets, 252874 secteurs
Unités : sectors of 1 * 4096 = 4096 octets
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disque /dev/sdc : 14,9 GiB, 15931539456 octets, 31116288 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000
Périphérique Amorçage Start Fin Secteurs Size Id Type
/dev/sdc1 8192 31116287 31108096 14,9G c W95 FAT32 (LBA)
qwerty@qwerty:~$
Dernière modification par Arthourei (Le 01/07/2017, à 14:46)
Tout le monde se plaint de sa mémoire mais personne de son raisonnement!
Hors ligne
#57 Le 01/07/2017, à 14:47
- Nasman
Re : [Résolu %]Récupérer des données dans une partition devenue non allouée
fdisk voit à présent les partitions.
Qu'affiche gparted à présent ?
PC fixe sous Bionic 64 bits et portable avec Focal 64 bits
Hors ligne
#58 Le 01/07/2017, à 15:04
- Arthourei
Re : [Résolu %]Récupérer des données dans une partition devenue non allouée
Voici Gparted
Je poste après avoir naviguer dans windows, 2 fichiers
a) Results de Boot-Repair.
Semblerai qu'il y a 14 mois, fiston aie bidouiller dans son ordi.
Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016]
============================= 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 (,msdos6)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
=> Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos1)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fat part_msdos biosdisk
---------------------------------------------------------------------------
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: Windows 7/2008: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /boot/bcd
sda2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 7/2008: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
sda3: __________________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
sda5: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: SYSLINUX 6.03 20151222............................................@.....2....0............A20 gate n
Boot sector info: Syslinux looks at sector 844288 of /dev/sdb1 for its
second stage. SYSLINUX is installed in the
/boot/syslinux directory. No errors found in the Boot
Parameter Block.
Operating System:
Boot files: /boot/grub/menu.lst /boot/grub/grub.cfg
/boot/syslinux/syslinux.cfg /EFI/BOOT/grubx64.efi
/ubuntu1/casper/vmlinuz.efi
/ubuntu1/EFI/BOOT/grubx64.efi
/boot/grub/i386-pc/core.img /boot/syslinux/ldlinux.sys
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 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
Disklabel type: dos
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 2,048 30,715,903 30,713,856 1c Hidden W95 FAT32 (LBA)
/dev/sda2 * 30,715,904 323,882,078 293,166,175 7 NTFS / exFAT / HPFS
/dev/sda3 323,883,006 976,771,071 652,888,066 5 Extended
/dev/sda5 968,388,608 976,771,071 8,382,464 82 Linux swap / Solaris
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 14.5 GiB, 15523119104 bytes, 30318592 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
Disklabel type: dos
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 * 8,192 30,318,591 30,310,400 c W95 FAT32 (LBA)
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 3C98-AC5D vfat RECOVERY
/dev/sda2 9C4C50794C504FDE ntfs OS
/dev/sda5 23dfaad7-0d00-43f5-bcb3-f674dcda3a65 swap
/dev/sdb1 335F-B2FD vfat MULTISYSTEM
/dev/zram0 20c95c2e-4e1e-41b8-a0af-48c250ce1faf swap
/dev/zram1 92825e6b-ca02-48da-a62d-05a72be40934 swap
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 May 14 05:23 ata-ST9500325AS_5VE4QZ8M -> ../../sda
lrwxrwxrwx 1 root root 10 May 14 05:23 ata-ST9500325AS_5VE4QZ8M-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 May 14 05:23 ata-ST9500325AS_5VE4QZ8M-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 May 14 05:23 ata-ST9500325AS_5VE4QZ8M-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 May 14 05:23 ata-ST9500325AS_5VE4QZ8M-part5 -> ../../sda5
lrwxrwxrwx 1 root root 9 May 14 05:23 ata-Slimtype_DVD_A_DS8A3S_909250053183 -> ../../sr0
lrwxrwxrwx 1 root root 9 May 14 05:23 usb-Multiple_Card_Reader_058F63666433-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 May 14 05:23 usb-Multiple_Card_Reader_058F63666433-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 May 14 05:23 wwn-0x5000c5001be7dc19 -> ../../sda
lrwxrwxrwx 1 root root 10 May 14 05:23 wwn-0x5000c5001be7dc19-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 May 14 05:23 wwn-0x5000c5001be7dc19-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 May 14 05:23 wwn-0x5000c5001be7dc19-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 May 14 05:23 wwn-0x5000c5001be7dc19-part5 -> ../../sda5
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
=========================== sdb1/boot/grub/menu.lst: ===========================
--------------------------------------------------------------------------------
# This is a sample menu.lst file. You should make some changes to it.
# The old install method of booting via the stage-files has been removed.
# Please install GRLDR boot strap code to MBR with the bootlace.com
# utility under DOS/Win9x or Linux.
timeout 30
default /default
#convert -resize 640x480 -colors 14 /media/multisystem/boot/splash/splash.png /media/multisystem/boot/splash/splash.xpm.gz
splashimage=/boot/splash/splash.xpm.gz
#color blue/green yellow/red white/magenta white/magenta
foreground=0033FF
background=FF3300
#http://diddy.boot-land.net/grub4dos/Grub4dos.htm
#http://www.boot-land.net/forums/index.php?showforum=66
#http://diddy.boot-land.net/grub4dos/files/syntax.htm
#Ne supprimez pas ce marqueur! / Do not remove this marker!
#MULTISYSTEM_START
#MULTISYSTEM_MENU_DEBUT|11-05-2017-14:35:29-920703160|ubcd536.iso|multisystem-ubcd|622Mio|
title ubcd536.iso
find --set-root /ubcd536.iso
map /ubcd536.iso (0xff) || map --mem /ubcd536.iso (0xff)
map --hook
chainloader (0xff)
boot
#MULTISYSTEM_MENU_FIN|11-05-2017-14:35:29-920703160|ubcd536.iso|multisystem-ubcd|622Mio|
#MULTISYSTEM_STOP
#Ne supprimez pas ce marqueur! / Do not remove this marker!
#http://diddy.boot-land.net/grub4dos/files/syntax.htm
title Chainloader into GRUB 2
find --set-root /boot/grub/boot.img
chainloader /boot/grub/boot.img
boot
#title Chainloader into Syslinux
#map (hd0) (hd0)
#map (hd0) (hd0)
#chainloader (hd0,0)+1
#rootnoverify (hd0,0)
##Autre solution pour chainer Syslinux
##faire une copie du mbr de la clé USB
##dd if=/dev/sd?1 of=/media/multisystem/syslinux.mbr bs=512 count=1
#title Chainloader into Syslinux
#find --set-root --ignore-floppies --ignore-cd /syslinux.mbr
#map (hd0) (hd0)
#map (hd0) (hd0)
#map --rehook
#find --set-root --ignore-floppies --ignore-cd /syslinux.mbr
#chainloader /syslinux.mbr
##Autre solution pour chainer Syslinux
#title Chainloader into Syslinux
#find --set-root /boot/syslinux/ldlinux.sys
#chainloader /boot/syslinux/ldlinux.sys
##Autre solution pour chainer Syslinux
#title Chainloader into Syslinux
#find --set-root --ignore-floppies --ignore-cd /boot/syslinux/redir.img
#kernel /boot/syslinux/memdisk
#initrd /boot/syslinux/redir.img
#http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/
title FreeDos
kernel /boot/syslinux/memdisk
initrd /boot/img/fdboot.img
title find and load NTLDR of Windows NT/2K/XP
fallback 1
find --set-root --ignore-floppies --ignore-cd /ntldr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /ntldr
chainloader /ntldr
savedefault --wait=2
title find and load BOOTMGR of Windows VISTA/SEVEN
fallback 2
find --set-root --ignore-floppies --ignore-cd /bootmgr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /bootmgr
chainloader /bootmgr
savedefault --wait=2
title find and load CMLDR, the Recovery Console of Windows NT/2K/XP
fallback 3
find --set-root --ignore-floppies --ignore-cd /cmldr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /cmldr
chainloader /cmldr
#####################################################################
# write string "cmdcons" to memory 0000:7C03 in 2 steps:
#####################################################################
# step 1. Write 4 chars "cmdc" at 0000:7C03
write 0x7C03 0x63646D63
# step 2. Write 3 chars "ons" and an ending null at 0000:7C07
write 0x7C07 0x00736E6F
savedefault --wait=2
title find and load IO.SYS of Windows 9x/Me
fallback 4
find --set-root /io.sys
chainloader /io.sys
savedefault --wait=2
title find and boot 0PE.ISO
fallback 5
find --set-root /0PE/0PE.ISO
map /0PE/0PE.ISO (0xff) || map --mem /0PE/0PE.ISO (0xff)
map --hook
chainloader (0xff)
savedefault --wait=2
title find and boot MicroPE.ISO
fallback 6
find --set-root /boot/MicroPE.ISO
map /boot/MicroPE.ISO (0xff) || map --mem /boot/MicroPE.ISO (0xff)
map --hook
chainloader (0xff)
savedefault --wait=2
title find and boot ubcd.iso
fallback 8
find --set-root /ubcd.iso
map /ubcd.iso (0xff) || map --mem /ubcd.iso (0xff)
map --hook
chainloader (0xff)
savedefault --wait=2
title commandline
commandline
title reboot
reboot
title halt
halt
--------------------------------------------------------------------------------
=========================== sdb1/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
#insmod gpt
#insmod pc
#insmod gfxmenu
#
#insmod videotest
insmod tga
insmod png
insmod gfxterm
insmod lspci
#insmod vbeinfo
insmod vbe
insmod ntfs
insmod chain
insmod biosdisk
insmod font
#http://grub.enbug.org/ThemeFormat
#http://grub.gibibit.com/Theme_format#colors
#http://code.google.com/p/burg/wiki/InstallUbuntu
#http://code.google.com/p/burg/downloads/list
#http://ubuntuforums.org/showthread.php?t=1195275
#pour acces a grub2 du bootloader principal modifier dans fichier: /etc/default/grub
#GRUB_HIDDEN_TIMEOUT=10 #0 par defaut
#GRUB_HIDDEN_TIMEOUT_QUIET=false #true d'origine
#sudo update-grub
#echo -n "Press ESC to see the menu... "
#if sleep --verbose --interruptible 5 ; then
#set timeout=0
#fi
set default=0
set timeout=30
set fallback=1
search --no-floppy --fs-uuid --set=root 335F-B2FD
set root=${root}
#http://grub.enbug.org/gfxterm
if loadfont /boot/polices/unicode.pf2 ; then
set gfxmode=640x480
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
if background_image /boot/splash/splash.png ; then
#text no sel/fond ecran
set color_normal=white/black #1
#text sel/fond ecran sel
set color_highlight=green/white #1
else
set menu_color_normal=white/black #2
set menu_color_highlight=green/white #2
set color_normal=white/magenta #2
set color_highlight=green/white #2
fi
#
#
#Pour activer le thème graphique multisystem décommentez les 4 lignes ci-dessous
#set gfxmode=640x480
#set theme=($root)/boot/grub/themes/multisystem/theme.txt
#export theme
#loadfont /boot/grub/themes/multisystem/fonts/Helvetica-8.pf2
#
#
#Ne supprimez pas ce marqueur! / Do not remove this marker!
#MULTISYSTEM_START
#MULTISYSTEM_MENU_DEBUT|11-05-2017-14:32:06-412329520|rescatux.iso|multisystem-debian|371Mio|
menuentry "Rescatux i386" {
search --set -f "/rescatux.iso"
loopback loop "/rescatux.iso"
linux (loop)/live/vmlinuz findiso=/rescatux.iso rootfstype=vfat boot=live config quiet quickreboot
initrd (loop)/live/initrd.img
}
menuentry "Rescatux amd64" {
search --set -f "/rescatux.iso"
loopback loop "/rescatux.iso"
linux (loop)/live/vmlinuz2 findiso=/rescatux.iso rootfstype=vfat boot=live config quiet quickreboot
initrd (loop)/live/initrd2.img
}
#MULTISYSTEM_MENU_FIN|11-05-2017-14:32:06-412329520|rescatux.iso|multisystem-debian|371Mio|
#MULTISYSTEM_MENU_DEBUT|11-05-2017-14:38:20-187743720|elementaryos-0.4-stable-amd64.20160909.iso|multisystem-elementary|1253Mio|
menuentry "elementaryos-0.4-stable-amd64.20160909.iso" {
search --set -f "/elementaryos-0.4-stable-amd64.20160909.iso"
loopback loop "/elementaryos-0.4-stable-amd64.20160909.iso"
linux (loop)/casper/vmlinuz root=UUID=335F-B2FD locale=fr_FR bootkbd=be console-setup/layoutcode=be console-setup/variantcode=oss_latin9 iso-scan/filename=/elementaryos-0.4-stable-amd64.20160909.iso boot=casper quiet splash --
initrd (loop)/casper/initrd.lz
}
#MULTISYSTEM_MENU_FIN|11-05-2017-14:38:20-187743720|elementaryos-0.4-stable-amd64.20160909.iso|multisystem-elementary|1253Mio|
#MULTISYSTEM_MENU_DEBUT|11-05-2017-14:59:50-444050960|ubuntu1|multisystem-ubuntu|1363Mio|
menuentry "(generic) lxle_16_04_2_64.iso" {
linux /ubuntu1/casper/vmlinuz.efi live-media-path=/ubuntu1/casper root=UUID=335F-B2FD file=/cdrom/ubuntu1/preseed/custom.seed maybe-ubiquity debian-installer/language=fr keyboard-configuration/layoutcode=be keyboard-configuration/variantcode=oss_latin9 boot=casper showmounts ignore_uuid noprompt quiet splash --
initrd /ubuntu1/casper/initrd.lz
}
#MULTISYSTEM_MENU_FIN|11-05-2017-14:59:50-444050960|ubuntu1|multisystem-ubuntu|1363Mio|
#MULTISYSTEM_STOP
#Ne supprimez pas ce marqueur! / Do not remove this marker!
menuentry "______________Grub4Dos______________" {
echo
}
#http://grub4dos.sourceforge.net/
#http://grub4dos.sourceforge.net/wiki/index.php/Grub4dos_tutorial
menuentry "Grub4Dos" {
linux /boot/grub.exe --config-file=/boot/grub/menu.lst
}
menuentry "______________Syslinux______________" {
echo
}
#solution tordue, mais qui passe partout ...
#menuentry "Syslinux" {
#search --set -f /boot/syslinux/redir.img
# linux16 /boot/syslinux/memdisk
# initrd16 /boot/syslinux/redir.img
#}
#http://syslinux.zytor.com
menuentry "Syslinux" {
search --set -f "/boot/syslinux/ldlinux.sys"
drivemap -s (hd0) $root
chainloader +1
}
#Autre solution pour chainer Syslinux via une copie du mbr
#dd if=/dev/sd?1 of=/media/multisystem/boot/img/syslinux.mbr bs=512 count=1
#menuentry "Syslinux" {
#search --set -f "/boot/img/syslinux.mbr"
#drivemap -s (hd0) $root
#chainloader /boot/img/syslinux.mbr
#}
menuentry "______________UTIL______________" {
echo
}
## for debugging set debug=efi
#menuentry "0-testfakebios" {
# hexdump -s 0xc0000 (mem)
# fakebios
# hexdump -s 0xc0000 (mem)
## deliberate error to get wait for key
# xxx
#}
#How to test GRUB 2 on Macbook
#http://grub.enbug.org/TestingOnMacbook
#
#http://wiki.gentoo.org/wiki/GRUB2
#
#menuentry "Windows 7 BIOS/MBR" {
# insmod part_msdos
# insmod ntldr
# insmod ntfs
# ntldr (hd0,msdos1)/bootmgr
#}
#menuentry "Windows XP BIOS/MBR" {
# insmod part_msdos
# insmod ntldr
# insmod ntfs
# ntldr (hd0,msdos1)/ntldr
#}
#
#chainer un autre grub
#menuentry "grub.cfg auf /dev/sdb1" {
# configfile (hd1,1)/boot/grub/grub.cfg
#}
#menuentry "Chain other configfile" {
#configfile /boot/grub/grub-xxx.cfg
#}
#
#menuentry "Return default menu" {
#chainloader /boot/grub/boot.img
#}
#chainer win ou autre OS
#menuentry "Chainer UUID de la partition" {
#insmod=ntfs
#set root=(hd0,1)
#search --no-floppy --fs-uuid --set=root xxx-xxx
# drivemap -s (hd0) $root
# chainloader +1
#}
#Booter une iso avec memdisk
#menuentry "FreeBSD" {
# search --set -f "/FreeBSD-10.2-RELEASE-amd64-bootonly.iso"
# linux16 /boot/syslinux/memdisk iso raw
# initrd16 /FreeBSD-10.2-RELEASE-amd64-bootonly.iso
#}
#http://www.plop.at/en/bootmanagerdl.html
menuentry "PLoP Boot Manager" {
linux16 /boot/img/plpbt
}
#http://www.supergrubdisk.org/
#http://developer.berlios.de/project/showfiles.php?group_id=10921
#SG2D (Floppy, CD & USB in one)
#super_grub_disk_hybrid-1.98s1.iso
menuentry "Super Grub2 Disk" {
search --set -f /boot/img/sgdh.iso
linux16 /boot/syslinux/memdisk
initrd16 /boot/img/sgdh.iso
}
menuentry "Super Grub Disk" {
search --set -f /boot/img/sgdfr.img
linux16 /boot/syslinux/memdisk
initrd16 /boot/img/sgdfr.img
}
menuentry "Smart Boot Manager" {
search --set -f /boot/img/sbootmgr.dsk
linux16 /boot/syslinux/memdisk
initrd16 /boot/img/sbootmgr.dsk
}
#Site: http://boot.kernel.org/index.html
#Téléchargement: http://boot.kernel.org/gpxe_images/gpxe.lkrn
menuentry "BKO (boot.kernel.org)" {
search --set -f /boot/img/gpxe.lkrn
linux16 /boot/img/gpxe.lkrn
}
#http://www.memtest.org/#downiso
menuentry "memtest86+" {
linux16 /boot/img/memtest86+.bin
}
menuentry "vbeinfo" {
vbeinfo
read
}
menuentry "lspci" {
lspci
read
}
menuentry "gfxpayload 640x480" {
set gfxpayload=640x480
echo gfxpayload=${gfxpayload} press enter
read
}
menuentry "gfxpayload 800x600" {
set gfxpayload=800x600
echo gfxpayload=${gfxpayload} press enter
read
}
menuentry "gfxpayload 1024x768" {
set gfxpayload=1024x768
echo gfxpayload=${gfxpayload} press enter
read
}
menuentry "gfxpayload 1280x1024" {
set gfxpayload=1280x1024
echo gfxpayload=${gfxpayload} press enter
read
}
menuentry "Reboot" {
insmod reboot
reboot
}
--------------------------------------------------------------------------------
======================= sdb1/boot/syslinux/syslinux.cfg: =======================
--------------------------------------------------------------------------------
default /boot/syslinux/vesamenu.c32
prompt 0
timeout 40
ontimeout 0
MENU TITLE MultiSystem LiveUSB
MENU DEFAULT 0
MENU BACKGROUND /boot/splash/splash.png
#Ne supprimez pas ce marqueur! / Do not remove this marker!
#MULTISYSTEM_START
#MULTISYSTEM_STOP
#Ne supprimez pas ce marqueur! / Do not remove this marker!
label 0
MENU LABEL PLoP Boot Manager
KERNEL /boot/img/plpbt
label 1
MENU LABEL Grub2
kernel /boot/syslinux/chain.c32 file=/boot/grub/boot.img
label 2
MENU LABEL Grub4Dos
kernel /boot/grub.exe
LABEL 3
MENU LABEL Hardware Detection Tool
KERNEL /boot/syslinux/hdt.c32
#Exemple pour booter un iso avec version recente de memdisk
#label 4
#MENU LABEL boot iso
#KERNEL /boot/syslinux/memdisk
#APPEND iso raw initrd=/g4u.iso
#LABEL 5
#KERNEL /boot/syslinux/memdisk
#APPEND initrd=freebsd.img floppy
#LABEL 6
#MENU LABEL Chainer win
#KERNEL /boot/syslinux/chain.c32 ntldr=/ntldr
#LABEL 7
#MENU LABEL Chainer partition 2
#kernel /boot/syslinux/chain.c32
#append hd0 2
--------------------------------------------------------------------------------
=================== sdb1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/menu.lst 1
?? = ?? boot/grub/grub.cfg 1
?? = ?? boot/grub/i386-pc/core.img 1
================= sdb1: Location of files loaded by Syslinux: ==================
GiB - GB File Fragment(s)
?? = ?? boot/syslinux/syslinux.cfg 1
?? = ?? boot/syslinux/ldlinux.sys 1
?? = ?? boot/syslinux/chain.c32 1
?? = ?? boot/syslinux/hdt.c32 1
?? = ?? boot/syslinux/ifplop.c32 1
?? = ?? boot/syslinux/ldlinux.c32 1
?? = ?? boot/syslinux/libcom32.c32 1
?? = ?? boot/syslinux/libutil.c32 1
?? = ?? boot/syslinux/menu.c32 1
?? = ?? boot/syslinux/reboot.c32 1
?? = ?? boot/syslinux/vesamenu.c32 1
============== sdb1: Version of COM32(R) files used by Syslinux: ===============
boot/syslinux/chain.c32 : not a COM32/COM32R module
boot/syslinux/hdt.c32 : not a COM32/COM32R module
boot/syslinux/ifplop.c32 : not a COM32/COM32R module
boot/syslinux/ldlinux.c32 : not a COM32/COM32R module
boot/syslinux/libcom32.c32 : not a COM32/COM32R module
boot/syslinux/libutil.c32 : not a COM32/COM32R module
boot/syslinux/menu.c32 : not a COM32/COM32R module
boot/syslinux/reboot.c32 : not a COM32/COM32R module
boot/syslinux/vesamenu.c32 : not a COM32/COM32R module
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown BootLoader on sda3
=============================== StdErr Messages: ===============================
hexdump: /dev/sda3: No such device or address
hexdump: /dev/sda3: No such device or address
File descriptor 9 (/proc/8030/mounts) leaked on lvs invocation. Parent PID 14755: bash
File descriptor 63 (pipe:[85559]) leaked on lvs invocation. Parent PID 14755: bash
ADDITIONAL INFORMATION :
=================== log of boot-repair 2017-05-14__05h20 ===================
boot-repair version : 4ppa40
boot-sav version : 4ppa40
glade2script version : 3.2.3~ppa1
boot-sav-extra version : 4ppa40
boot-repair is executed in live-session (LXLE Eclectica 16.04.2 64bit, xenial, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/ubuntu1/casper/vmlinuz.efi live-media-path=/ubuntu1/casper root=UUID=335F-B2FD file=/cdrom/ubuntu1/preseed/custom.seed maybe-ubiquity debian-installer/language=fr keyboard-configuration/layoutcode=be keyboard-configuration/variantcode=oss_latin9 boot=casper showmounts ignore_uuid noprompt quiet splash --
ls: impossible d'accéder à '/home/usr/.config': Aucun fichier ou dossier de ce type
=================== os-prober:
/dev/sda1:Windows Recovery Environment (loader):Windows:chain
/dev/sda2:Windows 7 (loader):Windows1:chain
=================== blkid:
/dev/sda1: LABEL="RECOVERY" UUID="3C98-AC5D" TYPE="vfat" PARTUUID="d9b3496e-01"
/dev/sda2: LABEL="OS" UUID="9C4C50794C504FDE" TYPE="ntfs" PARTUUID="d9b3496e-02"
/dev/sdb1: LABEL="MULTISYSTEM" UUID="335F-B2FD" TYPE="vfat" PARTUUID="b4a1685c-01"
/dev/loop0: TYPE="squashfs"
/dev/sda5: UUID="23dfaad7-0d00-43f5-bcb3-f674dcda3a65" TYPE="swap" PARTUUID="d9b3496e-05"
/dev/zram0: UUID="20c95c2e-4e1e-41b8-a0af-48c250ce1faf" TYPE="swap"
/dev/zram1: UUID="92825e6b-ca02-48da-a62d-05a72be40934" TYPE="swap"
1 disks with OS, 2 OS : 0 Linux, 0 MacOS, 2 Windows, 0 unknown type OS.
=================== UEFI/Legacy mode:
This live-session is not in EFI-mode.
SecureBoot maybe enabled.
=================== PARTITIONS & DISKS:
sda1 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, is-maybe-EFI, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, bootmgr, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda1.
sda2 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda2.
sda : not-GPT, BIOSboot-not-needed, has-maybe-EFI, not-usb, has-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: ATA ST9500325AS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 15.7GB 15.7GB primary fat32 hidden, lba
2 15.7GB 166GB 150GB primary ntfs boot
3 166GB 500GB 334GB extended
5 496GB 500GB 4292MB logical linux-swap(v1)
Model: Multiple Card Reader (scsi)
Disk /dev/sdb: 15.5GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 4194kB 15.5GB 15.5GB primary fat32 boot, lba
Model: Unknown (unknown)
Disk /dev/zram0: 1036MB
Sector size (logical/physical): 4096B/4096B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 1036MB 1036MB linux-swap(v1)
Model: Unknown (unknown)
Disk /dev/zram1: 1036MB
Sector size (logical/physical): 4096B/4096B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 1036MB 1036MB linux-swap(v1)
=================== parted -lm:
BYT;
/dev/sda:500GB:scsi:512:512:msdos:ATA ST9500325AS:;
1:1049kB:15.7GB:15.7GB:fat32::hidden, lba;
2:15.7GB:166GB:150GB:ntfs::boot;
3:166GB:500GB:334GB:::;
5:496GB:500GB:4292MB:linux-swap(v1)::;
BYT;
/dev/sdb:15.5GB:scsi:512:512:msdos:Multiple Card Reader:;
1:4194kB:15.5GB:15.5GB:fat32::boot, lba;
BYT;
/dev/zram0:1036MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1036MB:1036MB:linux-swap(v1)::;
BYT;
/dev/zram1:1036MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1036MB:1036MB:linux-swap(v1)::;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
sda disk 465,8G
sda1 part vfat 14,7G RECOVERY
sda2 part ntfs 139,8G OS
sda3 part 1K
sda5 part swap 4G
sdb disk 14,5G
sdb1 part vfat 14,5G MULTISYSTEM
sr0 rom 1024M
loop0 loop squashfs 1,3G
zram0 disk 987,8M
zram1 disk 987,8M
KNAME ROTA RO RM STATE MOUNTPOINT
sda 1 0 0 running
sda1 1 0 0 /mnt/boot-sav/sda1
sda2 1 0 0 /mnt/boot-sav/sda2
sda3 1 0 0
sda5 1 0 0 [SWAP]
sdb 1 0 1 running
sdb1 1 0 1 /cdrom
sr0 1 0 1 running
loop0 1 1 0 /rofs
zram0 0 0 0 [SWAP]
zram1 0 0 0 [SWAP]
=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=2003484k,nr_inodes=500871,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=404600k,mode=755)
/dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
/cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
tmpfs on /cow type tmpfs (rw,noatime,mode=755)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=35,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=404600k,mode=700,uid=999,gid=999)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
/dev/sda1 on /mnt/boot-sav/sda1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,relatime,user_id=0,group_id=0,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 integrity power queue range removable ro sda1 sda2 sda3 sda5 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sdb1 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 integrity power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri dvd dvdrw ecryptfs fb0 fd full fuse hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kmsg lightnvm log mapper mcelog media0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda5 sdb sdb1 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net video0 zero
ls /dev/mapper: control
=================== hexdump -n512 -C /dev/sda1
00000000 eb 58 90 4d 53 44 4f 53 35 2e 30 00 02 10 22 00 |.X.MSDOS5.0...".|
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
00000020 00 a8 d4 01 87 3a 00 00 00 00 00 00 52 ab 00 00 |.....:......R...|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 80 01 29 5d ac 98 3c 4e 4f 20 4e 41 4d 45 20 20 |..)]..<NO NAME |
00000050 20 20 46 41 54 33 32 20 20 20 33 c9 8e d1 bc f4 | FAT32 3.....|
00000060 7b 8e c1 8e d9 bd 00 7c 88 4e 02 8a 56 40 b4 41 |{......|.N..V@.A|
00000070 bb aa 55 cd 13 72 10 81 fb 55 aa 75 0a f6 c1 01 |..U..r...U.u....|
00000080 74 05 fe 46 02 eb 2d 8a 56 40 b4 08 cd 13 73 05 |t..F..-.V@....s.|
00000090 b9 ff ff 8a f1 66 0f b6 c6 40 66 0f b6 d1 80 e2 |.....f...@f.....|
000000a0 3f f7 e2 86 cd c0 ed 06 41 66 0f b7 c9 66 f7 e1 |?.......Af...f..|
000000b0 66 89 46 f8 83 7e 16 00 75 38 83 7e 2a 00 77 32 |f.F..~..u8.~*.w2|
000000c0 66 8b 46 1c 66 83 c0 0c bb 00 80 b9 01 00 e8 2b |f.F.f..........+|
000000d0 00 e9 2c 03 a0 fa 7d b4 7d 8b f0 ac 84 c0 74 17 |..,...}.}.....t.|
000000e0 3c ff 74 09 b4 0e bb 07 00 cd 10 eb ee a0 fb 7d |<.t............}|
000000f0 eb e5 a0 f9 7d eb e0 98 cd 16 cd 19 66 60 80 7e |....}.......f`.~|
00000100 02 00 0f 84 20 00 66 6a 00 66 50 06 53 66 68 10 |.... .fj.fP.Sfh.|
00000110 00 01 00 b4 42 8a 56 40 8b f4 cd 13 66 58 66 58 |....B.V@....fXfX|
00000120 66 58 66 58 eb 33 66 3b 46 f8 72 03 f9 eb 2a 66 |fXfX.3f;F.r...*f|
00000130 33 d2 66 0f b7 4e 18 66 f7 f1 fe c2 8a ca 66 8b |3.f..N.f......f.|
00000140 d0 66 c1 ea 10 f7 76 1a 86 d6 8a 56 40 8a e8 c0 |.f....v....V@...|
00000150 e4 06 0a cc b8 01 02 cd 13 66 61 0f 82 75 ff 81 |.........fa..u..|
00000160 c3 00 02 66 40 49 75 94 c3 42 4f 4f 54 4d 47 52 |...f@Iu..BOOTMGR|
00000170 20 20 20 20 00 00 00 00 00 00 00 00 00 00 00 00 | ............|
00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 0d 0a 52 65 |..............Re|
000001b0 6d 6f 76 65 20 64 69 73 6b 73 20 6f 72 20 6f 74 |move disks or ot|
000001c0 68 65 72 20 6d 65 64 69 61 2e ff 0d 0a 44 69 73 |her media....Dis|
000001d0 6b 20 65 72 72 6f 72 ff 0d 0a 50 72 65 73 73 20 |k error...Press |
000001e0 61 6e 79 20 6b 65 79 20 74 6f 20 72 65 73 74 61 |any key to resta|
000001f0 72 74 0d 0a 00 00 00 00 00 ac cb d8 00 00 55 aa |rt............U.|
00000200
=================== hexdump -n512 -C /dev/sda2
00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 b0 d4 01 |........?.......|
00000020 00 00 00 00 80 00 80 00 50 5c 79 11 00 00 00 00 |........Py.....|
00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|
00000040 f6 00 00 00 01 00 00 00 de 4f 50 4c 79 50 4c 9c |.........OPLyPL.|
00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
000000f0 68 07 bb 16 68 70 0e 16 68 09 00 66 53 66 53 66 |h...hp..h..fSfSf|
00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
00000110 28 10 b9 d8 0f fc f3 aa e9 5f 01 90 90 66 60 1e |(........_...f`.|
00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
00000160 0e 16 00 75 bc 07 1f 66 61 c3 a0 f8 01 e8 09 00 |...u...fa.......|
00000170 a0 fb 01 e8 03 00 f4 eb fd b4 01 8b f0 ac 3c 00 |..............<.|
00000180 74 09 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 |t.............A |
00000190 64 69 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 |disk read error |
000001a0 6f 63 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d |occurred...BOOTM|
000001b0 47 52 20 69 73 20 6d 69 73 73 69 6e 67 00 0d 0a |GR is missing...|
000001c0 42 4f 4f 54 4d 47 52 20 69 73 20 63 6f 6d 70 72 |BOOTMGR is compr|
000001d0 65 73 73 65 64 00 0d 0a 50 72 65 73 73 20 43 74 |essed...Press Ct|
000001e0 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 6f 20 72 65 |rl+Alt+Del to re|
000001f0 73 74 61 72 74 0d 0a 00 8c a9 be d6 00 00 55 aa |start.........U.|
00000200
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 2.0G 0 2.0G 0% /dev
tmpfs tmpfs 396M 6.4M 389M 2% /run
/dev/sdb1 vfat 15G 3.6G 11G 25% /cdrom
/dev/loop0 squashfs 1.3G 1.3G 0 100% /rofs
/cow overlay 2.0G 494M 1.5G 26% /
tmpfs tmpfs 2.0G 494M 1.5G 26% /cow
tmpfs tmpfs 2.0G 140K 2.0G 1% /dev/shm
tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock
tmpfs tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
tmpfs tmpfs 2.0G 36K 2.0G 1% /tmp
tmpfs tmpfs 396M 12K 396M 1% /run/user/999
/dev/sda1 vfat 15G 9.9G 4.8G 68% /mnt/boot-sav/sda1
/dev/sda2 fuseblk 140G 130G 10G 93% /mnt/boot-sav/sda2
=================== fdisk -l:
Disk /dev/loop0: 1.3 GiB, 1367113728 bytes, 2670144 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 /dev/sda: 465.8 GiB, 500107862016 bytes, 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
Disklabel type: dos
Disk identifier: 0xd9b3496e
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 30715903 30713856 14.7G 1c Hidden W95 FAT32 (LBA)
/dev/sda2 * 30715904 323882078 293166175 139.8G 7 HPFS/NTFS/exFAT
/dev/sda3 323883006 976771071 652888066 311.3G 5 Extended
/dev/sda5 968388608 976771071 8382464 4G 82 Linux swap / Solaris
Disk /dev/sdb: 14.5 GiB, 15523119104 bytes, 30318592 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
Disklabel type: dos
Disk identifier: 0xb4a1685c
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 8192 30318591 30310400 14.5G c W95 FAT32 (LBA)
Disk /dev/zram0: 987.8 MiB, 1035771904 bytes, 252874 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/zram1: 987.8 MiB, 1035771904 bytes, 252874 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
No OS or WinEFI system
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
=================== Recommended repair
The default repair of the Boot-Repair utility will not act on the MBR.
Additional repair will be performed: repair-filesystems
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Force Unmount all blkid partitions (for fsck) except / /boot /cdrom /dev /etc /home /opt /pas /proc /rofs /sys /tmp /usr /var
fsck -fyM /dev/sda1
fsck from util-linux 2.27.1
fsck.fat 3.0.28 (2015-05-16)
There are differences between boot sector and its backup.
This is mostly harmless. Differences: (offset:original/backup)
32:00/f8, 33:a8/ef, 34:d4/76, 36:87/d3, 37:3a/2e, 44:52/02, 45:ab/00
Not automatically fixing this.
/dev/sda1: 140 files, 1293601/1917741 clusters
ntfsfix /dev/sda2
Mounting volume... SET@_progressbar1.pulse()
OK
Processing of $MFT and $MFTMirr completed successfully.
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
NTFS partition /dev/sda2 was processed successfully.
Le démarrage de l'ordinateur a été correctement réparé.
Vous pouvez maintenant redémarrer votre ordinateur.
Le 2ème ichier est un log d'il y a 2 mois
=================== log of boot-repair 2017-05-14__05h20 ===================
boot-repair version : 4ppa40
boot-sav version : 4ppa40
glade2script version : 3.2.3~ppa1
boot-sav-extra version : 4ppa40
SET@_label0.set_text('''Détection des systèmes. Cela peut prendre plusieurs minutes...''')
SET@_label0.set_text('''Détection des systèmes (os-prober). Cela peut prendre plusieurs minutes...''')
[debug]Delete the content of TMP_FOLDER_TO_BE_CLEARED and put os-prober in memory
SET@_label0.set_text('''Détection des systèmes (mount). Cela peut prendre plusieurs minutes...''')
boot-repair is executed in live-session (LXLE Eclectica 16.04.2 64bit, xenial, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/ubuntu1/casper/vmlinuz.efi live-media-path=/ubuntu1/casper root=UUID=335F-B2FD file=/cdrom/ubuntu1/preseed/custom.seed maybe-ubiquity debian-installer/language=fr keyboard-configuration/layoutcode=be keyboard-configuration/variantcode=oss_latin9 boot=casper showmounts ignore_uuid noprompt quiet splash --
ls: impossible d'accéder à '/home/usr/.config': Aucun fichier ou dossier de ce type
[debug]part : sda1
[debug]Disk 1 is sda
[debug]Partition 1 is sda1 (sda)
[debug]part : sda2
[debug]Partition 2 is sda2 (sda)
[debug]part : sdb1
[debug]part : loop0
[debug]part : sda5
[debug]part : zram0
[debug]part : zram1
[debug]Mount all blkid partitions except the ones already mounted
[debug]BLKID Mount point of sda1 is: /mnt/boot-sav/sda1
[debug]BLKID Mount point of sda2 is: /mnt/boot-sav/sda2
[debug]Remove_mislocated_stage1
[debug]PART_UUID of sda1 is 3C98-AC5D
[debug]PART_UUID of sda2 is 9C4C50794C504FDE
[debug] BYTES_BEFORE_PART[1] (sda) = 2048 sectors * 512 bytes = 1048576 bytes.
=================== os-prober:
/dev/sda1:Windows Recovery Environment (loader):Windows:chain
/dev/sda2:Windows 7 (loader):Windows1:chain
=================== blkid:
/dev/sda1: LABEL="RECOVERY" UUID="3C98-AC5D" TYPE="vfat" PARTUUID="d9b3496e-01"
/dev/sda2: LABEL="OS" UUID="9C4C50794C504FDE" TYPE="ntfs" PARTUUID="d9b3496e-02"
/dev/sdb1: LABEL="MULTISYSTEM" UUID="335F-B2FD" TYPE="vfat" PARTUUID="b4a1685c-01"
/dev/loop0: TYPE="squashfs"
/dev/sda5: UUID="23dfaad7-0d00-43f5-bcb3-f674dcda3a65" TYPE="swap" PARTUUID="d9b3496e-05"
/dev/zram0: UUID="20c95c2e-4e1e-41b8-a0af-48c250ce1faf" TYPE="swap"
/dev/zram1: UUID="92825e6b-ca02-48da-a62d-05a72be40934" TYPE="swap"
[debug]sda1 contains Windows Recovery Environment (windows)
[debug]sda2 contains Windows 7 (windows)
1 disks with OS, 2 OS : 0 Linux, 0 MacOS, 2 Windows, 0 unknown type OS.
[debug]Mount all blkid partitions except the ones already mounted
[debug]DF/dev/sda1 15341928 10348808 4993120 68% /mnt/boot-sav/sda1
[debug]BLKID Mount point of sda1 is: /mnt/boot-sav/sda1
[debug]Mount path of sda1 is: /mnt/boot-sav/sda1
[debug]DF/dev/sda2 146583080 136134692 10448388 93% /mnt/boot-sav/sda2
[debug]BLKID Mount point of sda2 is: /mnt/boot-sav/sda2
[debug]Mount path of sda2 is: /mnt/boot-sav/sda2
[debug]PART_WITH_OS of sda1 : is-os
[debug]PART_WITH_OS of sda2 : is-os
[debug]sda contains minimum one OS
1+0 enregistrements lus
1+0 enregistrements écrits
1048576 bytes (1,0 MB, 1,0 MiB) copied, 0,0213076 s, 49,2 MB/s
[debug]/var/log/boot-sav/log/2017-05-14__05h20boot-repair49/sda/partition_table.dmp created
[debug]CREATES A LIST OF DISKS CONTAINING BACKUP
[debug] Total of 2 OS detected on sda disk.
SET@_label0.set_text('''Détection des systèmes. Cela peut prendre plusieurs minutes...''')
[debug] sda1 ends at 15726542336GB. not-far
[debug] sda1 ends at 15726542336GB. not-far
[debug] partedlm
[debug] BYT; <BYT;>1>
[debug] /dev/sda:500GB:scsi:512:512:msdos:ATA ST9500325AS:; </dev/sda>1>
[debug] 1:1049kB:15.7GB:15.7GB:fat32::hidden, lba; <1>1>
[debug] 2:15.7GB:166GB:150GB:ntfs::boot; <2>1>
[debug] 3:166GB:500GB:334GB:::; <3>1>
[debug] 5:496GB:500GB:4292MB:linux-swap(v1)::; <5>1>
[debug] <>1>
[debug] BYT; <BYT;>1>
[debug] /dev/sdb:15.5GB:scsi:512:512:msdos:Multiple Card Reader:; </dev/sdb>1>
[debug] 1:4194kB:15.5GB:15.5GB:fat32::boot, lba; <1>1>
[debug] <>1>
[debug] BYT; <BYT;>1>
[debug] /dev/zram0:1036MB:unknown:4096:4096:loop:Unknown:; </dev/zram0>1>
[debug] 1:0.00B:1036MB:1036MB:linux-swap(v1)::; <1>1>
[debug] <>1>
[debug] BYT; <BYT;>1>
[debug] /dev/zram1:1036MB:unknown:4096:4096:loop:Unknown:; </dev/zram1>1>
[debug] 1:0.00B:1036MB:1036MB:linux-swap(v1)::; <1>1>
[debug] sda2 ends at 165827623936GB. farbios
[debug] sda2 ends at 165827623936GB. farbios
[debug] partedlm
[debug] BYT; <BYT;>2>
[debug] /dev/sda:500GB:scsi:512:512:msdos:ATA ST9500325AS:; </dev/sda>2>
[debug] 1:1049kB:15.7GB:15.7GB:fat32::hidden, lba; <1>2>
[debug] 2:15.7GB:166GB:150GB:ntfs::boot; <2>2>
[debug] 3:166GB:500GB:334GB:::; <3>2>
[debug] 5:496GB:500GB:4292MB:linux-swap(v1)::; <5>2>
[debug] <>2>
[debug] BYT; <BYT;>2>
[debug] /dev/sdb:15.5GB:scsi:512:512:msdos:Multiple Card Reader:; </dev/sdb>2>
[debug] 1:4194kB:15.5GB:15.5GB:fat32::boot, lba; <1>2>
[debug] <>2>
[debug] BYT; <BYT;>2>
[debug] /dev/zram0:1036MB:unknown:4096:4096:loop:Unknown:; </dev/zram0>2>
[debug] 1:0.00B:1036MB:1036MB:linux-swap(v1)::; <1>2>
[debug] <>2>
[debug] BYT; <BYT;>2>
[debug] /dev/zram1:1036MB:unknown:4096:4096:loop:Unknown:; </dev/zram1>2>
[debug] 1:0.00B:1036MB:1036MB:linux-swap(v1)::; <1>2>
=================== UEFI/Legacy mode:
This live-session is not in EFI-mode.
SecureBoot maybe enabled.
=================== PARTITIONS & DISKS:
sda1 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, is-maybe-EFI, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, bootmgr, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda1.
sda2 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda2.
sda : not-GPT, BIOSboot-not-needed, has-maybe-EFI, not-usb, has-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: ATA ST9500325AS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 15.7GB 15.7GB primary fat32 hidden, lba
2 15.7GB 166GB 150GB primary ntfs boot
3 166GB 500GB 334GB extended
5 496GB 500GB 4292MB logical linux-swap(v1)
Model: Multiple Card Reader (scsi)
Disk /dev/sdb: 15.5GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 4194kB 15.5GB 15.5GB primary fat32 boot, lba
Model: Unknown (unknown)
Disk /dev/zram0: 1036MB
Sector size (logical/physical): 4096B/4096B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 1036MB 1036MB linux-swap(v1)
Model: Unknown (unknown)
Disk /dev/zram1: 1036MB
Sector size (logical/physical): 4096B/4096B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 1036MB 1036MB linux-swap(v1)
=================== parted -lm:
BYT;
/dev/sda:500GB:scsi:512:512:msdos:ATA ST9500325AS:;
1:1049kB:15.7GB:15.7GB:fat32::hidden, lba;
2:15.7GB:166GB:150GB:ntfs::boot;
3:166GB:500GB:334GB:::;
5:496GB:500GB:4292MB:linux-swap(v1)::;
BYT;
/dev/sdb:15.5GB:scsi:512:512:msdos:Multiple Card Reader:;
1:4194kB:15.5GB:15.5GB:fat32::boot, lba;
BYT;
/dev/zram0:1036MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1036MB:1036MB:linux-swap(v1)::;
BYT;
/dev/zram1:1036MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:1036MB:1036MB:linux-swap(v1)::;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
sda disk 465,8G
sda1 part vfat 14,7G RECOVERY
sda2 part ntfs 139,8G OS
sda3 part 1K
sda5 part swap 4G
sdb disk 14,5G
sdb1 part vfat 14,5G MULTISYSTEM
sr0 rom 1024M
loop0 loop squashfs 1,3G
zram0 disk 987,8M
zram1 disk 987,8M
KNAME ROTA RO RM STATE MOUNTPOINT
sda 1 0 0 running
sda1 1 0 0 /mnt/boot-sav/sda1
sda2 1 0 0 /mnt/boot-sav/sda2
sda3 1 0 0
sda5 1 0 0 [SWAP]
sdb 1 0 1 running
sdb1 1 0 1 /cdrom
sr0 1 0 1 running
loop0 1 1 0 /rofs
zram0 0 0 0 [SWAP]
zram1 0 0 0 [SWAP]
=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=2003484k,nr_inodes=500871,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=404600k,mode=755)
/dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
/cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
tmpfs on /cow type tmpfs (rw,noatime,mode=755)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=35,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=404600k,mode=700,uid=999,gid=999)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
/dev/sda1 on /mnt/boot-sav/sda1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
SET@_label0.set_text('''Détection des systèmes. Veuillez patienter quelques secondes ...''')
=================== ls:
/sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 sda2 sda3 sda5 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sdb1 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 integrity power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri dvd dvdrw ecryptfs fb0 fd full fuse hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kmsg lightnvm log mapper mcelog media0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda5 sdb sdb1 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net video0 zero
ls /dev/mapper: control
=================== hexdump -n512 -C /dev/sda1
00000000 eb 58 90 4d 53 44 4f 53 35 2e 30 00 02 10 22 00 |.X.MSDOS5.0...".|
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
00000020 00 a8 d4 01 87 3a 00 00 00 00 00 00 52 ab 00 00 |.....:......R...|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 80 01 29 5d ac 98 3c 4e 4f 20 4e 41 4d 45 20 20 |..)]..<NO NAME |
00000050 20 20 46 41 54 33 32 20 20 20 33 c9 8e d1 bc f4 | FAT32 3.....|
00000060 7b 8e c1 8e d9 bd 00 7c 88 4e 02 8a 56 40 b4 41 |{......|.N..V@.A|
00000070 bb aa 55 cd 13 72 10 81 fb 55 aa 75 0a f6 c1 01 |..U..r...U.u....|
00000080 74 05 fe 46 02 eb 2d 8a 56 40 b4 08 cd 13 73 05 |t..F..-.V@....s.|
00000090 b9 ff ff 8a f1 66 0f b6 c6 40 66 0f b6 d1 80 e2 |.....f...@f.....|
000000a0 3f f7 e2 86 cd c0 ed 06 41 66 0f b7 c9 66 f7 e1 |?.......Af...f..|
000000b0 66 89 46 f8 83 7e 16 00 75 38 83 7e 2a 00 77 32 |f.F..~..u8.~*.w2|
000000c0 66 8b 46 1c 66 83 c0 0c bb 00 80 b9 01 00 e8 2b |f.F.f..........+|
000000d0 00 e9 2c 03 a0 fa 7d b4 7d 8b f0 ac 84 c0 74 17 |..,...}.}.....t.|
000000e0 3c ff 74 09 b4 0e bb 07 00 cd 10 eb ee a0 fb 7d |<.t............}|
000000f0 eb e5 a0 f9 7d eb e0 98 cd 16 cd 19 66 60 80 7e |....}.......f`.~|
00000100 02 00 0f 84 20 00 66 6a 00 66 50 06 53 66 68 10 |.... .fj.fP.Sfh.|
00000110 00 01 00 b4 42 8a 56 40 8b f4 cd 13 66 58 66 58 |....B.V@....fXfX|
00000120 66 58 66 58 eb 33 66 3b 46 f8 72 03 f9 eb 2a 66 |fXfX.3f;F.r...*f|
00000130 33 d2 66 0f b7 4e 18 66 f7 f1 fe c2 8a ca 66 8b |3.f..N.f......f.|
00000140 d0 66 c1 ea 10 f7 76 1a 86 d6 8a 56 40 8a e8 c0 |.f....v....V@...|
00000150 e4 06 0a cc b8 01 02 cd 13 66 61 0f 82 75 ff 81 |.........fa..u..|
00000160 c3 00 02 66 40 49 75 94 c3 42 4f 4f 54 4d 47 52 |...f@Iu..BOOTMGR|
00000170 20 20 20 20 00 00 00 00 00 00 00 00 00 00 00 00 | ............|
00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 0d 0a 52 65 |..............Re|
000001b0 6d 6f 76 65 20 64 69 73 6b 73 20 6f 72 20 6f 74 |move disks or ot|
000001c0 68 65 72 20 6d 65 64 69 61 2e ff 0d 0a 44 69 73 |her media....Dis|
000001d0 6b 20 65 72 72 6f 72 ff 0d 0a 50 72 65 73 73 20 |k error...Press |
000001e0 61 6e 79 20 6b 65 79 20 74 6f 20 72 65 73 74 61 |any key to resta|
000001f0 72 74 0d 0a 00 00 00 00 00 ac cb d8 00 00 55 aa |rt............U.|
00000200
=================== hexdump -n512 -C /dev/sda2
00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 b0 d4 01 |........?.......|
00000020 00 00 00 00 80 00 80 00 50 5c 79 11 00 00 00 00 |........P\y.....|
00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|
00000040 f6 00 00 00 01 00 00 00 de 4f 50 4c 79 50 4c 9c |.........OPLyPL.|
00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
000000f0 68 07 bb 16 68 70 0e 16 68 09 00 66 53 66 53 66 |h...hp..h..fSfSf|
00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
00000110 28 10 b9 d8 0f fc f3 aa e9 5f 01 90 90 66 60 1e |(........_...f`.|
00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
00000160 0e 16 00 75 bc 07 1f 66 61 c3 a0 f8 01 e8 09 00 |...u...fa.......|
00000170 a0 fb 01 e8 03 00 f4 eb fd b4 01 8b f0 ac 3c 00 |..............<.|
00000180 74 09 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 |t.............A |
00000190 64 69 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 |disk read error |
000001a0 6f 63 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d |occurred...BOOTM|
000001b0 47 52 20 69 73 20 6d 69 73 73 69 6e 67 00 0d 0a |GR is missing...|
000001c0 42 4f 4f 54 4d 47 52 20 69 73 20 63 6f 6d 70 72 |BOOTMGR is compr|
000001d0 65 73 73 65 64 00 0d 0a 50 72 65 73 73 20 43 74 |essed...Press Ct|
000001e0 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 6f 20 72 65 |rl+Alt+Del to re|
000001f0 73 74 61 72 74 0d 0a 00 8c a9 be d6 00 00 55 aa |start.........U.|
00000200
[debug]TARGET_PARTITION_IS_AVAILABLE[sda] is : yes
SET@_checkbutton_restore_mbr.hide()
SET@_tab_mbr_options.set_sensitive(False)
SET@_vbox_mbr_options.hide()
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 2.0G 0 2.0G 0% /dev
tmpfs tmpfs 396M 6.4M 389M 2% /run
/dev/sdb1 vfat 15G 3.6G 11G 25% /cdrom
/dev/loop0 squashfs 1.3G 1.3G 0 100% /rofs
/cow overlay 2.0G 494M 1.5G 26% /
tmpfs tmpfs 2.0G 494M 1.5G 26% /cow
tmpfs tmpfs 2.0G 140K 2.0G 1% /dev/shm
tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock
tmpfs tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
tmpfs tmpfs 2.0G 36K 2.0G 1% /tmp
tmpfs tmpfs 396M 12K 396M 1% /run/user/999
/dev/sda1 vfat 15G 9.9G 4.8G 68% /mnt/boot-sav/sda1
/dev/sda2 fuseblk 140G 130G 10G 93% /mnt/boot-sav/sda2
=================== fdisk -l:
Disk /dev/loop0: 1.3 GiB, 1367113728 bytes, 2670144 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 /dev/sda: 465.8 GiB, 500107862016 bytes, 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
Disklabel type: dos
Disk identifier: 0xd9b3496e
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 30715903 30713856 14.7G 1c Hidden W95 FAT32 (LBA)
/dev/sda2 * 30715904 323882078 293166175 139.8G 7 HPFS/NTFS/exFAT
/dev/sda3 323883006 976771071 652888066 311.3G 5 Extended
/dev/sda5 968388608 976771071 8382464 4G 82 Linux swap / Solaris
Disk /dev/sdb: 14.5 GiB, 15523119104 bytes, 30318592 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
Disklabel type: dos
Disk identifier: 0xb4a1685c
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 8192 30318591 30310400 14.5G c W95 FAT32 (LBA)
Disk /dev/zram0: 987.8 MiB, 1035771904 bytes, 252874 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/zram1: 987.8 MiB, 1035771904 bytes, 252874 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
[debug]Logs saved into /mnt/boot-sav/sda2/boot-sav/log/2017-05-14__05h20boot-repair49
SET@_vbox_bootrepairmenu.show()
SET@_label_bootrepairsubtitle.set_markup('''<b>Réparer le démarrage de l'ordinateur</b>''')
SET@_label_recommendedrepair.set_text('''Réparation recommandée\n(répare les problèmes les plus fréquents)''')
SET@_label_justbootinfo.set_text('''Créer un rapport BootInfo\n(pour se faire aider par email ou forum)''')
SET@_label_pastebin.set_text('''Créer un rapport BootInfo (pour se faire aider par email ou forum)''')
SET@_vbox_pastebin.show()
SET@_label_appname.set_markup('''<b><big>Boot-Repair</big></b>''')
SET@_label_appdescription.set_text('''Réparer le démarrage de l'ordinateur''')
SET@_logobr.show()
SET@_logo_brmenu.show()
SET@_linkbutton_websitebr.show()
SET@_label_repairfilesystems.set_text('''Réparer les systèmes de fichier''')
SET@_checkbutton_repairfilesystems.show()
SET@_label_wubi.set_text('''Réparer les systèmes de fichier Wubi''')
SET@_checkbutton_wubi.show()
SET@_mainwindow.set_title('''Réparateur de démarrage''')
SET@_mainwindow.set_icon_from_file('''x-boot-repair.png''')
SET@_label_advanced_options.set_text('''Options avancées''')
SET@_tab_main_options.set_text('''Options principales''')
SET@_tab_grub_location.set_text('''Emplacement de GRUB''')
SET@_tab_grub_options.set_text('''Options de GRUB''')
SET@_tab_mbr_options.set_text('''Options de MBR''')
SET@_tab_other_options.set_text('''Autres options''')
SET@_label_unhide_boot_menu.set_text('''Faire apparaitre le menu de démarrage :''')
SET@_label_seconds.set_text('''secondes''')
SET@_label_reinstall_grub.set_text('''Réinstaller GRUB''')
SET@_label_restore_mbr.set_text('''Restaurer le MBR''')
SET@_label_restore_bkp.set_text('''Restaurer les sauvegardes EFI''')
SET@_label_create_bkp.set_text('''Utiliser le fichier EFI standard''')
SET@_label_winefi_bkp.set_text('''Sauvegarder et renommer les fichiers EFI Windows (résout l'erreur [hard-coded-EFI])''')
SET@_label_bootflag.set_text('''Placer le drapeau de démarrage sur:''')
COMBO@@CLEAR@@_combobox_bootflag
SET@_label_restore_mbrof.set_text('''Restaurer le MBR de :''')
SET@_label_ostoboot_bydefault.set_text('''OS par défaut au démarrage :''')
SET@_label_signed.set_text('''SecureBoot''')
SET@_label_purge_grub.set_text('''Purger GRUB avant de le réinstaller''')
SET@_label_separateboot.set_text('''Partition /boot séparée :''')
SET@_label_efi.set_text('''Partition /boot/efi séparée :''')
SET@_label_sepusr.set_text('''Partition /usr séparée :''')
SET@_label_place_alldisks.set_text('''Placer GRUB dans tous les disques (sauf disques USB sans OS)''')
SET@_label_place_grub.set_text('''Placer GRUB dans :''')
[debug]combobox_ostoboot_bydefault_fillin
SET@_label_lastgrub.set_text('''Passer GRUB à sa version la plus récente''')
SET@_label_legacy.set_text('''GRUB Legacy''')
SET@_label_blankextraspace.set_text('''Effacer l'espace libre après MBR (résout l'erreur [FlexNet])''')
SET@_label_uncomment_gfxmode.set_text('''Décommenter GRUB_GFXMODE (résout l'erreur [no-signal / out-of-range])''')
SET@_label_ata.set_text('''Support disque ATA (résout l'erreur [out-of-disk])''')
SET@_label_add_kernel_option.set_text('''Ajouter une option au noyau :''')
COMBO@@END@@_combobox_add_kernel_option@@nomodeset
COMBO@@END@@_combobox_add_kernel_option@@acpi=off
COMBO@@END@@_combobox_add_kernel_option@@acpi_osi=
COMBO@@END@@_combobox_add_kernel_option@@edd=on
COMBO@@END@@_combobox_add_kernel_option@@i815modeset=1
COMBO@@END@@_combobox_add_kernel_option@@i915modeset=0
COMBO@@END@@_combobox_add_kernel_option@@i915.modeset=0 xforcevesa
COMBO@@END@@_combobox_add_kernel_option@@noapic
COMBO@@END@@_combobox_add_kernel_option@@nodmraid
COMBO@@END@@_combobox_add_kernel_option@@nolapic
COMBO@@END@@_combobox_add_kernel_option@@nomodeset radeon mode=0
COMBO@@END@@_combobox_add_kernel_option@@nomodeset radeon mode=1
COMBO@@END@@_combobox_add_kernel_option@@rootdelay=90
COMBO@@END@@_combobox_add_kernel_option@@vga=771
COMBO@@END@@_combobox_add_kernel_option@@xforcevesa
SET@_combobox_add_kernel_option.set_active(0)
SET@_combobox_add_kernel_option.set_sensitive(True)
SET@_label_kernelpurge.set_text('''Purger les kernels puis réinstaller le dernier kernel''')
SET@_label_open_etc_default_grub.set_text('''Modifier le fichier de configuration de GRUB''')
SET@_label_partition_booted_bymbr.set_text('''Partition démarrée par le MBR :''')
SET@_about.set_title('''About Boot Repair''')
SET@_about.set_icon_from_file('''x-boot-repair.png''')
SET@_label_translate.set_text('''Traduire''')
SET@_label_thanks.set_text('''Crédits''')
SET@_label_gpl.set_markup('''<small>GNU-GPL v3</small>''')
SET@_label_copyright.set_markup('''<small>(C) 2010-2016 Yann MRN</small>''')
SET@_backupwindow.set_title('''Réparateur de démarrage''')
SET@_label_pleasechoosebackuprep.set_text('''Veuillez choisir un dossier où placer la sauvegarde.\nIl est recommandé de choisir un disque USB.''')
SET@_label_backup_table.set_text('''Sauvegarder les tables de partitions, les secteurs d'amorçage et les logs''')
SET@_label_winboot.set_text('''Réparer les fichiers de démarrage de Windows''')
SET@_label_upload.set_text('''Envoyer le rapport en ligne sur un pastebin''')
SET@_label_upload1.set_text('''Envoyer le rapport en ligne sur un pastebin''')
SET@_label_stats.set_text('''Participer aux statistiques d'utilisation''')
SET@_label_internet.set_text('''Vérifier la connexion internet''')
SET@_label_internet1.set_text('''Vérifier la connexion internet''')
SET@_button_recommendedrepair.set_sensitive(False)
SET@_checkbutton_repairfilesystems.set_active(True)
SET@_checkbutton_wubi.set_active(False)
SET@_checkbutton_wubi.set_sensitive(False)
SET@_checkbutton_pastebin.set_active(True)
SET@_checkbutton_upload.set_active(True)
[debug]MAIN_MENU becomes : Recommended-Repair
No OS or WinEFI system
SET@_tab_grub_location.set_sensitive(False)
SET@_vbox_grub_location.hide()
SET@_tab_grub_options.set_sensitive(False)
SET@_vbox_grub_options.hide()
SET@_checkbutton_restore_bkp.hide()
SET@_checkbutton_create_bkp.hide()
SET@_checkbutton_winefi_bkp.hide()
SET@_tab_mbr_options.set_sensitive(False)
SET@_vbox_mbr_options.hide()
SET@_checkbutton_restore_bkp.hide()
SET@_checkbutton_create_bkp.hide()
SET@_checkbutton_winefi_bkp.hide()
SET@_checkbutton_reinstall_grub.hide()
SET@_hbox_unhide.hide()
SET@_hbox_bootflag.set_sensitive(False)
SET@_combobox_bootflag.set_sensitive(False)
SET@_checkbutton_bootflag.set_active(False)
SET@_vbox_winboot.set_sensitive(False)
SET@_button_recommendedrepair.set_sensitive(True)
SET@pulsatewindow.hide()
SET@_mainwindow.show()
./boot-repair.sh : ligne 28 : 8069 Complété while true; do
echo 'SET@_progressbar1.pulse()'; sleep 0.2;
done
DEBUG=> in bash NOT GET _combobox_add_kernel_option nomodeset
[debug]CHOSEN_KERNEL_OPTION becomes : nomodeset
DEBUG=> in bash NOT GET _checkbutton_repairfilesystems True
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
[debug]FSCK_ACTION becomes: repair-filesystems
DEBUG=> in bash NOT GET _button_recommendedrepair clicked
SET@_mainwindow.hide()
SET@pulsatewindow.show()
SET@_label0.set_text('''Application des changements. Cela peut prendre plusieurs minutes...''')
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
[debug]internet: connected
[debug] debug_echo_important_variables
=================== Recommended repair
The default repair of the Boot-Repair utility will not act on the MBR.
Additional repair will be performed: repair-filesystems
SET@pulsatewindow.hide()
boot-repair-actions.sh : ligne 117 : 12857 Complété while true; do
echo 'SET@_progressbar1.pulse()'; sleep 0.2;
done
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
SET@pulsatewindow.show()
Force Unmount all blkid partitions (for fsck) except / /boot /cdrom /dev /etc /home /opt /pas /proc /rofs /sys /tmp /usr /var
SET@_progressbar1.pulse()
SET@_label0.set_text('''Réparer les systèmes de fichier sda1. Cela peut prendre plusieurs minutes...''')
fsck -fyM /dev/sda1
fsck from util-linux 2.27.1
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
fsck.fat 3.0.28 (2015-05-16)
There are differences between boot sector and its backup.
This is mostly harmless. Differences: (offset:original/backup)
32:00/f8, 33:a8/ef, 34:d4/76, 36:87/d3, 37:3a/2e, 44:52/02, 45:ab/00
Not automatically fixing this.
/dev/sda1: 140 files, 1293601/1917741 clusters
SET@_label0.set_text('''Réparer les systèmes de fichier sda2. Cela peut prendre plusieurs minutes...''')
ntfsfix /dev/sda2
Mounting volume... SET@_progressbar1.pulse()
OK
Processing of $MFT and $MFTMirr completed successfully.
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
NTFS partition /dev/sda2 was processed successfully.
[debug]Mount all blkid partitions except the ones already mounted
SET@_progressbar1.pulse()
[debug]BLKID Mount point of sda1 is: /mnt/boot-sav/sda1
[debug]Mount path of sda1 is: /mnt/boot-sav/sda1
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
[debug]BLKID Mount point of sda2 is: /mnt/boot-sav/sda2
[debug]Mount path of sda2 is: /mnt/boot-sav/sda2
Le démarrage de l'ordinateur a été correctement réparé.
Vous pouvez maintenant redémarrer votre ordinateur.
SET@_label0.set_text('''Créer un rapport BootInfo. Cela peut prendre plusieurs minutes...''')
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
[debug]Unmount all blkid partitions except df ones
[debug]BLKID Mount point of sda1 is: /mnt/boot-sav/sda1
SET@_progressbar1.pulse()
[debug]BLKID Mount point of sda2 is: /mnt/boot-sav/sda2
SET@_label0.set_text('''Créer un rapport BootInfo (bis). Cela peut prendre plusieurs minutes...''')
Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016]
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
Identifying MBRs...
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
Computing Partition Table of /dev/sda...
Computing Partition Table of /dev/sdb...
SET@_progressbar1.pulse()
Searching sda1 for information...
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
Searching sda2 for information...
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
Searching sda3 for information...
Searching sda5 for information...
Searching sdb1 for information...
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
Finished. The results are in the file "RESULTS.txt"
located in "/tmp/boot-sav-Y69Bh/".
SET@_label0.set_text('''Créer un rapport BootInfo (bs-check). Cela peut prendre plusieurs minutes...''')
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@pulsatewindow.hide()
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
gui-actions.sh : ligne 642 : 13197 Complété while true; do
echo 'SET@_progressbar1.pulse()'; sleep 0.2;
done
Envoyer le rapport en ligne sur un pastebin ? yes
SET@pulsatewindow.show()
SET@_label0.set_text('''Créer un rapport BootInfo (net-check). Cela peut prendre plusieurs minutes...''')
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
[debug]internet: connected
SET@_label0.set_text('''Créer un rapport BootInfo (url). Cela peut prendre plusieurs minutes...''')
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
Site web inconnu, merci de rapporter un bug pour demander que ce pastebin soit ajouté (http://paste.ubuntu.com)
SET@_progressbar1.pulse()
Site web inconnu, merci de rapporter un bug pour demander que ce pastebin soit ajouté (http://paste.debian.net)
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
[debug]Mount all blkid partitions except the ones already mounted
SET@_progressbar1.pulse()
[debug]BLKID Mount point of sda1 is: /mnt/boot-sav/sda1
[debug]Mount path of sda1 is: /mnt/boot-sav/sda1
SET@_progressbar1.pulse()
[debug]BLKID Mount point of sda2 is: /mnt/boot-sav/sda2
[debug]Mount path of sda2 is: /mnt/boot-sav/sda2
SET@_label0.set_text('''Créer un rapport BootInfo (net-check). Cela peut prendre plusieurs minutes...''')
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
[debug]internet: connected
SET@_label0.set_text('''Créer un rapport BootInfo (net-ok). Cela peut prendre plusieurs minutes...''')
touch: impossible de faire un touch '/mnt/boot-sav/sda1/boot-sav/log/boot-repair': Aucun fichier ou dossier de ce type
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_label0.set_text('''Créer un rapport BootInfo (20). Cela peut prendre plusieurs minutes...''')
SET@_label0.set_text('''Créer un rapport BootInfo (19). Cela peut prendre plusieurs minutes...''')
SET@_label0.set_text('''Créer un rapport BootInfo (18). Cela peut prendre plusieurs minutes...''')
SET@_label0.set_text('''Créer un rapport BootInfo (16). Cela peut prendre plusieurs minutes...''')
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_label0.set_text('''Créer un rapport BootInfo (15). Cela peut prendre plusieurs minutes...''')
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_label0.set_text('''Créer un rapport BootInfo (14). Cela peut prendre plusieurs minutes...''')
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_label0.set_text('''Créer un rapport BootInfo (13). Cela peut prendre plusieurs minutes...''')
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_label0.set_text('''Créer un rapport BootInfo (12). Cela peut prendre plusieurs minutes...''')
SET@_label0.set_text('''Créer un rapport BootInfo (11). Cela peut prendre plusieurs minutes...''')
SET@_label0.set_text('''Créer un rapport BootInfo (10). Cela peut prendre plusieurs minutes...''')
SET@_label0.set_text('''Créer un rapport BootInfo (9). Cela peut prendre plusieurs minutes...''')
SET@_label0.set_text('''Créer un rapport BootInfo (8). Cela peut prendre plusieurs minutes...''')
SET@_label0.set_text('''Créer un rapport BootInfo (7). Cela peut prendre plusieurs minutes...''')
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_label0.set_text('''Créer un rapport BootInfo (6). Cela peut prendre plusieurs minutes...''')
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_label0.set_text('''Créer un rapport BootInfo (5). Cela peut prendre plusieurs minutes...''')
SET@_label0.set_text('''Créer un rapport BootInfo (4). Cela peut prendre plusieurs minutes...''')
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
SET@_label0.set_text('''Créer un rapport BootInfo (3). Cela peut prendre plusieurs minutes...''')
SET@_label0.set_text('''Créer un rapport BootInfo (2). Cela peut prendre plusieurs minutes...''')
SET@_label0.set_text('''Créer un rapport BootInfo (1). Cela peut prendre plusieurs minutes...''')
SET@_label0.set_text('''Créer un rapport BootInfo. Veuillez patienter quelques secondes ...''')
SET@_progressbar1.pulse()
SET@_progressbar1.pulse()
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 2.0G 0 2.0G 0% /dev
tmpfs tmpfs 396M 6.4M 389M 2% /run
/dev/sdb1 vfat 15G 3.6G 11G 25% /cdrom
/dev/loop0 squashfs 1.3G 1.3G 0 100% /rofs
/cow overlay 2.0G 495M 1.5G 26% /
tmpfs tmpfs 2.0G 495M 1.5G 26% /cow
tmpfs tmpfs 2.0G 140K 2.0G 1% /dev/shm
tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock
tmpfs tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
tmpfs tmpfs 2.0G 292K 2.0G 1% /tmp
tmpfs tmpfs 396M 12K 396M 1% /run/user/999
/dev/sda1 vfat 15G 9.9G 4.8G 68% /mnt/boot-sav/sda1
/dev/sda2 fuseblk 140G 130G 10G 93% /mnt/boot-sav/sda2
=================== fdisk -l:
Disk /dev/loop0: 1.3 GiB, 1367113728 bytes, 2670144 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 /dev/sda: 465.8 GiB, 500107862016 bytes, 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
Disklabel type: dos
Disk identifier: 0xd9b3496e
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 30715903 30713856 14.7G 1c Hidden W95 FAT32 (LBA)
/dev/sda2 * 30715904 323882078 293166175 139.8G 7 HPFS/NTFS/exFAT
/dev/sda3 323883006 976771071 652888066 311.3G 5 Extended
/dev/sda5 968388608 976771071 8382464 4G 82 Linux swap / Solaris
Disk /dev/sdb: 14.5 GiB, 15523119104 bytes, 30318592 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
Disklabel type: dos
Disk identifier: 0xb4a1685c
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 8192 30318591 30310400 14.5G c W95 FAT32 (LBA)
Disk /dev/zram0: 987.8 MiB, 1035771904 bytes, 252874 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/zram1: 987.8 MiB, 1035771904 bytes, 252874 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
ATAL
Dernière modification par Arthourei (Le 01/07/2017, à 16:43)
Tout le monde se plaint de sa mémoire mais personne de son raisonnement!
Hors ligne
#59 Le 01/07/2017, à 17:49
- Nasman
Re : [Résolu %]Récupérer des données dans une partition devenue non allouée
Peut être qu'un fsck de la partition sda5 permettrait de restaurer l'accès aux données.
PC fixe sous Bionic 64 bits et portable avec Focal 64 bits
Hors ligne
#60 Le 01/07/2017, à 19:38
- Arthourei
Re : [Résolu %]Récupérer des données dans une partition devenue non allouée
hello
voila j'ai fais un sudo fsck /dev/sda5
cela a mouliné un petit temps mais pas de résultat probant
Après un reboot, en live pour mounter la partition, apparait le message de try dmseg ! fail or so
qwerty@qwerty:~$ sudo dmesg | tail
[ 47.638030] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 47.638032] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 54.039291] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready
[ 54.052924] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready
[ 54.085147] IPv6: ADDRCONF(NETDEV_UP): enp3s0: link is not ready
[ 54.093305] r8169 0000:03:00.0 enp3s0: link down
[ 54.093403] IPv6: ADDRCONF(NETDEV_UP): enp3s0: link is not ready
[ 54.835254] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready
[ 95.423413] perf interrupt took t [url=http://pix.toile-libre.org/?img=1498931425.png][img]http://pix.toile-libre.org/upload/thumb/1498931425.png[/img][/url]oo long (2501 > 2500), lowering kernel.perf_event_max_sample_rate to 50000
[ 141.143819] EXT4-fs (sda5): bad geometry: block count 80563200 exceeds size of device (80562944 blocks)
qwerty@qwerty:~$ sudo dmesg | so
so : commande introuvable
qwerty@qwerty:~$
Voici l'affichage de 2 screens de tesDisk
Je reviens demain pour encore essayer quelque chose....mais ayant déjà des sauvegardes je penserefaire une installation correcte.
Dernière modification par Arthourei (Le 01/07/2017, à 19:54)
Tout le monde se plaint de sa mémoire mais personne de son raisonnement!
Hors ligne
#61 Le 01/07/2017, à 19:53
- Nasman
Re : [Résolu %]Récupérer des données dans une partition devenue non allouée
Il semblerait que la partition soit plus courte que ce qui est indiqué dans l'ebr modifié. Pour connaitre la taille plausible il faut avoir les résultats d'un testdisk dont tu n'as pas encore donné le moindre résultat.
PC fixe sous Bionic 64 bits et portable avec Focal 64 bits
Hors ligne
#62 Le 01/07/2017, à 19:56
- Arthourei
Re : [Résolu %]Récupérer des données dans une partition devenue non allouée
Je pense que dans une image il y aie un fichier important manquant(en rouge)
Est-ce que je dois aller plus loin dans Testdisk?
Dernière modification par Arthourei (Le 01/07/2017, à 20:06)
Tout le monde se plaint de sa mémoire mais personne de son raisonnement!
Hors ligne
#63 Le 01/07/2017, à 21:19
- Nasman
Re : [Résolu %]Récupérer des données dans une partition devenue non allouée
Le quick search de testdisk donne les partition suivantes (exprimée en Lba)
sda1 fat32 2048 - 30715903
sda2 ntfs 30715904 - 323882078
sda3 étendue 323883006 - 976771071
sda5 Linux 323883008 - 968386559
ebr 968386560 - 976771071
sda6 Linux-swap 968388608 - 976771071
PC fixe sous Bionic 64 bits et portable avec Focal 64 bits
Hors ligne
#64 Le 02/07/2017, à 09:37
- Arthourei
Re : [Résolu %]Récupérer des données dans une partition devenue non allouée
Bien le bonjour,
si je comprend bien l'ebr serait situé juste avant la swap et se terminerait en même temps!!!!
Que dois-je faire pour y remédier?
Je suis content d'être arriver ici dans les entrailles de linux, encore merci.
Mais j'avoue suis pas très à l'aise, un aveugle en tatonnant s'en tirerai mieux que moi!
Alors ayant déjà atteint mes objectifs de sauvegarde & pour ceux qui suivent ce post, je me donne jusqu'à ce soir avant de refaire tranquillement une reinstallation.
A Tout A L'heure
Tout le monde se plaint de sa mémoire mais personne de son raisonnement!
Hors ligne
#65 Le 02/07/2017, à 13:07
- Nasman
Re : [Résolu %]Récupérer des données dans une partition devenue non allouée
Les ebr sont des partitions étendues qui contiennent une partition logique et un autre ebr lequel contient...
C'est une architecture de poupées russes. Cela s'arrête quand le dernier ebr n'a qu'une entrée qui correspond à la dernière partition logique.
PC fixe sous Bionic 64 bits et portable avec Focal 64 bits
Hors ligne
#66 Le 02/07/2017, à 14:01
- Arthourei
Re : [Résolu %]Récupérer des données dans une partition devenue non allouée
ok je vois l'histoire, je ne comprend pas ce qui c'est passé!
C'est pas facile de travailler à distance, s'il n'y a pas de solution en vue c'est pas grave, on aura tenté quelque chose!
Tout le monde se plaint de sa mémoire mais personne de son raisonnement!
Hors ligne
#67 Le 04/07/2017, à 09:39
- Arthourei
Re : [Résolu %]Récupérer des données dans une partition devenue non allouée
hello
Voici une synthèse de ce post
d'abord remercier les divers intervenants
grace à eux j'ai pu récupérer en grandes parties les données dans la partition non allouée.
L'utilisation de testdisk a été plus judicieux que Photorec qui lui(p-ê faute de manipulation de ma part car 1ér prog utilisé)ne m'a rien trouver dans cette partition non allouée.En revanche c'est un travail de Titan de trier les résultats obtenus.
TestDisk garde par contre les noms de fichiers originels
!Dépannage Liens, Commandes Forum
-Liens//Forum
--Images à poster dans le forum via
http://pix.toile-libre.org/
-Pour un Lice-cd, commandes à faire l'installation possible de software.
D'abord, faire les mises à jour du live-cd afin d'installer des programmes
#voir erreur post22 (rem:impossible pour Boot-repair)
$ sudo apt-get update
$ sudo apt-get install testdisk
Installer le support de sauvegarde avant d'utiliser (TestDisk, Photorec...)
-Les rapports dans le Terminal ou la console
FDISK
$ sudo fdisk -l
OS-PROBER
$ sudo os-prober
LSPCI, LUSB, LSCPU, LSB-RELEASE
$ lspci
$ lsusb
$ lscpu
$ cat /etc/lsb-release
===================================
Conseils de Nasman
===================================
1) Afficher le contenu du 1er ebr, c'est à dire le contenu du début de la partition étendue
sudo dd if=/dev/sda bs=512 count=1 skip=323883006 | hexdump -C
2) Afficher le contenu du secteur situé deux secteurs avant la partition sda5 actuelle
sudo dd if=/dev/sda bs=512 count=1 skip=968388606 | hexdump -C
======================================
Pour effectuer les modifs du mbr (ou d'autres secteurs), il y a plusieurs possibilités.
La plus "sécure" (mais plus longue) :
- recupérer le secteur à modifier sous forme d'un fichier avec une commande du genre
sudo dd if=/dev/sdX of=~/mon_secteur_sauvegardé.bs bs=512 count=1 skip=début
SDX désigne le disque considé (pas de numéro car c'est le disque et non pas une partition)
début est le numéro de secteur (LBA)
- installer (même en, session "Live") l'éditeur hexa Ghex qui permettra de faire les modifs dans une copie du fichier sauvegardé (sur support externe et mis en lieu sur)
- enregistrer le nouveau fichier après avoir fait les modif, par exemple mon_secteur_modifié.bs
- implanter le nouveau fichier dans le secteur à modifier avec une commande du genre :
sudo dd if=~mon_secteur_modifié.bs of=/dev/sdX bs=512 count=1 seek=début
Attention il faut utiliser skip pour sauter les secteurs avant "début" lors de la lecture et utiliser seek pour les sauter lors de l'écriture (pour ne modifier qu'à partir de début)
Cette première méthode permet de poster le contenu du fichier modifié pour validation (avec un
sudo dd if=~mon_secteur_modifié.bs bs=512 count=1 | hexdump -C
=============================
-Check disk
un fsck de la partition sda5 permettrait de restaurer l'accès aux données.
sudo fsck /dev/sda5
commande à faire suite message erreur
sudo dmesg | tail or so
==============================
Remarques:
Je m'y suis repris à plusieurs reprises pour faire l'implantation du fichier donc il est possible qu'une mauvaise manipulation n'a pas permis de remonter cette partition non allouée.
Quand bien même j'aurai réussi, je ne serai pas resté sur un systeme instable et donc je prévoyais une réinstallation propre avec un home dans une partition à lui
=========================
-Liens/Users
--rmy TestDisk et Photorec
https://forum.ubuntu-fr.org/viewtopic.php?id=92840
Tout le monde se plaint de sa mémoire mais personne de son raisonnement!
Hors ligne