formatage de partition ext3 par erreur en reinstallant monOS

Comment utiliser TestDisk pour récupérer une partition perdue
Post Reply
Message
Author
gbachelot
Posts: 1
Joined: 12 Apr 2013, 08:37

formatage de partition ext3 par erreur en reinstallant monOS

#1 Post by gbachelot » 12 Apr 2013, 08:59

bonjour,

lors de la phase de partionnement de mon disque, j ai change le type de systeme de fichier d une partition de backup (ext3 vers ext4)m ce qui bien su 0 entraine un formatage de ma partition.

avec testdisk j ai pu retrouve mon disque dans le precedant etat, mais lors du redemarrage, le boot etait impossible...
avec un liveusb ma partition ne se monte pas: erreur de block

voici le log de la manip avec testdisk :


Thu Apr 11 17:05:45 2013
Command line: TestDisk

TestDisk 6.13, Data Recovery Utility, November 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Linux, kernel 3.2.0-40-generic (#64-Ubuntu SMP Mon Mar 25 21:22:10 UTC 2013) x86_64
Compiler: GCC 4.6
Compilation date: 2012-02-05T07:15:52
ext2fs lib: 1.42, ntfs lib: 10:0:0, reiserfs lib: none, ewf lib: none
/dev/sda: LBA, HPA, LBA48, DCO support
/dev/sda: size 1953525168 sectors
/dev/sda: user_max 1953525168 sectors
/dev/sda: native_max 1953525168 sectors
/dev/sda: dco 1953525168 sectors
/dev/sdb: LBA, HPA, LBA48, DCO support
/dev/sdb: size 976773168 sectors
/dev/sdb: user_max 976773168 sectors
/dev/sdb: native_max 976773168 sectors
/dev/sdb: dco 976773168 sectors
Warning: can't get size for Disk /dev/mapper/control - 0 B - CHS 1 1 1, sector size=512
Hard disk list
Disk /dev/sda - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512 - WDC WD10EACS-00D6B1, S/N:WD-WCAU42939118, FW:01.01A01
Disk /dev/sdb - 500 GB / 465 GiB - CHS 60801 255 63, sector size=512 - WDC WD5000AADS-00S9B0, S/N:WD-WCAV90540193, FW:01.00A01

Partition table type (auto): Intel
Disk /dev/sdb - 500 GB / 465 GiB - WDC WD5000AADS-00S9B0
Partition table type: Intel

Analyse Disk /dev/sdb - 500 GB / 465 GiB - CHS 60801 255 63
Geometry from i386 MBR: head=255 sector=63
get_geometry_from_list_part_aux head=255 nbr=8
get_geometry_from_list_part_aux head=8 nbr=3
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=8
Current partition structure:
1 * Linux 0 1 1 72 254 63 1172682
3 E extended 73 12 2 10345 254 63 165034988
4 P Linux 10346 16 39 60801 47 46 810561536
5 L Linux 3720 1 1 9798 254 63 97659072
X extended 9799 0 1 10345 254 63 8787555
6 L Linux Swap 9799 1 1 10345 254 63 8787492
X extended 73 12 3 3719 236 37 58587137
7 L Linux 73 12 4 3719 236 37 58587136
Computes LBA from CHS for Disk /dev/sdb - 500 GB / 465 GiB - CHS 60802 255 63
Allow partial last cylinder : Yes
search_vista_part: 1

search_part()
Disk /dev/sdb - 500 GB / 465 GiB - CHS 60802 255 63

recover_EXT2: s_block_group_nr=0/4, s_mnt_count=3/4294967295, s_blocks_per_group=32768, s_inodes_per_group=7344
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 146585
recover_EXT2: part_size 1172680
Linux 0 1 1 72 254 61 1172680
EXT4 Large file Sparse superblock Recover, 600 MB / 572 MiB

recover_EXT2: s_block_group_nr=0/223, s_mnt_count=17/25, s_blocks_per_group=32768, s_inodes_per_group=8176
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 7323631
recover_EXT2: part_size 58589048
Linux 73 0 1 3719 254 56 58589048
EXT4 Large file Sparse superblock, 29 GB / 27 GiB

recover_EXT2: s_block_group_nr=0/372, s_mnt_count=3/4294967295, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 12207384
recover_EXT2: part_size 97659072
Linux 3720 1 1 9798 254 63 97659072
EXT4 Large file Sparse superblock Recover, 50 GB / 46 GiB
Linux Swap 9799 1 1 10345 254 43 8787472
SWAP2 version 1, 4499 MB / 4290 MiB

recover_EXT2: s_block_group_nr=0/2529, s_mnt_count=0/23, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 82880000
recover_EXT2: part_size 663040000
Linux 10346 0 1 51618 84 28 663040000 [virtual_data]
EXT3 Large file Sparse superblock, 339 GB / 316 GiB
get_geometry_from_list_part_aux head=255 nbr=9
get_geometry_from_list_part_aux head=8 nbr=2
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=9

Results
* Linux 0 1 1 72 254 63 1172682
EXT4 Large file Sparse superblock Recover, 600 MB / 572 MiB
P Linux 73 0 1 3719 254 63 58589055
EXT4 Large file Sparse superblock, 29 GB / 27 GiB
L Linux 3720 1 1 9798 254 63 97659072
EXT4 Large file Sparse superblock Recover, 50 GB / 46 GiB
L Linux Swap 9799 1 1 10345 254 63 8787492
SWAP2 version 1, 4499 MB / 4290 MiB
P Linux 10346 0 1 51618 254 63 663050745 [virtual_data]
EXT3 Large file Sparse superblock, 339 GB / 316 GiB

interface_write()
1 * Linux 0 1 1 72 254 63 1172682
2 P Linux 73 0 1 3719 254 63 58589055
3 E extended LBA 3720 0 1 10346 0 1 106446690
4 P Linux 10346 0 1 51618 254 63 663050745 [virtual_data]
5 L Linux 3720 1 1 9798 254 63 97659072
6 L Linux Swap 9799 1 1 10345 254 63 8787492
write!

write_mbr_i386: starting...
write_all_log_i386: starting...
write_all_log_i386: CHS: 3720/0/1,lba=59761800
write_all_log_i386: CHS: 9799/0/1,lba=157420935
You will have to reboot for the change to take effect.

TestDisk exited normally.


que faire maintenant ? je suis perdu

Sponsored links

User avatar
cgrenier
Site Admin
Posts: 3458
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: formatage de partition ext3 par erreur en reinstallant m

#2 Post by cgrenier » 14 Apr 2013, 17:42

Quel est la partition concernée parmi la liste ?
Que donnes TestDisk si tu essayes de lister les fichiers (menu Advanced) ?

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests