how to find the correct partition type [list of partition type]?

How to use TestDisk to recover lost partition
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
dentonmedia
Posts: 3
Joined: 03 Apr 2020, 23:10

how to find the correct partition type [list of partition type]?

#1 Post by dentonmedia »

Thanks for this great software,

How do I find the correct type under
  • Please.


    Sat Apr 4 00:38:42 2020
    Command line: TestDisk

    TestDisk 7.2-WIP, Data Recovery Utility, July 2019
    Christophe GRENIER <grenier@cgsecurity.org>
    https://www.cgsecurity.org
    OS: Windows 8 (9200)
    Compiler: GCC 6.4, Cygwin 2009.0
    ext2fs lib: 1.43.1, ntfs lib: 10:0:0, reiserfs lib: none, ewf lib: 20140608, curses lib: ncurses 6.0
    disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sda)=500107862016
    disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=500107862016
    disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=500107862016
    disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=500107862016
    disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=499180469760
    filewin32_getfilesize(\\.\D:) GetFileSize err Incorrect function.

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

    Warning: can't get size for \\.\D:
    Hard disk list
    Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63, sector size=512 - ST3500830AS, S/N:5QG29CSR, FW:3.AAD
    Disk /dev/sdb - 500 GB / 465 GiB - CHS 7600 255 63, sector size=4096 - WDC WD50 00LPCX-24C6HT0, S/N:152D20337A0C
    Disk \\.\PhysicalDrive1 - 500 GB / 465 GiB - CHS 7600 255 63, sector size=4096 - WDC WD50 00LPCX-24C6HT0, S/N:152D20337A0C

    Partition table type defaults to Intel
    Disk /dev/sdb - 500 GB / 465 GiB - WDC WD50 00LPCX-24C6HT0
    Partition table type: Intel
    New geometry
    Disk /dev/sdb - 500 GB / 465 GiB - CHS 60802 255 63 sector_size=512
    New options :
    Dump : No
    Align partition: Yes
    Expert mode : Yes

    Interface Advanced

    Interface Advanced

    Analyse Disk /dev/sdb - 500 GB / 465 GiB - CHS 60802 255 63
    Current partition structure:

    Partition: Read error

    search_part()
    Disk /dev/sdb - 500 GB / 465 GiB - CHS 60802 255 63
    file_pread(5,2,buffer,4(0/0/5)) ReadFile Data error (cyclic redundancy check).

    ......

    file_pread(5,2,buffer,122098175(7600/66/18)) lseek err Invalid argument
    Search for partition aborted

    Results

    interface_write()

    No partition found or selected for recovery

    search_part()
    Disk /dev/sdb - 500 GB / 465 GiB - CHS 60802 255 63
    file_pread(5,1,buffer,0(0/0/1)) ReadFile Data error (cyclic redundancy check).

    ......

    file_pread(5,2,buffer,122098175(7600/66/18)) lseek err Invalid argument
    Search for partition aborted

    Results
    interface_load
    Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63 Mon Sep 30 10:43:17 2019
    1 * HPFS - NTFS 0 32 33 121601 25 24 1953519616
    Disk /dev/sdb - 500 GB / 465 GiB - CHS 7600 255 63 Wed Apr 1 06:55:59 2020
    1 P EFI GPT 0 0 2 267349 89 4 4294967295
    check_part_i386 1 type EE: no test

    interface_write()
    1 P EFI GPT 0 0 2 267349 89 4 4294967295
    write!

    write_mbr_i386: starting...
    file_pread(5,1,buffer,0(0/0/1)) ReadFile Data error (cyclic redundancy check).

    Partition: Read error
    Store new MBR code
    file_pread(5,1,buffer,0(0/0/1)) ReadFile Data error (cyclic redundancy check).

    read failed but trying to write anywayfile_pwrite(5,1,buffer,0(0/0/1)) write err File truncated
    write_all_log_i386: starting...
    No extended partition

    Partition: Write error

    Interface Advanced
    file_pread(5,1,buffer,0(0/0/1)) ReadFile The specified network resource or device is no longer available.

    TestDisk exited normally.

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

Re: how to find the correct partition type [list of partition type]?

#2 Post by cgrenier »

It is a physical problem. You should contact a data recovery company.

dentonmedia
Posts: 3
Joined: 03 Apr 2020, 23:10

Re: how to find the correct partition type [list of partition type]?

#3 Post by dentonmedia »

Thanks for your response.
I was able to list the files and then I was unable to list them again.

What would be the best approach with testdisk to reset the drive or make it usable again?

dentonmedia
Posts: 3
Joined: 03 Apr 2020, 23:10

Re: how to find the correct partition type [list of partition type]?

#4 Post by dentonmedia »

cgrenier wrote: 04 Apr 2020, 07:52 It is a physical problem. You should contact a data recovery company.
I don't know which partition type to select under the list partition type for this drive.
Disk /dev/sdb - 500 GB / 465 GiB - CHS 7600 255 63, sector size=4096 - WDC WD50 00LPCX-24C6HT0, S/N:152D20337A0C

[edit]Is there a way to find out which partition type would fit the drive plugged in with testdisk?[/edit]

Locked