Gentoo Archives: gentoo-user

From: Jorge Almeida <jalmeida@××××××××××××.pt>
To: gentoo-user@l.g.o
Subject: [gentoo-user] sha1sum of cd
Date: Mon, 08 Aug 2005 23:23:05
Message-Id: Pine.LNX.4.63.0508082346070.9767@toutatis.math.ist.utl.pt
1 I've downloaded a KNOPPIX cd and burned it onto a cd via cdrecord (k3b having recently evolved to
2 brain death). The command was
3 cdrecord dev=/dev/hdc KNOPPIX_V3.9-2005-05-27-EN.iso
4 The sha1sum of the downloaded image is
5 51294cb7439a127efd36f819f636208163988972, which is what it's supposed to
6 be.
7 The cd boots, but something seems wrong ('ls /etc' hangs forever, and
8 segfaulted once). So, maybe the burning was not right. I tried
9 $ cat /dev/hdc|sha1sum
10 cat: /dev/hdc: Input/output error
11 8d792624cfe365a1b8ee1e9f06fe3520c28d91cc -
12 Then,
13 $ dd if=/dev/hdc of=knoppix.iso
14 dd: reading `/dev/hdc': Input/output error
15 1425088+0 records in
16 1425088+0 records out
17
18 $ sha1sum knoppix.iso
19 8d792624cfe365a1b8ee1e9f06fe3520c28d91cc knoppix.iso
20 Last, I followed Zac Medico's suggestion in the "md5sum error" thread:
21 $ readcd dev=/dev/hdc sectors=0-$(isoinfo -d -i /dev/cdrom | grep
22 "Volume size is:" | grep -o "[0-9]*$") f=- | sha1sum
23 Read speed: 7042 kB/s (CD 40x, DVD 5x).
24 Write speed: 2818 kB/s (CD 16x, DVD 2x).
25 Capacity: 356298 Blocks = 712596 kBytes = 695 MBytes = 729 prMB
26 Sectorsize: 2048 Bytes
27 Copy from SCSI (1,0,0) disk to file '-'
28 end: 356296
29 addr: 356296 cnt: 84
30 Time total: 160.792sec
31 Read 712592.00 kB at 4431.8 kB/sec.
32 51294cb7439a127efd36f819f636208163988972 -
33
34 So, "there is order in this madness".
35
36 Can someone explain the meaning of this?
37
38
39 Jorge Almeida
40 --
41 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] sha1sum of cd Zac Medico <zmedico@×××××.com>
Re: [gentoo-user] sha1sum of cd Iain Buchanan <iaindb@××××××××××××.au>