TESTDISK(8)

πŸ“¦
version 7.2 Β· 2 versions
  • 7.2 Β· alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, debian trixie, epel 10, epel 9, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 7.1 Β· debian bookworm, ubuntu jammy, ubuntu noble
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, debian trixie, epel 10, epel 9, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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 a testdisk.log file. 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 🌈

fdisk(8), photorec(8).

(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>

https://www.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. πŸ’…πŸŒΈ