[opensuse-autoinstall] CheckMedia
I'm trying to use the CheckMedia functions from within my customized YaST module. It appears to be working fine, as I can detect drives/start/stop/fetch progress. However, the customized media I created fails verification. The read test finishes ok, but I get an "md5sum not computed" error. My question is, where is the media descriptor/MD5 stored on the media? How do I generate it? It seems to ignore the "content" files with SHA1 checksums. -- -- Erico -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
on Friday 21 May 2010 Erico Mendonça wrote:
I'm trying to use the CheckMedia functions from within my customized YaST module. It appears to be working fine, as I can detect drives/start/stop/fetch progress. However, the customized media I created fails verification. The read test finishes ok, but I get an "md5sum not computed" error.
you need to add the md5 sum to your media. It's stored in a special area on the ISO, not in a file on the media. (0x200 bytes at 0x8373 to be specific - you can use a hexeditor to edit the ISO too)
My question is, where is the media descriptor/MD5 stored on the media? How do I generate it? It seems to ignore the "content" files with SHA1 checksums.
it has nothing to do with the content file or any file on the media. You have to add an "md5=....." tag to your iso. Use /usr/bin/tagmedia for that: /usr/bin/tagmedia --show /tmp/openSUSE-11.2-DVD-i586.iso md5sum=0e5fbf37153eb52d0874826a3801a11c I'd paste you the complete usage how to add own tags to an ISO but I needed that by myself :) I can only point you in the right direction but it looks easy to me. -- ciao, Uwe Gansert Uwe Gansert SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug listening to: "Denial" by Edge Of Dawn -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
on Tuesday 25 May 2010 Uwe Gansert wrote: lame self reply
I'd paste you the complete usage how to add own tags to an ISO but I needed that by myself :)
I wanted to say "I never needed that by myself" of course ;) -- ciao, Uwe Gansert Uwe Gansert SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug listening to: "Valid World" by Edge Of Dawn -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Tue, May 25, 2010 at 6:49 AM, Uwe Gansert <ug@suse.de> wrote:
on Friday 21 May 2010 Erico Mendonça wrote:
you need to add the md5 sum to your media. It's stored in a special area on the ISO, not in a file on the media. (0x200 bytes at 0x8373 to be specific - you can use a hexeditor to edit the ISO too)
Thanks a lot! That was exactly what I needed. So that explains the mysterious "dd" in the CheckMedia module... :) -- -- Erico -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (2)
-
Erico Mendonça
-
Uwe Gansert