Page 1 of 1

testdisk device (how can I workout how to use this for my PVR HDD?)

Posted: 28 Oct 2025, 09:05
by zainalara
To repair a filesystem not listed by TestDisk, run testdisk device, i.e.

testdisk /dev/mapper/truecrypt0 or testdisk /dev/loop0 to repair the NTFS or FAT32 boot sector files from a TrueCrypt partition.
The same method works with filesystem encrypted with cryptsetup/dm-crypt/LUKS.
testdisk /dev/md0 to repair a filesystem on top of a Linux RAID device.

So what command line should I use for my faulty HDD?
Although I'm running TestDisk from my W10 PC, and the HDD is in my W10 caddy,
this drive came out of a PVR so its filesystem is probably not the same as Windows.

Re: testdisk device (how can I workout how to use this for my PVR HDD?)

Posted: 28 Oct 2025, 10:07
by recuperation
zainalara wrote: 28 Oct 2025, 09:05 To repair a filesystem not listed by TestDisk, run testdisk device, i.e.

testdisk /dev/mapper/truecrypt0 or testdisk /dev/loop0 to repair the NTFS or FAT32 boot sector files from a TrueCrypt partition.
The same method works with filesystem encrypted with cryptsetup/dm-crypt/LUKS.
testdisk /dev/md0 to repair a filesystem on top of a Linux RAID device.

So what command line should I use for my faulty HDD?
Although I'm running TestDisk from my W10 PC, and the HDD is in my W10 caddy,
this drive came out of a PVR so its filesystem is probably not the same as Windows.
Use the lsblk command p.e.to identify your disk. Run TestDisk and do an analysis:

https://www.cgsecurity.org/wiki/TestDisk_Step_By_Step

When the current partition table appears, the type of file system will be listed as well.

Look up the documentation to learn to what degree your file system is supported.

https://www.cgsecurity.org/testdisk_doc ... ystem.html