Unknown type

Using PhotoRec to recover lost data
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
PeterMiller
Posts: 4
Joined: 10 Dec 2017, 11:57

Unknown type

#1 Post by PeterMiller »

Hello,
I want to recover data/partition from external disc: testdisk shows "unknown" type.
How to proceed?
Thanks in advance for helping.
Regards, PM
Attachments
unknown type.jpg
unknown type.jpg (27.2 KiB) Viewed 5485 times

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

Re: Unknown type

#2 Post by cgrenier »

Do not choose partition type None.
Read https://www.cgsecurity.org/testdisk.pdf

PeterMiller
Posts: 4
Joined: 10 Dec 2017, 11:57

Re: Unknown type

#3 Post by PeterMiller »

Sorry, but I still do not know how to solve this problem, even after checking TestDisk Documentation, Release 7.1.
What one should do if partition type is "unknown"?
Thanks in advance for advice.
Regards, PM

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

Re: Unknown type

#4 Post by cgrenier »

If you choose partition type: None, it means there is no partition, so it's useless to search for partitions...
PC Intel or EFI GPT is probably the correct partition table type.

Please copy and paste the whole testdisk.log file.

PeterMiller
Posts: 4
Joined: 10 Dec 2017, 11:57

Re: Unknown type

#5 Post by PeterMiller »

Hello,
I chose the suggested partition type Intel. Result again: P unknown.
Then I tried advanced-file system utils
A list was displayed. From this, I tried NTFS and FAT32.
But apparently, testdisk cannot read boot sector. Should I click on "rebuild BS"?
Or, what do you recommend?
Regards, A. Pesch

testdisk.log file:
Mon Dec 18 21:52:09 2017
Command line: TestDisk

TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows 8 (9200)
Compiler: GCC 4.8, Cygwin 1007.34
Compilation date: 2015-04-18T13:01:55
ext2fs lib: 1.42.8, ntfs lib: 10:0:0, reiserfs lib: 0.3.1-rc8, ewf lib: 20120504, curses lib: ncurses 5.9
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sda)=640135028736
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdc)=5000981078016
filewin32_getfilesize(/dev/sdd) GetFileSize err Unzulässige Funktion.

filewin32_setfilepointer(/dev/sdd) SetFilePointer err Unzulässige Funktion.

Warning: can't get size for Disk /dev/sdd - 0 B - 0 sectors, sector size=512
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=640135028736
filewin32_getfilesize(\\.\PhysicalDrive1) GetFileSize err Unzulässige Funktion.

filewin32_setfilepointer(\\.\PhysicalDrive1) SetFilePointer err Unzulässige Funktion.

Warning: can't get size for \\.\PhysicalDrive1
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive2)=5000981078016
filewin32_getfilesize(\\.\PhysicalDrive3) GetFileSize err Unzulässige Funktion.

filewin32_setfilepointer(\\.\PhysicalDrive3) SetFilePointer err Unzulässige Funktion.

Warning: can't get size for \\.\PhysicalDrive3
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=159554789376
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=2000396746752
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\E:)=0
Warning: can't get size for \\.\E:
filewin32_getfilesize(\\.\F:) GetFileSize err Unzulässige Funktion.

filewin32_setfilepointer(\\.\F:) SetFilePointer err Unzulässige Funktion.

Warning: can't get size for \\.\F:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\H:)=457028141056
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\I:)=5000969981952
Hard disk list
Disk /dev/sda - 640 GB / 596 GiB - CHS 77825 255 63, sector size=512
Disk /dev/sdc - 5000 GB / 4657 GiB - CHS 76000 255 63, sector size=4096
Disk \\.\PhysicalDrive2 - 5000 GB / 4657 GiB - CHS 76000 255 63, sector size=4096
Drive C: - 159 GB / 148 GiB - CHS 19398 255 63, sector size=512
Drive D: - 2000 GB / 1863 GiB - CHS 3907024896 1 1, sector size=512
Drive H: - 457 GB / 425 GiB - CHS 55563 255 63, sector size=512
Drive I: - 5000 GB / 4657 GiB - CHS 75999 255 63, sector size=4096

Partition table type default to None
Drive D: - 2000 GB / 1863 GiB
Partition table type: None

Interface Advanced
file_win32_pread(632,7,buffer,3907024769(3907024769/0/1)) read err: read after end of file
P Unknown 0 3907024895 3907024896
Change partition type:
P NTFS 0 3907024895 3907024896
Change partition type:
P NTFS 0 3907024895 3907024896

ntfs_boot_sector
P NTFS 0 3907024895 3907024896
filesystem size 1
sectors_per_cluster 0
mft_lcn 0
mftmirr_lcn 0
clusters_per_mft_record 0
clusters_per_index_record 0
Boot sector
ntfs_boot_sector: Can't read boot sector.
Status: Bad

Backup boot sector
ntfs_boot_sector: Can't read backup boot sector.
Status: Bad

Sectors are identical.

A valid NTFS Boot sector must be present in order to access
any data; even if the partition is not bootable.

Interface Advanced
P Unknown 0 3907024895 3907024896
Change partition type:
P FAT32 0 3907024895 3907024896

Interface Advanced
P Unknown 0 3907024895 3907024896
Change partition type:
P FAT32 0 3907024895 3907024896

fat32_boot_sector
P FAT32 0 3907024895 3907024896
Boot sector
fat32_boot_sector: Can't read boot sector.
Bad

Backup boot sector
fat32_boot_sector: Can't read backup boot sector.
Bad

Sectors are identical.

A valid FAT Boot sector must be present in order to access
any data; even if the partition is not bootable.

TestDisk exited normally.
Attachments
result after chosing e.g. NTFS from list.jpg
result after chosing e.g. NTFS from list.jpg (19.17 KiB) Viewed 5430 times
list displayed after chosing advanced.jpg
list displayed after chosing advanced.jpg (18.89 KiB) Viewed 5430 times
partition read error.jpg
partition read error.jpg (12.69 KiB) Viewed 5430 times

PeterMiller
Posts: 4
Joined: 10 Dec 2017, 11:57

Re: Unknown type

#6 Post by PeterMiller »

Hello and "Happy New Year":
I provided all the requested information about my issue, but I didn´t receive any more answer. Hence, I suppose you do not "dare" to give me the answer that Testdisc does not work at least in this case. Am I right?
Sincerely, PM

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

Re: Unknown type

#7 Post by cgrenier »

It's useless to search partitions inside a partition D:

If a partition is missing, search for them on a disk instead (sda, \.\PhysicalDrive2 or sdc).
If the filesystem is damaged, read https://www.cgsecurity.org/testdisk.pdf chapter "Repairing filesystem"

Locked