-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 27-11-2009 15:56, Sthu Deus wrote:
> Thank You for Your time and answer, Simon:
> 
>> You can compare MD5SUMS for the CD provided against the original MD5SUMS
>> (or SHA as well) provided at
>> http://cdimage.debian.org/debian-cd/5.0.3/i386/iso-cd/
> 
> I guess the check will work for iso files only - not burned discs.

        You can use isoinfo to get the number of blocks, then
use a combination of dd and md5sum to check if the checksum
matches.

        Something along those lines:

$ isoinfo -d -i $MEDIA_DEVICE

        You will see two line like:

Logical block size is: 2048
Volume size is: 123456

        Then

$ dd bs=2048 count=123456 if=$MEDIA_DEVICE |md5sum


        You can find more examples and scripts to do that if
you look for some articles on Internet. :)

Kind regards,
- --
Felipe Augusto van de Wiel (faw)
"Debian. Freedom to code. Code to freedom!"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAksRNR0ACgkQCjAO0JDlykYh+ACgkHNU6RA7A0vVw4lzW3qnHBHS
yogAn3X9K2oUj7mVWup+pupLRx1h89IY
=HlL0
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to debian-www-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to