Monday, January 19, 2009

ISO image file validation with MD5SUM on Linux

Suppose you have an ISO image file. Validation is needed to make sure, your ISO image file in good condition or broken. To do this, you need a file, what we call it a "MD5SUM text file". Therefore, don't forget to download it too. To validate, please use this sintax below.

Code :

$ md5sum -c

Example :

First, check the file you need to validate and its MD5SUM file.

[msmunir@msmunir1 mandriva-one-2009-gnome]$ ls -l

total 621477

-rwxrwxrwx 1 root root 636389376 2008-10-17 07:57 mandriva-linux-one-2009-GNOME-int-cdrom-i586.iso

-rwxrwxrwx 1 root root 83 2008-10-26 16:51 MD5SUM-mandriva-linux-one-2009-GNOME-int-cdrom-i586.txt

[msmunir@msmunir1 mandriva-one-2009-gnome]$

Second, compare the ISO image file with MD5SUM file.

[msmunir@msmunir1 mandriva-one-2009-gnome]$ md5sum -c MD5SUM-mandriva-linux-one-2009-GNOME-int-cdrom-i586.txt


mandriva-linux-one-2009-GNOME-int-cdrom-i586.iso: OK

[msmunir@msmunir1 mandriva-one-2009-gnome]$


If the result is OK, it's mean your ISO image file in good condition and ready to burn.

The contents of the MD5SUM text file approximately as follows
73d2f33449af91e3af6cbe10b6a0c6cd mandriva-linux-one-2009-GNOME-int-cdrom-i586.iso

by.msmunir@batan.go.id

No comments:

Post a Comment