Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have an iso file on a hard drive that's been having problems. Is there any way to check that the file didn't get corrupted, like an fsck for iso file systems?

share|improve this question

4 Answers 4

up vote 6 down vote accepted

I've got an isovfy utility. From the man page:

isovfy is a utility to verify the integrity of an iso9660 image. Most of the tests in isovfy were
added  after  bugs  were discovered in early versions of mkisofs. It isn't all that clear how useful
this is anymore, but it doesn't hurt to have this around.

Maybe that will help?

share|improve this answer

The usual way to check an .ISO image is an MD5 checksum, depending on where it came from. If it was downloaded, most sites have the MD5 available to compare against. You run md5 or md5sum against what you downloaded and compare the results and if it is different, there's corruption.

This entirely depends on where you got the .ISO file, though, and the availability of the MD5 checksum "known good" versus the one you have. Or if you have file integrity checkers (part of intruder detection) they should know if something changed in a file. Again, depends on how you had things set up.

If you have good backups, compare your first version of the ISO's MD5 with the current MD5 to see if things changed.

share|improve this answer

My understanding of the High Sierra filesystem might be rusty by now but if you can list the files in there then.. that's it. There is nothing really to verify aside from the list of files. If blocks in there went bad, there's no checksum in the image. The really powerful Reed-Solomon error correction codes are only used on the CD not in the High Sierra FS.

share|improve this answer
    
HSF was the predecessor to ISO-9660 prior to 1986... It was only used between '84 and '86, succeeding the Yellow Book Data format... –  Chris S Nov 7 '11 at 13:58
    
AFAIK Yellow Book described how things are layed down on a CD but the file system is still HS. –  chx Nov 7 '11 at 18:45

I know this doesn't really answer the question, but here are some additional options:

If you want to see if files can still be extracted from the iso, WinRAR or a similar app can be used to extract the files and you could compare them to your source or see if they function properly. Also, I think WinRAR will alert you if the iso file is damaged.

You could also mount the iso with DaemonTools to access the files.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.