Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Verify the md5sum of a burned disk

Verify the md5sum of a burned disk 5 years 5 months ago #23

Create an empty file named rawread.sh
Open that file in your favorite txt editor
Copy the code between the dashed lines and paste into rawread.sh

#!/bin/sh
device=$1

blocksize=`isoinfo -d -i $device | grep "^Logical block size is:" | cut -d " " -f 5`
if test "$blocksize" = ""; then
echo catdevice FATAL ERROR: Blank blocksize >&2
exit
fi

blockcount=`isoinfo -d -i $device | grep "^Volume size is:" | cut -d " " -f 4`
if test "$blockcount" = ""; then
echo catdevice FATAL ERROR: Blank blockcount >&2
exit
fi

command="dd if=$device bs=$blocksize count=$blockcount conv=notrunc,noerror"
echo "$command" >&2

$command
Make the file executable;
>chmod 774 ./rawread.sh

Put your disk to check into the drive.

Use the dev name (not the mount point) of your CD or DVD drive in the following:
>./rawread.sh /dev/hdc | md5sum

It takes a while, but the last line produced is the md5sum.

Check this number against the published md5sum of the disk.

This is not my creation, I picked it up somewhere in the cloud, and wanted to share. Works great for me.
The administrator has disabled public write access.

Aw: Verify the md5sum of a burned disk 5 years 5 months ago #26

  • Joern
  • Joern's Avatar
  • OFFLINE
  • Administrator
  • Posts: 421
  • Thank you received: 5
Yep, this works!

Nice! :)
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 0.202 seconds
Powered by Kunena Forum
FaLang translation system by Faboba
   
© 2012 toorox.de | Toorox gehört nicht zu dem Gentoo Projekt. Gentoo ® ist eine eingetragene Marke des Förderverein Gentoo e.V. Andere Warenzeichen sind Eigentum der jeweiligen Rechteinhaber. Bitte senden Sie keine Toorox-spezifischen Probleme oder Fehler an Gentoo Bugzilla! Toorox is not part of the Gentoo project. Gentoo ® is a trademark of the registered association Gentoo e.V. Other trademarks are property of their respective owners. Please do not send Toorox-specific bugs or problems to Gentoo bugzilla!