http://www.geocrawler.com/archives/3/84/2002/5/50/8610709/
> How are the md5/whatever that the installer uses to check the Redhat > discs generated an embedded in the ISO images? > > For instance I want to generate an image with my own packages and then > make sure the integrity checker succeeds.
Found my answer on the anaconda-devel list it's in the anaconda-src/utils/ with checkisomd5 and implantisomd5
Michael Best
http://mkcdrec.ota.be/project/installation.html
When mkCDrec has finished making the disaster recovey CD-ROM it implants a checksum into the ISO9660 image. To check the integrity of the ISO9660 image or CD-ROM use the following command (build in mediacheck/ directory):
# checkisomd5 CDrec.iso or # checkisomd5 /dev/cdrom Read 0 MB 8852a5d88200444987f429bc527a8010 8852a5d88200444987f429bc527a8010 Md5sums match.
The advantage is there is no need to write down the md5 checksum anymore. It is always burned onto the image itself. This technique was first used on RedHat's installation CD-ROMs.