Created
December 21, 2020 15:36
-
-
Save PathriK/a174b57924a4561a58d620813ccae6ed to your computer and use it in GitHub Desktop.
Commands used to run ddrescue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ddrescue -d -n -N -v /dev/sde /media/pathrik/Backup Plus/2TB Bkup/mypassport.img mypassport_merge.logfile | |
ddrescue -d -r3 -v /dev/sde /media/pathrik/Backup Plus/2TB Bkup/mypassport.img mypassport_merge.logfile | |
ddrescue -d -r3 -R -v /dev/sde /media/pathrik/Backup Plus/2TB Bkup/mypassport.img mypassport_merge.logfile | |
/dev/sde --> Drive that is not getting recognized(source) | |
/media/pathrik/Backup Plus/2TB Bkup/mypassport.img --> Location where the above drives cloned image should be written to (target) | |
mypassport_merge.logfile -->file that stores the progress so that we can stop and resume as needed | |
The first command does a clone of sectors that it can read quickly. It skips sectors it is not able read. | |
Second command does extra work to clone of skipped sections from previous command | |
Third one tries the second command work,but in reverse | |
These three commands run one by one after each gets completed should enable complete clone | |
After clone, as far as I remember, I was able to just mount the cloned image and able to accesst the files directly. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment