How to copy data off an old IDE disk
radek at pld-linux.org
Sun Mar 30 13:10:51 BST 2008
Andy Wardley <abw at wardley.org> [30-03-2008 12:34]:
> complete garbage. It not only has no filesystem or partition table on it, but
> is completely hosed to the point where "sudo fdisk /dev/sdb" simply barfs with
> "Cannot open /dev/sdb". The Mac doesn't even recognise it when I plug it in.
Last time when I fought with something like that, "dd if=/dev/zero
of=/dev/XXX count=1" has helped.
fdisk does some ioctl()s on the device it opens, which in turn probably
try to read something from it, starting with the first sector. And
since it's full of rubbish, fdisk gets rubbish data and performs some
nonsense operation with it. (Disclaimer: that's just a theory. ;-)
Radosław Zieliński <radek at pld-linux.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
Url : http://london.pm.org/pipermail/london.pm/attachments/20080330/01b2ba1a/attachment.pgp
More information about the london.pm