TestDisk: RAW status of hard drives!!

  goll_y 18:51 02 Feb 2006
Locked

I hope you might be able to help:

Basically, I've got three hard drives in my computer (sda NTFS, running windows, 20GB - no problems with this drive), (sdb 40GB was
previously NTFS now classed as RAW which had media files attached), (sdc 40GB was previously NTFS now classed as RAW which was previously blank)

I've tried to install Linux Fedora 4 on these drives. Unfortunately the first time I did it accidently put it on sdb and wiped all my
media files. For some reason the install went
wrong, Fedora didn't like it and the hdd ended up as RAW, therefore losing all my music. I've run TestDisk on this drive. It didn't give
me an option to Search but just list all the files (which showed previous media files). I've attached the Testdisk log for this below if anyone is familiar.

I then tried to install Linux on sdc which again went wrong and the hdd ended up as RAW. As a final last attempt, I again tried to write Linux to sdc (now RAW) and surprisingly it worked..... it finished the installation and after changing the location of GRUB to the hdd with windows on it now can boot into linux.

In an ideal world I'd love to have sdb back to NTFS with all my media files again. I'd also love to have sdc back to NTFS with a fully
working Fedora 4. I'm not sure if this is possible. Does the hdd (if it has no partitions always end up showing RAW if viewed in Windows?).

If you could please take a look at the logs and let me know what I can do that would be excellent. Hopefully there will be some good news
somewhere on this!!!

  goll_y 18:53 02 Feb 2006

Here's the log for sdb:

Tue Jan 31 07:58:51 2006
TestDisk command line :
TestDisk 6.3-WIP, Data Recovery Utility, January 2006
Christophe GRENIER <[email protected]>
click here
Windows version (ext2fs lib: 1.38, ntfs lib: avaible, reiserfs lib: 0.3.1-rc8)
Using locale 'C'.
file_test_availability_win32(\\.\D:) GetFileSize err Incorrect function.

file_test_availability_win32(\\.\D:) SetFilePointer err Incorrect function.

Warning: can't get size for \\.\D:
file_test_availability_win32(\\.\E:) GetFileSize err Incorrect function.

file_test_availability_win32(\\.\E:) SetFilePointer err Incorrect function.

Warning: can't get size for \\.\E:
file_test_availability_win32(\\.\F:) GetFileSize err Incorrect function.

file_test_availability_win32(\\.\F:) SetFilePointer err Incorrect function.

Warning: can't get size for \\.\F:
file_read(4,16,buffer,39889394(2482/254/63)) seek err Invalid argument
file_read(4,1,buffer,39889394(2482/254/63)) seek err Invalid argument
file_read(5,16,buffer,80308934(4998/254/63)) seek err Invalid argument
file_read(5,1,buffer,80308934(4998/254/63)) seek err Invalid argument
file_read(6,16,buffer,80051894(4982/254/63)) seek err Invalid argument
file_read(6,1,buffer,80051894(4982/254/63)) seek err Invalid argument
Hard disk list
Disk /dev/sda - 20 GB / 19 GiB - CHS 2482 255 63, sector size=512
Disk /dev/sdb - 41 GB / 38 GiB - CHS 4998 255 63, sector size=512
Disk /dev/sdc - 40 GB / 38 GiB - CHS 4982 255 63, sector size=512

Disk /dev/sdb - 41 GB / 38 GiB
Partition table type: Intel
file_read(5,16,buffer,80308934(4998/254/63)) seek err Invalid argument
file_read(5,1,buffer,80308934(4998/254/63)) seek err Invalid argument

Analyse Disk /dev/sdb - 41 GB / 38 GiB - CHS 4998 255 63
Geometry from i386 MBR: head=255 sector=63
check_part_i386 failed for partition type 8E
get_geometry_from_list_part_aux head=255 nbr=2
get_geometry_from_list_part_aux head=255 nbr=2
Current partition structure:
1 * Linux LVM 13 0 1 4997 254 63 80084025
1 * Linux LVM 13 0 1 4997 254 63 80084025

search_part()
Disk /dev/sdb - 41 GB / 38 GiB - CHS 4998 255 63
NTFS at 0/1/1
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 5017296
clusters_per_mft_record -10
clusters_per_index_record 1
D HPFS - NTFS 0 1 1 4996 254 63 80276742
NTFS, 41 GB / 38 GiB
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

Results
* HPFS - NTFS 0 1 1 4996 254 63 80276742
NTFS, 41 GB / 38 GiB


dir_partition inode=5
* HPFS - NTFS 0 1 1 4996 254 63 80276742
NTFS, 41 GB / 38 GiB
Directory /
5 dr-xr-xr-x 0 0 0 14-Sep-2005 21:29 .
5 dr-xr-xr-x 0 0 0 14-Sep-2005 21:29 ..
29 dr-xr-xr-x 0 0 0 14-Sep-2005 21:31 Blues
110 dr-xr-xr-x 0 0 0 14-Sep-2005 21:31 Chillout
533 dr-xr-xr-x 0 0 0 14-Sep-2005 21:35 Christian
1425 dr-xr-xr-x 0 0 0 14-Sep-2005 21:42 Dance
4727 dr-xr-xr-x 0 0 0 14-Sep-2005 22:06 Football
7022 dr-xr-xr-x 0 0 0 2-Jan-2006 18:21 IPTV
6654 dr-xr-xr-x 0 0 0 29-Dec-2005 07:47 My Pictures
4785 dr-xr-xr-x 0 0 0 14-Sep-2005 22:07 Pop
4912 dr-xr-xr-x 0 0 0 14-Sep-2005 22:07 Rap and Hip-Hop
6144 dr-xr-xr-x 0 0 0 14-Sep-2005 22:16 RECYCLER
5217 dr-xr-xr-x 0 0 0 14-Sep-2005 22:08 Rock
6192 dr-xr-xr-x 0 0 0 16-Sep-2005 21:18 Simpsons
5684 dr-xr-xr-x 0 0 0 14-Sep-2005 22:11 Soundtracks
27 dr-xr-xr-x 0 0 0 14-Sep-2005 21:30 System Volume Information
6535 dr-xr-xr-x 0 0 0 10-Oct-2005 18:52 Valentine Song

interface_write()
1 * HPFS - NTFS 0 1 1 4996 254 63 80276742
simulate write!

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

TestDisk exited normally.

  goll_y 18:54 02 Feb 2006

And the log for sdc:

Tue Jan 31 08:00:44 2006
TestDisk command line :
TestDisk 6.3-WIP, Data Recovery Utility, January 2006
Christophe GRENIER <[email protected]>
click here
Windows version (ext2fs lib: 1.38, ntfs lib: avaible, reiserfs lib: 0.3.1-rc8)
Using locale 'C'.
file_test_availability_win32(\\.\D:) GetFileSize err Incorrect function.

file_test_availability_win32(\\.\D:) SetFilePointer err Incorrect function.

Warning: can't get size for \\.\D:
file_test_availability_win32(\\.\E:) GetFileSize err Incorrect function.

file_test_availability_win32(\\.\E:) SetFilePointer err Incorrect function.

Warning: can't get size for \\.\E:
file_test_availability_win32(\\.\F:) GetFileSize err Incorrect function.

file_test_availability_win32(\\.\F:) SetFilePointer err Incorrect function.

Warning: can't get size for \\.\F:
file_read(4,16,buffer,39889394(2482/254/63)) seek err Invalid argument
file_read(4,1,buffer,39889394(2482/254/63)) seek err Invalid argument
file_read(5,16,buffer,80308934(4998/254/63)) seek err Invalid argument
file_read(5,1,buffer,80308934(4998/254/63)) seek err Invalid argument
file_read(6,16,buffer,80051894(4982/254/63)) seek err Invalid argument
file_read(6,1,buffer,80051894(4982/254/63)) seek err Invalid argument
Hard disk list
Disk /dev/sda - 20 GB / 19 GiB - CHS 2482 255 63, sector size=512
Disk /dev/sdb - 41 GB / 38 GiB - CHS 4998 255 63, sector size=512
Disk /dev/sdc - 40 GB / 38 GiB - CHS 4982 255 63, sector size=512

Disk /dev/sdc - 40 GB / 38 GiB
Partition table type: Intel
file_read(6,16,buffer,80051894(4982/254/63)) seek err Invalid argument
file_read(6,1,buffer,80051894(4982/254/63)) seek err Invalid argument

Analyse Disk /dev/sdc - 40 GB / 38 GiB - CHS 4982 255 63
Geometry from i386 MBR: head=255 sector=63

LVM2 magic value at 13/0/1
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
Current partition structure:
1 * Linux 0 1 1 12 254 63 208782 [/boot]
2 P Linux LVM 13 0 1 4981 254 63 79826985

search_part()
Disk /dev/sdc - 40 GB / 38 GiB - CHS 4982 255 63

recover_EXT2: s_block_group_nr=0/12, s_mnt_count=11/4294967295, s_blocks_per_group=8192
recover_EXT2: boot_sector=0, s_blocksize=1024
recover_EXT2: s_blocks_count 104388
recover_EXT2: part_size 208776
D Linux 0 1 1 12 254 57 208776 [/boot]
EXT3 Sparse superblock, 106 MB / 101 MiB

LVM2 magic value at 13/0/1
part_size 79826601
D Linux LVM 13 0 1 4981 248 57 79826601
LVM2, 40 GB / 38 GiB
get_geometry_from_list_part_aux head=255 nbr=3
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=3

Results
* Linux 0 1 1 12 254 63 208782 [/boot]
EXT3 Sparse superblock, 106 MB / 101 MiB
P Linux LVM 13 0 1 4981 254 63 79826985
LVM2, 40 GB / 38 GiB

  goll_y 18:55 02 Feb 2006

dir_partition inode=2
* Linux 0 1 1 12 254 63 208782 [/boot]
EXT3 Sparse superblock, 106 MB / 101 MiB
Directory /
2 drwxr-xr-x 0 0 1024 29-Jan-2006 18:03 .
2 drwxr-xr-x 0 0 1024 29-Jan-2006 18:03 ..
11 drwx------ 0 0 12288 29-Jan-2006 16:24 lost+found
22089 drwxr-xr-x 0 0 1024 29-Jan-2006 18:12 grub
15 -rw-r--r-- 0 0 1707939 29-Jan-2006 16:44 initrd-2.6.11-1.1369_FC4.img
12 -rw-r--r-- 0 0 764778 3-Jun-2005 04:03 System.map-2.6.11-1.1369_FC4
13 -rw-r--r-- 0 0 56991 3-Jun-2005 04:03 config-2.6.11-1.1369_FC4
14 -rw-r--r-- 0 0 1639539 3-Jun-2005 04:03 vmlinuz-2.6.11-1.1369_FC4
16 -rw-r--r-- 0 0 94600 28-Mar-2005 23:08 memtest86+-1.55.1
17 -rw-r--r-- 0 0 1610052 23-May-2005 12:47 xen-syms
6025 -rw-r--r-- 0 0 159966 23-May-2005 12:47 xen.gz




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

search_part()
Disk /dev/sdc - 40 GB / 38 GiB - CHS 4982 255 63

recover_EXT2: s_block_group_nr=0/12, s_mnt_count=11/4294967295, s_blocks_per_group=8192
recover_EXT2: boot_sector=0, s_blocksize=1024
recover_EXT2: s_blocks_count 104388
recover_EXT2: part_size 208776
D Linux 0 1 1 12 254 57 208776 [/boot]
EXT3 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
recover_EXT2: boot_sector=24577, s_blocksize=1024
recover_EXT2: s_blocks_count 104388
recover_EXT2: part_size 208776
D Linux 0 1 1 12 254 57 208776 [/boot]
EXT3 Sparse superblock Backup superblock, 106 MB / 101 MiB

LVM2 magic value at 13/0/1
part_size 79826601
D Linux LVM 13 0 1 4981 248 57 79826601
LVM2, 40 GB / 38 GiB

HFS magic value at 3929/254/63

HFS magic value at 4651/0/1
check_FAT: Unusual, only one FAT
FAT32
check_FAT: Bad number of entries in root dir
NTFS at 4980/254/63
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 5001231
clusters_per_mft_record -10
clusters_per_index_record 1
D HPFS - NTFS 0 1 1 4980 254 63 80019702
NTFS found using backup sector!, 40 GB / 38 GiB
get_geometry_from_list_part_aux head=255 nbr=5
get_geometry_from_list_part_aux head=8 nbr=2
get_geometry_from_list_part_aux head=16 nbr=2
get_geometry_from_list_part_aux head=32 nbr=2
get_geometry_from_list_part_aux head=64 nbr=2
get_geometry_from_list_part_aux head=128 nbr=2
get_geometry_from_list_part_aux head=240 nbr=2
get_geometry_from_list_part_aux head=255 nbr=5

Results
D Linux 0 1 1 12 254 63 208782 [/boot]
EXT3 Sparse superblock, 106 MB / 101 MiB
D HPFS - NTFS 0 1 1 4980 254 63 80019702
NTFS found using backup sector!, 40 GB / 38 GiB
D Linux LVM 13 0 1 4981 254 63 79826985
LVM2, 40 GB / 38 GiB


dir_partition inode=2
D Linux 0 1 1 12 254 63 208782 [/boot]
EXT3 Sparse superblock, 106 MB / 101 MiB
Directory /
2 drwxr-xr-x 0 0 1024 29-Jan-2006 18:03 .
2 drwxr-xr-x 0 0 1024 29-Jan-2006 18:03 ..
11 drwx------ 0 0 12288 29-Jan-2006 16:24 lost+found
22089 drwxr-xr-x 0 0 1024 29-Jan-2006 18:12 grub
15 -rw-r--r-- 0 0 1707939 29-Jan-2006 16:44 initrd-2.6.11-1.1369_FC4.img
12 -rw-r--r-- 0 0 764778 3-Jun-2005 04:03 System.map-2.6.11-1.1369_FC4
13 -rw-r--r-- 0 0 56991 3-Jun-2005 04:03 config-2.6.11-1.1369_FC4
14 -rw-r--r-- 0 0 1639539 3-Jun-2005 04:03 vmlinuz-2.6.11-1.1369_FC4
16 -rw-r--r-- 0 0 94600 28-Mar-2005 23:08 memtest86+-1.55.1
17 -rw-r--r-- 0 0 1610052 23-May-2005 12:47 xen-syms
6025 -rw-r--r-- 0 0 159966 23-May-2005 12:47 xen.gz

io_redir_read: read 512 from another position

  goll_y 18:56 02 Feb 2006

dir_partition inode=5
D HPFS - NTFS 0 1 1 4980 254 63 80019702
NTFS found using backup sector!, 40 GB / 38 GiB
Directory /
5 dr-xr-xr-x 0 0 0 28-Jan-2006 10:39 .
5 dr-xr-xr-x 0 0 0 28-Jan-2006 10:39 ..
30 dr-xr-xr-x 0 0 0 28-Jan-2006 10:44 RECYCLER
27 dr-xr-xr-x 0 0 0 28-Jan-2006 10:39 System Volume Information


interface_write()

No partition found or selected for recovery
simulate write!

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

TestDisk exited normally.

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Alienware 17 R4 2017 review

Illustrator Sylvain Tegroeg created thousands of intricate line drawings for the mobile game…

Best iPad buying guide 2017

Comment télécharger une application indisponible en France ?