Re: recovery recommendations

Alex Bligh <[email protected]> Fri, 21 Jan 2011 19:16:54 +0000
Newsgroups gmane.comp.file-systems.ext3.user
Message-ID <[email protected]>

--On 21 January 2011 10:36:41 -0800 "m.p." <[email protected]> wrote:

> dd if=/some-185mb-linux-install.iso of=/dev/sdx

You wrote to /dev/sdx not /dev/sdxN (where N is a number)?

You will have zapped your partition table. If you only had one partition
on there, you can recreate this by running fdisk on the image first.

Note ext3 recovery tools want a partition image, not a disk image.
You can use dd with the appropriate skip (or use sparsecopy
from
  http://blog.alex.org.uk/2010/12/02/copying-sparse-files/
) to get the partition out from the disk image.

-- 
Alex Bligh