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 to mergebad to create one correct image out of several damaged images. teamwork makes the dream work fr fr.
  • -n retries β€” how many retries before moving on to the next sector. default is 6. for CDROMs it is advised to use 1. πŸ’«
  • -s rotation_speed β€” rotation speed of CDROM/DVD. default is 1. spinning, spinning, yeah yeah πŸŒ€
  • -r retries β€” how many retries while reading in RAW mode before going on with the next sector. default is 6. it is advised to use at least 3. 🫢
  • -b start_offset β€” point to start. 🎯
  • -p skip_blocks_count β€” how many sectors are skipped after a non-read one. use more to speed-up the recover process. default is 1. πŸƒβ™€οΈπŸ’¨

πŸ‘‘ TYPE OF DEVICES πŸ‘‘

these are the values you can use with the -t option, bestie:

  • FILE β€” 1
  • FLOPPY β€” 10
  • FLOPPY_IDE β€” 11
  • FLOPPY_SCSI β€” 12
  • CDROM_IDE β€” 20
  • CDROM_SCSI β€” 21
  • DVD_IDE β€” 30
  • DVD_SCSI β€” 31
  • DISK_IDE β€” 40
  • DISK_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 πŸ¦‹βœ¨