Vicenarian
Active Member
- Reaction score
- 19
Ok, so do I have this right:
Identify System Drives:
Run fdisk -l and identify disks (source, target, and logfile location)
fdisk -l
Mount Device to Store Logfile:
mkdir /media/storage
mount -t ntfs-3g /dev/zzz /media/storage
(where zzz is the disk name you want the logfile saved to)
Running ddrescue (First Pass):
ddrescue -B -v -n /dev/XXX /dev/YYY /media/storage/logfile.log
Where:
XXX = name of the complete source disk (NOT the partition.)
YYY = name of the complete target disk (NOT the partition.)
-B = use binary expressions
-v = verbose mode
-n = skip bad sectors
Running ddrescue (Second Pass):
ddrescue -d -r 3 /dev/XXX /dev/YYY /media/storage/logfile.log
-d = direct disk access mode
-r 3 = retry reading bad sectors 3 times
Edit: fixed typos
Identify System Drives:
Run fdisk -l and identify disks (source, target, and logfile location)
fdisk -l
Mount Device to Store Logfile:
mkdir /media/storage
mount -t ntfs-3g /dev/zzz /media/storage
(where zzz is the disk name you want the logfile saved to)
Running ddrescue (First Pass):
ddrescue -B -v -n /dev/XXX /dev/YYY /media/storage/logfile.log
Where:
XXX = name of the complete source disk (NOT the partition.)
YYY = name of the complete target disk (NOT the partition.)
-B = use binary expressions
-v = verbose mode
-n = skip bad sectors
Running ddrescue (Second Pass):
ddrescue -d -r 3 /dev/XXX /dev/YYY /media/storage/logfile.log
-d = direct disk access mode
-r 3 = retry reading bad sectors 3 times
Edit: fixed typos
Last edited: