diff --git a/pages/common/testdisk.md b/pages/common/testdisk.md new file mode 100644 index 0000000000..fa073bc41a --- /dev/null +++ b/pages/common/testdisk.md @@ -0,0 +1,25 @@ +# testdisk + +> Scan and repair disk partitions. +> See also: `photorec`, `fdisk`. +> More information: . + +- Start TestDisk on a specific device: + +`sudo testdisk {{/dev/sdX}}` + +- Start TestDisk on a disk image: + +`sudo testdisk {{path/to/image.dd}}` + +- Start TestDisk and create a log file (`testdisk.log`): + +`sudo testdisk /log {{/dev/sdX}}` + +- List current partitions: + +`sudo testdisk /list` + +- Display version: + +`testdisk /version`