Page 1 of 1

md5 test for Puppy 1.0.4

Posted: Tue 19 Jul 2005, 23:02
by GuestToo
Test Puppy 1.0.4 CD

tests the md5sum of a Puppy 1.0.4 CD

this puts a program called md5sum-cd104
in my-documents ... put a Puppy 1.0.4 CD in your drive and click the program to test whether the CD burned ok or not

the script assumes your cd drive is /dev/cdrom

Note: i haven't tested this program (i do not have a Puppy CD)

Re: md5 test for Puppy 1.0.4

Posted: Wed 20 Jul 2005, 05:13
by Lobster
LOL - a bit of a catch 22 question - is it the dotpup or the CD . . .
first off I got an error (but it was too quick- it had not checked)

Using MUT (thanks Jesse) I was able to establish that my CD was in fact
/dev/dvd

Loaded the shell script (that the dotpup created) into leafpad (just dragged it in)

and changed this:

Code: Select all

if dd if=/dev/cd bs=2048 count=30865 | md5sum | grep a8529f6ed13d64ec70fe2f2127774288 
to this:

if dd if=/dev/dvd bs=2048 count=30865 | md5sum | grep a8529f6ed13d64ec70fe2f2127774288

now it checked and I still got an error (oh dear further investigation required)

I recently changed to a different CD burner (never had to do a checksum with the old one - it was slow but 100% reliable . . .)

So the test of this dotpup is whether it works on a working CD (I am writing this from 1.0.4 - so it could be partially working)

Thanks for providing this one G2 - well worth getting right . . . (which it could be already)

:)

Posted: Wed 20 Jul 2005, 07:18
by GuestToo
i didn't test it on a Puppy 1.0.4 cd, but i think it should work

if it says the cd is ok, you are pretty sure it actually is ok

if it says it's not ok, it might still be ok
there might be a few bad bytes but they may be unimportant bytes ... if even 1 byte is different, it will say it is not ok
it might be reading some padding bytes which would change the md5sum (it shouldn't though ... that's the reason for reading it with dd)

this will only work for the standard Puppy 1.0.4 iso ... you can make it work for other Puppy iso's if you change the md5sum in the script, and also the count (the count is the size of the iso file divided by 2048)