____

Friday, April 30, 2010

[MD5SUM] Check downloaded ISO 's integrity

I never thought I would ever be have to use this command till today .

Today I downloaded Ubuntu 10.04 Alternate CD from linuxtracker.org and it was acting weird , I checked many things finally I tried to check if the ISO that I downloaded is corrupted or not .

to check if an ISO image CD is downloded correctly you can check it this way .


you can mount the ISO or burn it ,
to mount it without burning use this command : (ofcuorse you gotta relace 'youriso')

sudo mount -o loop youriso.iso /media/cdrom0


Then go to the root folder of CD , there should be a file like md5sum.txt or something like that
in terminal shoot his :
md5sum -c md5sum.txt

it will tell you if the folders and files are the same size as the original .

in my case it showed that some files failed and the CD was corrupted .

Related Posts: