How to check MD5 sum in Puppy Linux?
How to check MD5 sum in Puppy Linux?
I know this has been discussed elsewhere, but I am unable to find the citation.
Therefore, I ask how one might do a MD5 sum in Puppy? Exactly how.
Thanks.
Hail Puppy!
Raman
Therefore, I ask how one might do a MD5 sum in Puppy? Exactly how.
Thanks.
Hail Puppy!
Raman
How to do a MD5 sum
Thank you.
That does it.
Hail Puppy!
Raman
That does it.
Hail Puppy!
Raman
One can also calculate the md5sum of a (data) CD.
1. Insert the CD.
2. Find the devicename of the CD drive using Menu > Filesystem > Pmount (e.g. on my laptop it's /dev/hdc). You may mount it, or not, it doesn't matter.
3. In console (rxvt), type md5sum /dev/hdc (or whatever name found in 2.). The calculation may take a while (watch the drive's LED).
This gives an end-to-end validation for CDs burned from downloaded iso images.
It's also useful to write the md5sum on every written CD (e.g. for backups). This allows validation of CD integrity months or years later.
1. Insert the CD.
2. Find the devicename of the CD drive using Menu > Filesystem > Pmount (e.g. on my laptop it's /dev/hdc). You may mount it, or not, it doesn't matter.
3. In console (rxvt), type md5sum /dev/hdc (or whatever name found in 2.). The calculation may take a while (watch the drive's LED).
This gives an end-to-end validation for CDs burned from downloaded iso images.
It's also useful to write the md5sum on every written CD (e.g. for backups). This allows validation of CD integrity months or years later.
[size=84][i]If it ain't broke, don't fix it.[/i] --- erikson
hp/compaq nx9030 (1.6GHz/480MB/37.2GB), ADSL, Linksys wireless router
[url]http://www.desonville.net/[/url]
Puppy page: [url]http://www.desonville.net/en/joere.puppy.htm[/url][/size]
hp/compaq nx9030 (1.6GHz/480MB/37.2GB), ADSL, Linksys wireless router
[url]http://www.desonville.net/[/url]
Puppy page: [url]http://www.desonville.net/en/joere.puppy.htm[/url][/size]
If it's done the way I described, yes it does.Flash wrote:I'm pretty sure that a md5 sum calculated from a CD won't match the md5 sum calculated from the iso file before it was burned to the CD.
Shame on youPersonally I never bother to check.
[size=84][i]If it ain't broke, don't fix it.[/i] --- erikson
hp/compaq nx9030 (1.6GHz/480MB/37.2GB), ADSL, Linksys wireless router
[url]http://www.desonville.net/[/url]
Puppy page: [url]http://www.desonville.net/en/joere.puppy.htm[/url][/size]
hp/compaq nx9030 (1.6GHz/480MB/37.2GB), ADSL, Linksys wireless router
[url]http://www.desonville.net/[/url]
Puppy page: [url]http://www.desonville.net/en/joere.puppy.htm[/url][/size]
I suggest this thread be placed as a "sticky", somewhere where newbies (like me) can easily find it. (Next I'll go search how to install an .sfs file, which I suggest is another subject deserving to become a "sticky" message.)
Jonyo wrote:
> I type md5sum(then 2 spaces)(file name & location), then press enter in a console. Then I compare the result with the text.
Thank you, indeed this works and here is an example:
# md5sum /tmp/ff3_pack.sfs
93b0be3ba2f6240180ee345d0c1b8251 /tmp/ff3_pack.sfs
Jonyo wrote:
> I type md5sum(then 2 spaces)(file name & location), then press enter in a console. Then I compare the result with the text.
Thank you, indeed this works and here is an example:
# md5sum /tmp/ff3_pack.sfs
93b0be3ba2f6240180ee345d0c1b8251 /tmp/ff3_pack.sfs
md5sum comparison of ISO-file and CD content.
erikson,
When I try to compare the md5sum of a downloaded ISO-file with the md5sum of the burned CD I get the following confusing results.
The downloaded file is
-rw-r--r-- 1 root root 101842944 2009-08-16 07:32 puppy-4.3beta1-k2.6.29.6-v423.iso
Its md5sum is equal to the value in md5sums.txt (dae903beab483deac8cb30cf0777bea8)
Applying md5sum to /dev/sr0 yields
# md5sum /dev/sr0
285946f67e2a9b8bb3b6d8680ceac58d /dev/sr0
To check that no padding is present in the CD the md5sum is calculated for the number of bytes of the ISO-file. The result is the identical.
# dd if=/dev/sr0 | head -c 101842944 | md5sum
285946f67e2a9b8bb3b6d8680ceac58d -
198904+0 records in
198904+0 records out
101838848 bytes (102 MB) copied, 85,5978 s, 1,2 MB/s
Finally the ISO-file is compared to the content of the CD. No difference detected.
# dd if=/dev/sr0 | cmp puppy-4.3beta1-k2.6.29.6-v423.iso
cmp: EOF on -
198904+0 records in
198904+0 records out
101838848 bytes (102 MB) copied, 84,5991 s, 1,2 MB/s
An explanation would be most welcome.
Regards,
Olov
When I try to compare the md5sum of a downloaded ISO-file with the md5sum of the burned CD I get the following confusing results.
The downloaded file is
-rw-r--r-- 1 root root 101842944 2009-08-16 07:32 puppy-4.3beta1-k2.6.29.6-v423.iso
Its md5sum is equal to the value in md5sums.txt (dae903beab483deac8cb30cf0777bea8)
Applying md5sum to /dev/sr0 yields
# md5sum /dev/sr0
285946f67e2a9b8bb3b6d8680ceac58d /dev/sr0
To check that no padding is present in the CD the md5sum is calculated for the number of bytes of the ISO-file. The result is the identical.
# dd if=/dev/sr0 | head -c 101842944 | md5sum
285946f67e2a9b8bb3b6d8680ceac58d -
198904+0 records in
198904+0 records out
101838848 bytes (102 MB) copied, 85,5978 s, 1,2 MB/s
Finally the ISO-file is compared to the content of the CD. No difference detected.
# dd if=/dev/sr0 | cmp puppy-4.3beta1-k2.6.29.6-v423.iso
cmp: EOF on -
198904+0 records in
198904+0 records out
101838848 bytes (102 MB) copied, 84,5991 s, 1,2 MB/s
An explanation would be most welcome.
Regards,
Olov
Ttuuxx has a handy little gizmo-gadget-widget thingy
called gtkhash.
http://www.murga-linux.com/puppy/viewto ... 16&t=32700
called gtkhash.
http://www.murga-linux.com/puppy/viewto ... 16&t=32700
Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs
Re: md5sum comparison of ISO-file and CD content.
Olov,
Erikson doesn't post here any more.
The ISO and CD used to have same md5sum* before Puppy dropped cdrecord and started using wodim.
I never got one match with wodim. I installed cdrecord and they match again.
Bruce
* if burned well and session closed
Erikson doesn't post here any more.
The ISO and CD used to have same md5sum* before Puppy dropped cdrecord and started using wodim.
I never got one match with wodim. I installed cdrecord and they match again.
Bruce
* if burned well and session closed
Sigmund,
Good question and my answer is: I never tested the md5sum on an open session disc.
I lost some important data on a UDF a long time ago. Since then, I decide if the data is more valuable than the cost of the media, close the session.
An exception would be intentionally making a Puppy disc for running as a multi session CD.
Bruce
Good question and my answer is: I never tested the md5sum on an open session disc.
I lost some important data on a UDF a long time ago. Since then, I decide if the data is more valuable than the cost of the media, close the session.
An exception would be intentionally making a Puppy disc for running as a multi session CD.
Bruce
-
- Posts: 203
- Joined: Tue 06 Jan 2009, 02:49
- Contact:
ttuuxxx also has a few .PET packages that are command line sum calculators. In the post it mentions these checksums:
md5
sha1
sha256
tiger
whirlpool
http://www.murga-linux.com/puppy/viewto ... 030#262030
md5
sha1
sha256
tiger
whirlpool
http://www.murga-linux.com/puppy/viewto ... 030#262030