recoverdm(1)
β¨ recoverdm β bestie edition β¨
okay so like. your disk is giving damaged sectors and you're panicking? breathe. π this is recoverdm(1) from the recoverdm manual, and she is here to rescue your files.
πΈ NAME πΈ
recoverdm β recover files on disks with damaged sectors π
π SYNOPSIS π
recoverdm -t <type> -i <file/device-in> -o <output_file> [-l <sectors_file>] [-n retries]
[-s rotation_speed] [-r retries] [-b start_offset] [-p skip_blocks_count]
π¦ DESCRIPTION π¦
so recoverdm literally recovers disks with bad sectors. not me being the main character of data recovery π you can recover individual files or whole complete devices. and the way it handles the truly unreadable stuff? iconic: when it hits sectors that simply cannot be recovered, it writes an empty sector to the output file and justβ¦ continues. no drama, no crash, periodt. β¨
and when you're recovering a CD or a DVD and the program can't read the sector in "normal mode", bestie it switches it up and tries to read that sector in "RAW mode" (aka without error checking etc., she's going in blind and fearless π«Ά). this toolkit also ships a utility called mergebad which merges multiple images into one. obsessed.
π OPTIONS π
-t<type>β peep the table above to pick a value for<type>. π-i<file/device-in>β the device or file you wanna recover. π-o<output_file>β the file where everything gets written to. β οΈ this file should not already exist. like, do not come with baggage.-l<sectors_file>β generates a mapfile containing checksums and a list of bad sectors. π you can then feed this mapfile tomergebadto create one correct image out of several damaged images. teamwork makes the dream work fr fr.-nretriesβ how many retries before moving on to the next sector. default is6. for CDROMs it is advised to use1. π«-srotation_speedβ rotation speed of CDROM/DVD. default is1. spinning, spinning, yeah yeah π-rretriesβ how many retries while reading in RAW mode before going on with the next sector. default is6. it is advised to use at least3. π«Ά-bstart_offsetβ point to start. π―-pskip_blocks_countβ how many sectors are skipped after a non-read one. use more to speed-up the recover process. default is1. πβοΈπ¨
π TYPE OF DEVICES π
these are the values you can use with the -t option, bestie:
FILEβ1FLOPPYβ10FLOPPY_IDEβ11FLOPPY_SCSIβ12CDROM_IDEβ20CDROM_SCSIβ21DVD_IDEβ30DVD_SCSIβ31DISK_IDEβ40DISK_SCSIβ41
π SEE ALSO π
mergebad(1) β the other half of the duo, she's serving too π
π AUTHOR π
the recoverdm was written by Folkert van Heusden <folkert@vanheusden.com>. π
this manual page was written by Joao Eriberto Mota Filho <eriberto@debian.org> for the Debian project (but may be used by others). π«Ά
and that's the whole page, no notes. π
recoverdm-0.20 πΈ Jul 2015 πΈ that's a wrap bestie, go recover those sectors, ily π¦β¨
π¦ where this page comes from
- debian bookworm: recoverdm 0.20-8+b1 Β· GPL-2.0-or-later
- debian trixie: recoverdm 0.20-9 Β· GPL-2.0-or-later
- ubuntu jammy: recoverdm 0.20-8 Β· GPL-2.0-or-later
- ubuntu noble: recoverdm 0.20-8 Β· GPL-2.0-or-later
- ubuntu questing: recoverdm 0.20-9
- ubuntu resolute: recoverdm 0.20-9build1 Β· GPL-2.0-or-later
- ubuntu stonking: recoverdm 0.20-9build1 Β· 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