No, almost 14 times as much was read before the EIO. Assuming that's
the same card, I'd try reading it on hardware as different as possible
to what gave the two EIO errors. Different port, card adapter, USB
cable, ideally PC. If space for the image is a problem on other
machines, or just to
Hi Peter,
> > dd says 16580608 bytes copied, that being 126 whole blocks [of 128
> > KiB] plus one truncated [half] block.
>
> $ src=/dev/sdb
> $ img=${src//\//_}
> $ img=${img#_}.img
> $ devbs=$(stat -fc %s $src)
> $ echo copy $src to $img using multiple of $devbs bytes
>
Hi Peter,
> Well, the card boots Ok in the R-Pi.
Yes, but booting and running Raspbian on the Pi will only be trying to
read a fraction of the card and that might either miss the dodgy parts,
or not be putting the card under stress, like reading it from start to
end, so it doesn't flake out.
On 09/11/2018 13:44, Ralph Corderoy wrote:
Hi Peter,
$ src=/dev/sdb
$ img=${src//\//_}
$ img=${img#_}.img
$ devbs=$(stat -fc %s $src)
$
$ sudo dd if=$src bs=$((devbs * 32)) of=$img
[sudo] password for peterm:
dd: error reading '/dev/sdb': Input/output error
126+1 records in
126+1 records out
4 matches
Mail list logo