public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] sha1sum of cd
@ 2005-08-08 23:18 Jorge Almeida
  2005-08-08 23:57 ` Zac Medico
  2005-08-09  1:17 ` Iain Buchanan
  0 siblings, 2 replies; 6+ messages in thread
From: Jorge Almeida @ 2005-08-08 23:18 UTC (permalink / raw
  To: gentoo-user

I've downloaded a KNOPPIX cd and burned it onto a cd via cdrecord (k3b having recently evolved to
brain death). The command was
 	cdrecord  dev=/dev/hdc KNOPPIX_V3.9-2005-05-27-EN.iso
The sha1sum of the downloaded image is
51294cb7439a127efd36f819f636208163988972, which is what it's supposed to
be.
The cd boots, but something seems wrong ('ls /etc' hangs forever, and
segfaulted once).  So, maybe the burning was not right. I tried
 	$ cat /dev/hdc|sha1sum
 	cat: /dev/hdc: Input/output error
 	8d792624cfe365a1b8ee1e9f06fe3520c28d91cc  -
Then,
 	$ dd if=/dev/hdc of=knoppix.iso
 	dd: reading `/dev/hdc': Input/output error
 	1425088+0 records in
 	1425088+0 records out

 	$ sha1sum knoppix.iso
 	8d792624cfe365a1b8ee1e9f06fe3520c28d91cc knoppix.iso
Last, I followed Zac Medico's suggestion in the "md5sum error" thread:
 	$ readcd dev=/dev/hdc sectors=0-$(isoinfo -d -i /dev/cdrom | grep
 	"Volume size is:" | grep -o "[0-9]*$")  f=- | sha1sum
 	Read  speed:  7042 kB/s (CD  40x, DVD  5x).
 	Write speed:  2818 kB/s (CD  16x, DVD  2x).
 	Capacity: 356298 Blocks = 712596 kBytes = 695 MBytes = 729 prMB
 	Sectorsize: 2048 Bytes
 	Copy from SCSI (1,0,0) disk to file '-'
 	end:    356296
 	addr:   356296 cnt: 84
 	Time total: 160.792sec
 	Read 712592.00 kB at 4431.8 kB/sec.
 	51294cb7439a127efd36f819f636208163988972  -

So, "there is order in this madness".

Can someone explain the meaning of this?


Jorge Almeida
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-08-09  8:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-08 23:18 [gentoo-user] sha1sum of cd Jorge Almeida
2005-08-08 23:57 ` Zac Medico
2005-08-09  8:23   ` Jorge Almeida
2005-08-09  1:17 ` Iain Buchanan
2005-08-09  1:20   ` Iain Buchanan
2005-08-09  1:41     ` Zac Medico

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox