TechTrainer11 Well-known member Aug 7, 2019 46 29 6,851 62 York Apr 25, 2024 #1 Apr 25, 2024 Add bookmark #1 Can anyone show how dd can use MD5 when duplicating a hard drive
R RGM New member Nov 20, 2019 1 0 266 Nashville, TN Apr 25, 2024 #2 Apr 25, 2024 Add bookmark #2 TechTrainer11 said: Can anyone show how dd can use MD5 when duplicating a hard drive Click to expand... use dcfldd, a part of kali
TechTrainer11 said: Can anyone show how dd can use MD5 when duplicating a hard drive Click to expand... use dcfldd, a part of kali
TechTrainer11 Well-known member Aug 7, 2019 46 29 6,851 62 York Apr 25, 2024 #3 Apr 25, 2024 Add bookmark #3 thank you I meant how is the format of dd used dd if=/dev/sda MD5 of=/root/sdb -bs=25k conv=noerror
Michael Stout New member Sep 6, 2023 2 11 330 London michaelstout.com Apr 26, 2024 #4 Apr 26, 2024 Add bookmark #4 There isn't a way to run MD5 (or any other hashing algorithm) directly with dd. If you'd like to validate your copy, I'd suggest the following, and visually compare the hashes. Bash: $ sudo dd if=/dev/sda of=/dev/sdb bs=64K conv=noerror,sync status=progress $ sudo md5sum /dev/sda $ sudo md5sum /dev/sdb for SHA256 Bash: $ sudo shasum -a 256 /dev/sda $ sudo shasum -a 256 /dev/sdb Reactions: MBA, Eddy Harden, Fanuel and 1 other person
There isn't a way to run MD5 (or any other hashing algorithm) directly with dd. If you'd like to validate your copy, I'd suggest the following, and visually compare the hashes. Bash: $ sudo dd if=/dev/sda of=/dev/sdb bs=64K conv=noerror,sync status=progress $ sudo md5sum /dev/sda $ sudo md5sum /dev/sdb for SHA256 Bash: $ sudo shasum -a 256 /dev/sda $ sudo shasum -a 256 /dev/sdb