Partial Recovery of ext4 drive, what next? (Linux)

How to use TestDisk to recover lost partition
Post Reply
Message
Author
foggys916
Posts: 1
Joined: 11 Aug 2012, 21:44

Partial Recovery of ext4 drive, what next? (Linux)

#1 Post by foggys916 » 11 Aug 2012, 22:12

I did post some of this on the Ubuntu forums, but this is not really a Ubuntu issue.

So my daughter accidental formatted the 250GB drive in my HP machine, with a version of CENTOS using a logical volume (?). The disk had version 11.04 of Ubuntu on , with ext4 partitions.

I ran testdisk and recovered the /homes partition (separate logical partition) and another partition labelled DATA (with, funnily enough, data in it!!). However I’d really like to recover the main file system (MBR - not important) as I’d also put a directory in there with files in it.

Testdisk seems to have discovered the original Windows Vista structure (not needed) and obviously the CENTOS boot partition.

I’ve attached the full testdisk report and the graphics of the GParted programme (supplied with Ubuntu and ran from a LiveCD version of Ubuntu). The GParted programme shows the "unallocated" partitions which are the ones I would like to recover, but I assume testdisk is seeing the CENTOS boot partition and the old Windows Vista stuff and is unclear as to what is wanted??
1.png
Partition 1 image
1.png (169.17 KiB) Viewed 771 times
2.png
Partition 2 image
2.png (169.4 KiB) Viewed 771 times
3.png
3.png (194.22 KiB) Viewed 771 times
Any further clues?

Many thanks

Steve



Mon Jul 9 18:35:47 2012
Command line: TestDisk

TestDisk 6.14-WIP, Data Recovery Utility, May 2012
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Linux, kernel 3.0.0-12-generic (#20-Ubuntu SMP Fri Oct 7 14:50:42 UTC 2011) i686
Compiler: GCC 4.4
Compilation date: 2012-07-05T08:10:14
ext2fs lib: 1.41.12, ntfs lib: libntfs-3g, reiserfs lib: 0.3.1-rc8, ewf lib: 20100226
/dev/sda: LBA, LBA48, DCO support
/dev/sda: size 488397168 sectors
/dev/sda: user_max 488397168 sectors
/dev/sda: dco 488397168 sectors
Warning: can't get size for Disk /dev/mapper/control - 0 B - CHS 1 1 1, sector size=512
/dev/sr0 is not an ATA disk
Hard disk list
Disk /dev/sda - 250 GB / 232 GiB - CHS 30401 255 63, sector size=512 - SAMSUNG SP2504C, S/N:S09QJ1HLC42543, FW:VT100-49
Disk /dev/sdc - 8028 KB / 7840 KiB - CHS 245 2 32, sector size=512 - Generic USB CF Reader, FW:1.01
Disk /dev/sr0 - 729 MB / 695 MiB - CHS 355992 1 1 (RO), sector size=2048 - ATAPI DVD A DH16AYH, FW:YH13

Partition table type (auto): Intel
Disk /dev/sda - 250 GB / 232 GiB - SAMSUNG SP2504C
Partition table type: Intel

Analyse Disk /dev/sda - 250 GB / 232 GiB - CHS 30401 255 63
Geometry from i386 MBR: head=255 sector=63
get_geometry_from_list_part_aux head=255 nbr=2
get_geometry_from_list_part_aux head=8 nbr=1
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=2
Current partition structure:
1 * Linux 0 1 1 12 254 63 208782 [/boot]
2 E extended LBA 6170 1 40 30401 75 10 389275648
5 L Linux 6170 34 9 12857 247 62 107440128
X extended 13665 47 1 30401 75 10 268865614
6 L Linux 13665 48 16 30401 75 10 268865536 [DATA]

search_part()
Disk /dev/sda - 250 GB / 232 GiB - CHS 30401 255 63

recover_EXT2: s_block_group_nr=0/12, s_mnt_count=10/4294967295, s_blocks_per_group=8192, s_inodes_per_group=2008
recover_EXT2: s_blocksize=1024
recover_EXT2: s_blocks_count 104388
recover_EXT2: part_size 208776
Linux 0 1 1 12 254 57 208776 [/boot]
ext3 blocksize=1024 Sparse superblock, 106 MB / 101 MiB

LVM2 magic value at 13/0/1
part_size 488183220
Linux LVM 13 0 1 30400 254 63 488183220
LVM2, 249 GB / 232 GiB
get_geometry_from_list_part_aux head=255 nbr=4
get_geometry_from_list_part_aux head=8 nbr=1
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=4

Results
* Linux 0 1 1 12 254 63 208782 [/boot]
ext3 blocksize=1024 Sparse superblock, 106 MB / 101 MiB
P Linux LVM 13 0 1 30400 254 63 488183220
LVM2, 249 GB / 232 GiB

interface_write()
1 * Linux 0 1 1 12 254 63 208782 [/boot]
2 P Linux LVM 13 0 1 30400 254 63 488183220

search_part()
Disk /dev/sda - 250 GB / 232 GiB - CHS 30401 255 63

recover_EXT2: s_block_group_nr=0/12, s_mnt_count=10/4294967295, s_blocks_per_group=8192, s_inodes_per_group=2008
recover_EXT2: s_blocksize=1024
recover_EXT2: s_blocks_count 104388
recover_EXT2: part_size 208776
Linux 0 1 1 12 254 57 208776 [/boot]
ext3 blocksize=1024 Sparse superblock, 106 MB / 101 MiB

block_group_nr 3

recover_EXT2: "e2fsck -b 24577 -B 1024 device" may be needed
recover_EXT2: s_block_group_nr=3/12, s_mnt_count=0/4294967295, s_blocks_per_group=8192, s_inodes_per_group=2008
recover_EXT2: s_blocksize=1024
recover_EXT2: s_blocks_count 104388
recover_EXT2: part_size 208776
Linux 0 1 1 12 254 57 208776 [/boot]
ext3 blocksize=1024 Sparse superblock Backup superblock, 106 MB / 101 MiB

LVM2 magic value at 13/0/1
part_size 488183220
Linux LVM 13 0 1 30400 254 63 488183220
LVM2, 249 GB / 232 GiB
BAD_RS LBA=1968055299 3122256
check_FAT: can't read FAT boot sector
check_part_i386 failed for partition type 04
FAT16 <32M 122505 198 1 295059 218 13 2772081283
This partition ends after the disk limits. (start=1968055299, size=2772081283, end=445169285, disk end=488397168)

recover_EXT2: s_block_group_nr=0/283, s_mnt_count=1/30, s_blocks_per_group=32768, s_inodes_per_group=8176
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 9284096
recover_EXT2: part_size 74272768
Linux 2107 38 44 6730 106 32 74272768
ext4 blocksize=4096 Large file Sparse superblock Recover, 38 GB / 35 GiB

recover_EXT2: s_block_group_nr=0/283, s_mnt_count=29/30, s_blocks_per_group=32768, s_inodes_per_group=8176
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 9284096
recover_EXT2: part_size 74272768
Linux 2108 11 16 6731 79 4 74272768
ext4 blocksize=4096 Large file Sparse superblock Recover, 38 GB / 35 GiB

recover_EXT2: s_block_group_nr=0/283, s_mnt_count=29/30, s_blocks_per_group=32768, s_inodes_per_group=8176
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 9284096
recover_EXT2: part_size 74272768
Linux 2109 211 23 6733 24 11 74272768
ext4 blocksize=4096 Large file Sparse superblock Recover, 38 GB / 35 GiB
check_FAT: Unusual media descriptor (0xf0!=0xf8)
FAT12 at 2725/112/12
FAT1 : 1-9
FAT2 : 10-18
start_rootdir : 19
Data : 33-2879
sectors : 2880
cluster_size : 1
no_of_cluster : 2847 (2 - 2848)
fat_length 9 calculated 9
heads/cylinder 2 (FAT) != 255 (HD)
sect/track 18 (FAT) != 63 (HD)

FAT12 at 2725/112/12
FAT12 2725 112 12 2725 157 56 2880 [BOOTTEST]
FAT12, blocksize=512, 1474 KB / 1440 KiB

recover_EXT2: s_block_group_nr=0/94, s_mnt_count=37/38, s_blocks_per_group=32768, s_inodes_per_group=8176
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 3105792
recover_EXT2: part_size 24846336
Linux 4623 100 22 6170 1 39 24846336
ext4 blocksize=4096 Large file Sparse superblock, 12 GB / 11 GiB
Linux Swap 6024 10 3 6803 248 21 12529648
SWAP2 version 1, 6415 MB / 6117 MiB

recover_EXT2: s_block_group_nr=0/409, s_mnt_count=24/31, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 13430016
recover_EXT2: part_size 107440128
Linux 6170 34 9 12857 247 62 107440128
ext4 blocksize=4096 Large file Sparse superblock, 55 GB / 51 GiB
BAD_RS LBA=2074729475 3122256
check_FAT: can't read FAT boot sector
check_part_i386 failed for partition type 04
FAT16 <32M 129145 238 57 301700 4 6 2772081283
This partition ends after the disk limits. (start=2074729475, size=2772081283, end=551843461, disk end=488397168)

recover_EXT2: s_block_group_nr=0/409, s_mnt_count=20/31, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 13430016
recover_EXT2: part_size 107440128
Linux 9320 185 18 16008 144 8 107440128
ext4 blocksize=4096 Large file Sparse superblock Recover, 55 GB / 51 GiB

recover_EXT2: s_block_group_nr=0/409, s_mnt_count=20/31, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 13430016
recover_EXT2: part_size 107440128
Linux 9322 32 55 16009 246 45 107440128
ext4 blocksize=4096 Large file Sparse superblock Recover, 55 GB / 51 GiB
Linux Swap 12858 25 32 13665 15 30 12963824
SWAP2 version 1, 6637 MB / 6329 MiB

recover_EXT2: s_block_group_nr=0/1025, s_mnt_count=43/33, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 33608192
recover_EXT2: part_size 268865536
Linux 13665 48 16 30401 75 10 268865536 [DATA]
ext4 blocksize=4096 Large file Sparse superblock Recover, 137 GB / 128 GiB
Linux Swap 29625 46 54 30401 74 57 12468208
SWAP2 version 1, 6383 MB / 6087 MiB
Linux Swap 29636 135 4 30401 74 57 12285936
SWAP2 version 1, 6290 MB / 5998 MiB
NTFS at 29751/254/63
filesystem size 364883400
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 16
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 7039 15 1 29751 254 63 364883400
NTFS found using backup sector, blocksize=4096, 186 GB / 173 GiB
Disk /dev/sda - 250 GB / 232 GiB - CHS 30401 255 63
Check the harddisk size: HD jumpers settings, BIOS detection...
The harddisk (250 GB / 232 GiB) seems too small! (< 2481 GB / 2311 GiB)
The following partitions can't be recovered:
FAT16 <32M 122505 198 1 295059 218 13 2772081283
FAT16 <32M 129145 238 57 301700 4 6 2772081283
get_geometry_from_list_part_aux head=255 nbr=4
get_geometry_from_list_part_aux head=8 nbr=3
get_geometry_from_list_part_aux head=16 nbr=2
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=2
get_geometry_from_list_part_aux head=255 nbr=4

Results
* Linux 0 1 1 12 254 63 208782 [/boot]
ext3 blocksize=1024 Sparse superblock, 106 MB / 101 MiB
Linux LVM 13 0 1 30400 254 63 488183220
LVM2, 249 GB / 232 GiB
Linux 2107 38 44 6730 106 32 74272768
ext4 blocksize=4096 Large file Sparse superblock Recover, 38 GB / 35 GiB
Linux 2108 11 16 6731 79 4 74272768
ext4 blocksize=4096 Large file Sparse superblock Recover, 38 GB / 35 GiB
Linux 2109 211 23 6733 24 11 74272768
ext4 blocksize=4096 Large file Sparse superblock Recover, 38 GB / 35 GiB
FAT12 2725 112 12 2725 177 12 4096 [BOOTTEST]
FAT12, blocksize=512, 2097 KB / 2048 KiB
Linux 4623 100 22 6170 1 39 24846336
ext4 blocksize=4096 Large file Sparse superblock, 12 GB / 11 GiB
Linux Swap 6024 10 3 6803 248 37 12529664
SWAP2 version 1, 6415 MB / 6118 MiB
Linux 6170 34 9 12857 247 62 107440128
ext4 blocksize=4096 Large file Sparse superblock, 55 GB / 51 GiB
HPFS - NTFS 7039 15 1 29751 254 63 364883400
NTFS found using backup sector, blocksize=4096, 186 GB / 173 GiB
Linux 9320 185 18 16008 144 8 107440128
ext4 blocksize=4096 Large file Sparse superblock Recover, 55 GB / 51 GiB
Linux 9322 32 55 16009 246 45 107440128
ext4 blocksize=4096 Large file Sparse superblock Recover, 55 GB / 51 GiB
Linux Swap 12858 25 32 13665 15 46 12963840
SWAP2 version 1, 6637 MB / 6330 MiB
Linux 13665 48 16 30401 75 10 268865536 [DATA]
ext4 blocksize=4096 Large file Sparse superblock Recover, 137 GB / 128 GiB
Linux Swap 29625 46 54 30401 75 10 12468224
SWAP2 version 1, 6383 MB / 6088 MiB
Linux Swap 29636 135 4 30401 75 10 12285952
SWAP2 version 1, 6290 MB / 5999 MiB


dir_partition inode=2
Linux 9322 32 55 16009 246 45 107440128
ext4 blocksize=4096 Large file Sparse superblock Recover, 55 GB / 51 GiB
ext2fs_dir_iterate failed with error 1.
Directory /


dir_partition inode=2
Linux 9320 185 18 16008 144 8 107440128
ext4 blocksize=4096 Large file Sparse superblock Recover, 55 GB / 51 GiB
ext2fs_dir_iterate failed with error 2133571402.
Directory /


dir_partition inode=2
Linux 6170 34 9 12857 247 62 107440128
ext4 blocksize=4096 Large file Sparse superblock, 55 GB / 51 GiB
Directory /
2 drwxr-xr-x 0 0 4096 31-Jul-2011 08:41 .
2 drwxr-xr-x 0 0 4096 31-Jul-2011 08:41 ..
11 drwx------ 0 0 16384 2-May-2011 21:51 lost+found
2097153 drwxr-xr-x 1000 1000 4096 8-Jul-2012 17:56 [HOME FOLDER1 - NAME REMOVED]
131073 drwxr-xr-x 1001 1001 4096 28-Jun-2012 17:21 [HOME FOLDER2 - NAME REMOVED]
2883585 drwxr-xr-x 1002 1001 4096 30-Jun-2012 05:52 [HOME FOLDER3 - NAME REMOVED]
786433 drwx------ 0 0 4096 31-Jul-2011 08:41 .Trash-0


dir_partition inode=2
Linux 4623 100 22 6170 1 39 24846336
ext4 blocksize=4096 Large file Sparse superblock, 12 GB / 11 GiB
Directory /
2 drwxr-xr-x 0 0 4096 10-Sep-2011 22:38 .
2 drwxr-xr-x 0 0 4096 10-Sep-2011 22:38 ..
11 drwx------ 0 0 16384 2-May-2011 21:51 lost+found
130817 drwxr-xr-x 0 0 4096 10-Sep-2011 22:38 Adobe
392449 drwxr-xr-x 0 0 4096 19-Jul-2011 08:43 Adobe AIR
X 523273 -rw-r--r-- 0 0 710 24-Jun-2012 07:34 BBC iPlayer Desktop.dpkg-new
X 523273 -rw-r--r-- 0 0 710 24-Jun-2012 07:34 BBC iPlayer Desktop
523271 drwxr-xr-x 0 0 4096 30-May-2011 11:35 google


dir_partition inode=0
FAT12 2725 112 12 2725 177 12 4096 [BOOTTEST]
FAT12, blocksize=512, 2097 KB / 2048 KiB
Directory /
2 -r-xr-xr-x 0 0 24810 7-Jan-1999 07:03 IBMBIO.COM
51 -r-xr-xr-x 0 0 30880 7-Jan-1999 07:03 IBMDOS.COM
112 -rwxr-xr-x 0 0 66785 7-Jan-1999 07:03 COMMAND.COM
245 drwxr-xr-x 0 0 0 24-Oct-2001 11:15 DRDOS
2844 drwxr-xr-x 0 0 0 30-Oct-2001 19:30 OAK
1379 drwxr-xr-x 0 0 0 24-Jun-2003 13:16 NR
1419 -rwxr-xr-x 0 0 267650 10-Oct-2002 13:08 WWBMU.EXE
389 -rwxr-xr-x 0 0 2888 24-Feb-2004 09:03 README.TXT
386 -rwxr-xr-x 0 0 1920 6-Jul-2005 13:26 DCONFIG.SYS
388 -rwxr-xr-x 0 0 582 6-Jul-2005 13:27 AUTODOS7.BAT


dir_partition inode=2
Linux 2109 211 23 6733 24 11 74272768
ext4 blocksize=4096 Large file Sparse superblock Recover, 38 GB / 35 GiB
ext2fs_dir_iterate failed with error 1.
Directory /


dir_partition inode=2
Linux 2108 11 16 6731 79 4 74272768
ext4 blocksize=4096 Large file Sparse superblock Recover, 38 GB / 35 GiB
ext2fs_dir_iterate failed with error 2133571387.
Directory /


dir_partition inode=2
Linux 2107 38 44 6730 106 32 74272768
ext4 blocksize=4096 Large file Sparse superblock Recover, 38 GB / 35 GiB
ext2fs_dir_iterate failed with error 1.
Directory /


dir_partition inode=2
* Linux 0 1 1 12 254 63 208782 [/boot]
ext3 blocksize=1024 Sparse superblock, 106 MB / 101 MiB
Directory /
2 drwxr-xr-x 0 0 1024 1-Jul-2012 07:21 .
2 drwxr-xr-x 0 0 1024 1-Jul-2012 07:21 ..
11 drwx------ 0 0 12288 1-Jul-2012 07:14 lost+found
2009 drwxr-xr-x 0 0 1024 1-Jul-2012 07:26 grub
X 12 -rw-r--r-- 0 0 80032 12-Mar-2009 19:06 message;4feff966
12 -rw-r--r-- 0 0 80032 12-Mar-2009 19:06 message
18 -rw------- 0 0 3376097 ntfs_mst_post_read_fixup_warn: magic: 0x8301671d size: 1024 usa_ofs: 605 usa_count: 12562: Invalid argument
Record 0 has no FILE magic (0x8301671d)
Failed to load $MFT: Input/output error
ntfs_mst_post_read_fixup_warn: magic: 0x8301671d size: 1024 usa_ofs: 605 usa_count: 12562: Invalid argument
Record 0 has no FILE magic (0x8301671d)
Failed to load $MFT: Input/output error
ntfs_mst_post_read_fixup_warn: magic: 0x8301671d size: 1024 usa_ofs: 605 usa_count: 12562: Invalid argument
Record 0 has no FILE magic (0x8301671d)
Failed to load $MFT: Input/output error
ntfs_mst_post_read_fixup_warn: magic: 0x8301671d size: 1024 usa_ofs: 605 usa_count: 12562: Invalid argument
Record 0 has no FILE magic (0x8301671d)
Failed to load $MFT: Input/output error
1-Jul-2012 07:21 initrd-2.6.18-238.el5.img
13 -rw-r--r-- 0 0 158 13-Jan-2011 21:59 .vmlinuz-2.6.18-238.el5.hmac
14 -rw-r--r-- 0 0 979708 13-Jan-2011 21:59 System.map-2.6.18-238.el5
15 -rw-r--r-- 0 0 69815 13-Jan-2011 21:59 config-2.6.18-238.el5
16 -rw-r--r-- 0 0 112421 13-Jan-2011 22:00 symvers-2.6.18-238.el5.gz
17 -rw-r--r-- 0 0 1888052 13-Jan-2011 21:59 vmlinuz-2.6.18-238.el5


dir_partition inode=2
Linux 2107 38 44 6730 106 32 74272768
ext4 blocksize=4096 Large file Sparse superblock Recover, 38 GB / 35 GiB
ext2fs_dir_iterate failed with error 1.
Directory /


dir_partition inode=2
Linux 9322 32 55 16009 246 45 107440128
ext4 blocksize=4096 Large file Sparse superblock Recover, 55 GB / 51 GiB
ext2fs_dir_iterate failed with error 1.
Directory /
ntfs_device_testdisk_io_ioctl() unimplemented
ntfs_device_testdisk_io_ioctl() unimplemented
Not an exFAT boot sector.
ntfs_device_testdisk_io_ioctl() unimplemented
ntfs_device_testdisk_io_ioctl() unimplemented

HPFS - NTFS 7039 15 1 29751 254 63 364883400
NTFS found using backup sector, blocksize=4096, 186 GB / 173 GiB
Can't open filesystem. Filesystem seems damaged.


dir_partition inode=0
FAT12 2725 112 12 2725 177 12 4096 [BOOTTEST]
FAT12, blocksize=512, 2097 KB / 2048 KiB
Directory /
2 -r-xr-xr-x 0 0 24810 7-Jan-1999 07:03 IBMBIO.COM
51 -r-xr-xr-x 0 0 30880 7-Jan-1999 07:03 IBMDOS.COM
112 -rwxr-xr-x 0 0 66785 7-Jan-1999 07:03 COMMAND.COM
245 drwxr-xr-x 0 0 0 24-Oct-2001 11:15 DRDOS
2844 drwxr-xr-x 0 0 0 30-Oct-2001 19:30 OAK
1379 drwxr-xr-x 0 0 0 24-Jun-2003 13:16 NR
1419 -rwxr-xr-x 0 0 267650 10-Oct-2002 13:08 WWBMU.EXE
389 -rwxr-xr-x 0 0 2888 24-Feb-2004 09:03 README.TXT
386 -rwxr-xr-x 0 0 1920 6-Jul-2005 13:26 DCONFIG.SYS
388 -rwxr-xr-x 0 0 582 6-Jul-2005 13:27 AUTODOS7.BAT


dir_partition inode=2
Linux 2109 211 23 6733 24 11 74272768
ext4 blocksize=4096 Large file Sparse superblock Recover, 38 GB / 35 GiB
ext2fs_dir_iterate failed with error 1.
Directory /


dir_partition inode=2
Linux 2108 11 16 6731 79 4 74272768
ext4 blocksize=4096 Large file Sparse superblock Recover, 38 GB / 35 GiB
ext2fs_dir_iterate failed with error 2133571387.
Directory /


dir_partition inode=2
Linux 2107 38 44 6730 106 32 74272768
ext4 blocksize=4096 Large file Sparse superblock Recover, 38 GB / 35 GiB
ext2fs_dir_iterate failed with error 1.
Directory /


dir_partition inode=2
Linux 4623 100 22 6170 1 39 24846336
ext4 blocksize=4096 Large file Sparse superblock, 12 GB / 11 GiB
Directory /
2 drwxr-xr-x 0 0 4096 10-Sep-2011 22:38 .
2 drwxr-xr-x 0 0 4096 10-Sep-2011 22:38 ..
11 drwx------ 0 0 16384 2-May-2011 21:51 lost+found
130817 drwxr-xr-x 0 0 4096 10-Sep-2011 22:38 Adobe
392449 drwxr-xr-x 0 0 4096 19-Jul-2011 08:43 Adobe AIR
X 523273 -rw-r--r-- 0 0 710 24-Jun-2012 07:34 BBC iPlayer Desktop.dpkg-new
X 523273 -rw-r--r-- 0 0 710 24-Jun-2012 07:34 BBC iPlayer Desktop
523271 drwxr-xr-x 0 0 4096 30-May-2011 11:35 google

dir_partition inode=523271
Linux 4623 100 22 6170 1 39 24846336
ext4 blocksize=4096 Large file Sparse superblock, 12 GB / 11 GiB
Directory /google
523271 drwxr-xr-x 0 0 4096 30-May-2011 11:35 .
2 drwxr-xr-x 0 0 4096 10-Sep-2011 22:38 ..
X 523272 drwxr-xr-x 0 0 4096 28-Jun-2012 05:30 chrome.dpkg-new
523272 drwxr-xr-x 0 0 4096 28-Jun-2012 05:30 chrome
Directory /
2 drwxr-xr-x 0 0 4096 10-Sep-2011 22:38 .
2 drwxr-xr-x 0 0 4096 10-Sep-2011 22:38 ..
11 drwx------ 0 0 16384 2-May-2011 21:51 lost+found
130817 drwxr-xr-x 0 0 4096 10-Sep-2011 22:38 Adobe
392449 drwxr-xr-x 0 0 4096 19-Jul-2011 08:43 Adobe AIR
X 523273 -rw-r--r-- 0 0 710 24-Jun-2012 07:34 BBC iPlayer Desktop.dpkg-new
X 523273 -rw-r--r-- 0 0 710 24-Jun-2012 07:34 BBC iPlayer Desktop
523271 drwxr-xr-x 0 0 4096 30-May-2011 11:35 google

interface_write()
1 * Linux 0 1 1 12 254 63 208782 [/boot]
simulate write!

write_mbr_i386: starting...
write_all_log_i386: starting...
No extended partition

Interface Advanced
Geometry from i386 MBR: head=255 sector=63
get_geometry_from_list_part_aux head=255 nbr=2
get_geometry_from_list_part_aux head=8 nbr=1
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=2
1 * Linux 0 1 1 12 254 63 208782 [/boot]
ext3 blocksize=1024 Sparse superblock, 106 MB / 101 MiB
2 E extended LBA 6170 1 40 30401 75 10 389275648
5 L Linux 6170 34 9 12857 247 62 107440128
ext4 blocksize=4096 Large file Sparse superblock Recover, 55 GB / 51 GiB
X extended 13665 47 1 30401 75 10 268865614
6 L Linux 13665 48 16 30401 75 10 268865536 [DATA]
ext4 blocksize=4096 Large file Sparse superblock Recover, 137 GB / 128 GiB


dir_partition inode=2
5 L Linux 6170 34 9 12857 247 62 107440128
ext4 blocksize=4096 Large file Sparse superblock Recover, 55 GB / 51 GiB
Directory /
2 drwxr-xr-x 0 0 4096 31-Jul-2011 08:41 .
2 drwxr-xr-x 0 0 4096 31-Jul-2011 08:41 ..
11 drwx------ 0 0 16384 2-May-2011 21:51 lost+found
2097153 drwxr-xr-x 1000 1000 4096 8-Jul-2012 17:56 [HOME FOLDER1 - NAME REMOVED]
131073 drwxr-xr-x 1001 1001 4096 28-Jun-2012 17:21 [HOME FOLDER2 - NAME REMOVED]
2883585 drwxr-xr-x 1002 1001 4096 30-Jun-2012 05:52 [HOME FOLDER3 - NAME REMOVED]
786433 drwx------ 0 0 4096 31-Jul-2011 08:41 .Trash-0


dir_partition inode=2
1 * Linux 0 1 1 12 254 63 208782 [/boot]
ext3 blocksize=1024 Sparse superblock, 106 MB / 101 MiB
Directory /
2 drwxr-xr-x 0 0 1024 1-Jul-2012 07:21 .
2 drwxr-xr-x 0 0 1024 1-Jul-2012 07:21 ..
11 drwx------ 0 0 12288 1-Jul-2012 07:14 lost+found
2009 drwxr-xr-x 0 0 1024 1-Jul-2012 07:26 grub
X 12 -rw-r--r-- 0 0 80032 12-Mar-2009 19:06 message;4feff966
12 -rw-r--r-- 0 0 80032 12-Mar-2009 19:06 message
18 -rw------- 0 0 3376097 1-Jul-2012 07:21 initrd-2.6.18-238.el5.img
13 -rw-r--r-- 0 0 158 13-Jan-2011 21:59 .vmlinuz-2.6.18-238.el5.hmac
14 -rw-r--r-- 0 0 979708 13-Jan-2011 21:59 System.map-2.6.18-238.el5
15 -rw-r--r-- 0 0 69815 13-Jan-2011 21:59 config-2.6.18-238.el5
16 -rw-r--r-- 0 0 112421 13-Jan-2011 22:00 symvers-2.6.18-238.el5.gz
17 -rw-r--r-- 0 0 1888052 13-Jan-2011 21:59 vmlinuz-2.6.18-238.el5
New options :
Dump : No
Align partition: Yes
Expert mode : No

Analyse Disk /dev/sda - 250 GB / 232 GiB - CHS 30401 255 63
Geometry from i386 MBR: head=255 sector=63
get_geometry_from_list_part_aux head=255 nbr=2
get_geometry_from_list_part_aux head=8 nbr=1
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=2
Current partition structure:
1 * Linux 0 1 1 12 254 63 208782 [/boot]
2 E extended LBA 6170 1 40 30401 75 10 389275648
5 L Linux 6170 34 9 12857 247 62 107440128
X extended 13665 47 1 30401 75 10 268865614
6 L Linux 13665 48 16 30401 75 10 268865536 [DATA]
Backup partition structure
partition_save

search_part()
Disk /dev/sda - 250 GB / 232 GiB - CHS 30401 255 63

recover_EXT2: s_block_group_nr=0/12, s_mnt_count=10/4294967295, s_blocks_per_group=8192, s_inodes_per_group=2008
recover_EXT2: s_blocksize=1024
recover_EXT2: s_blocks_count 104388
recover_EXT2: part_size 208776
Linux 0 1 1 12 254 57 208776 [/boot]
ext3 blocksize=1024 Sparse superblock, 106 MB / 101 MiB

LVM2 magic value at 13/0/1
part_size 488183220
Linux LVM 13 0 1 30400 254 63 488183220
LVM2, 249 GB / 232 GiB
get_geometry_from_list_part_aux head=255 nbr=4
get_geometry_from_list_part_aux head=8 nbr=1
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=4

Results
* Linux 0 1 1 12 254 63 208782 [/boot]
ext3 blocksize=1024 Sparse superblock, 106 MB / 101 MiB
P Linux LVM 13 0 1 30400 254 63 488183220
LVM2, 249 GB / 232 GiB

interface_write()
1 * Linux 0 1 1 12 254 63 208782 [/boot]
2 P Linux LVM 13 0 1 30400 254 63 488183220

search_part()
Disk /dev/sda - 250 GB / 232 GiB - CHS 30401 255 63

recover_EXT2: s_block_group_nr=0/12, s_mnt_count=10/4294967295, s_blocks_per_group=8192, s_inodes_per_group=2008
recover_EXT2: s_blocksize=1024
recover_EXT2: s_blocks_count 104388
recover_EXT2: part_size 208776
Linux 0 1 1 12 254 57 208776 [/boot]
ext3 blocksize=1024 Sparse superblock, 106 MB / 101 MiB

block_group_nr 3

recover_EXT2: "e2fsck -b 24577 -B 1024 device" may be needed
recover_EXT2: s_block_group_nr=3/12, s_mnt_count=0/4294967295, s_blocks_per_group=8192, s_inodes_per_group=2008
recover_EXT2: s_blocksize=1024
recover_EXT2: s_blocks_count 104388
recover_EXT2: part_size 208776
Linux 0 1 1 12 254 57 208776 [/boot]
ext3 blocksize=1024 Sparse superblock Backup superblock, 106 MB / 101 MiB

LVM2 magic value at 13/0/1
part_size 488183220
Linux LVM 13 0 1 30400 254 63 488183220
LVM2, 249 GB / 232 GiB
Search for partition aborted
get_geometry_from_list_part_aux head=255 nbr=4
get_geometry_from_list_part_aux head=8 nbr=1
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=4

Results
* Linux 0 1 1 12 254 63 208782 [/boot]
ext3 blocksize=1024 Sparse superblock, 106 MB / 101 MiB
P Linux LVM 13 0 1 30400 254 63 488183220
LVM2, 249 GB / 232 GiB

interface_write()
1 * Linux 0 1 1 12 254 63 208782 [/boot]
2 P Linux LVM 13 0 1 30400 254 63 488183220
simulate write!

write_mbr_i386: starting...
write_all_log_i386: starting...
No extended partition

TestDisk exited normally.


Sponsored links

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests