Re: Issue writing image to disk via dd
On Wed, Apr 13, 2011, at 07:13:13 -0500, Mark Kane wrote:
> One thing to add is that the documentation I'm going off of was
> written back in 2008 and specifically mentions doing this
> successfully from Linux (though not sure which distro the author had
> used). I would think that if it worked back then with whatever
> dd/coreutils version was available that it should certainly work with
> today's coreutils. The dd command itself also seems fairly simple and
> not taking advantage of special features that might be newly
> available.
>
> Just to see what would happen, I just grabbed an old CentOS release
> from 2008 (4.7 with coreutils 5.2.1). It worked correctly there just
> like with Arch 2010.05.
Okay, another twist...
I suppose I should have tested this before for thoroughness, but in
Debian Lenny it works! So to summarize:
# dd if=image.img of=/dev/sda bs=1M
Debian Etch (coreutils 5.97-5.3): Fail
Debian Lenny (coreutils 6.10-6): Success
Debian Squeeze (coreutils 8.5-1): Fail
CentOS 4.7 (coretuils 5.2.1): Success
Arch Linux 2010.05 (coreutils 8.5-2): Success
Another question would be what the difference is between coreutils
8.5-1 (Squeeze where it fails) and 8.5-2 (Arch where it works). Is
there a component other than coreutils/dd which might affect this? It
seems like such a minor version difference between coreutils 8.5-1 and
8.5-2 shouldn't cause a huge difference in behavior.
Thanks,
-Mark
Reply to: