TESTDISK(8)
π TESTDISK π
okay bestie, so you know that moment when your partition just... vanishes? yeah. this is the girl who fixes that. testdisk is the section 8 (admin tools) queen whose whole job is scanning and repairing disk partitions. she's been around, she's seen things, and she's about to save your entire vibe. π«Ά
β¨ SYNOPSIS β¨
testdisk [/log] [/debug] [/dump] [device|image.dd|image.e01]
testdisk /version
testdisk /list [/log]
like, that's it. that's the whole summoning ritual. π
πΈ DESCRIPTION πΈ
TestDisk checks and recovers lost partitions. no cap, that's literally the mission statement. π
It works with:
- BeFS (BeOS)
- BSD disklabel (FreeBSD/OpenBSD/NetBSD)
- CramFS, Compressed File System
- DOS/Windows FAT12, FAT16 and FAT32
- HFS and HFS+, Hierarchical File System
- JFS, IBM's Journaled File System
- Linux ext2/ext3/ext4
- Linux Raid
- RAID 1: mirroring
- RAID 4: striped array with parity device
- RAID 5: striped array with distributed parity information
- RAID 6: striped array with distributed dual redundancy information
- Linux Swap (versions 1 and 2)
- LVM and LVM2, Linux Logical Volume Manager
- Mac partition map
- Novell Storage Services NSS
- NTFS (Windows NT/2K/XP/2003/Vista/...)
- ReiserFS 3.5, 3.6 and 4
- Sun Solaris i386 disklabel
- Unix File System UFS and UFS2 (Sun/BSD/...)
- XFS, SGI's Journaled File System
it's giving encyclopedic. she speaks every filesystem dialect and she's not even bragging. π
It can undelete files from:
- DOS/Windows FAT12, FAT16 and FAT32
- Linux ext2
- NTFS (Windows NT/2K/XP/2003/Vista/...)
yes bestie, undelete. the files you thought were gone forever? she might pull them back out of the void. main character energy fr fr. π
For more information on how to use, please visit the wiki pages on www.cgsecurity.org β that's the group chat you wanna join, iykyk. π¦
π OPTIONS π
/logβ create atestdisk.logfile. receipts, but make them text. β¨/debugβ add debug information. for when you wanna see the drama behind the drama. π/dumpβ dump raw sectors. raw. unfiltered. no makeup. π/listβ display current partitions. a little vibe check on what's already living on your disk. π
π SEE ALSO π
(photorec is her sister btw, she's the one who goes hunting for the actual files. tag team. π)
π AUTHOR π
TestDisk 7.2, Data Recovery Utility, February 2024
Christophe GRENIER <grenier@cgsecurity.org>
and that's the whole page, bestie β¨ β TestDisk 7.2, Data Recovery Utility, February 2024, from the February 2024 release, section 8 of the Administration Tools manual. go forth and recover your partitions. slay. π πΈ
π¦ where this page comes from
- alpine 3.22: testdisk-doc 7.2-r1 Β· GPL-2.0-or-later
- alpine 3.23: testdisk-doc 7.2-r1 Β· GPL-2.0-or-later
- alpine 3.24: testdisk-doc 7.2-r1 Β· GPL-2.0-or-later
- arch rolling: testdisk 7.2-5 Β· GPL-3.0-or-later
- debian trixie: testdisk 7.2-0.1
- epel 10: testdisk 7.2-1.el10_3 Β· GPLv2+
- epel 9: testdisk 7.2-2.el9 Β· GPLv2+
- fedora 43: testdisk 7.2-5.fc43 Β· GPL-2.0-or-later
- fedora 44: testdisk 7.2-6.fc44 Β· GPL-2.0-or-later
- nixpkgs unstable: testdisk 7.2
- opensuse-leap 16.0: testdisk 7.2-bp160.1.13 Β· GPL-2.0-only
- opensuse-leap 16.0: testdisk 7.2-bp160.1.13 Β· GPL-2.0-only
- opensuse-leap 16.0: testdisk 7.2-bp160.1.13 Β· GPL-2.0-only
- opensuse-leap 16.0: testdisk 7.2-bp160.1.13 Β· GPL-2.0-only
- ubuntu questing: testdisk 7.2-0.1
- ubuntu resolute: testdisk 7.2-0.1build1
- ubuntu stonking: testdisk 7.2-0.2build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms