In the majority of these cases, at least a portion of the original data can be recovered by repairing the damaged partition table or filesystem using specialized data recovery software such as Testdisk or M3 RAW Drive Recovery; software like dd rescue can image media despite intermittent errors, and image raw data when there is partition table or filesystem damage.