[Cialug] ddrescue + kpartx = bacon

David Champion dchamp1337 at gmail.com
Thu May 9 09:24:45 CDT 2013


That's what kpartx does - looks at the disk image and creates the
/dev/loop* devices so you can mount the partitions.

YMMV depending on what went wrong with your drive.

-dc


On Wed, May 8, 2013 at 12:55 PM, L. V. Lammert <lvl at omnitec.net> wrote:

> On Wed, 8 May 2013, David Champion wrote:
>
> > Had to recover data from a crashed laptop drive. Some of the usual tools
> > didn't work for me, I used ddrescue to grab the disk image, it took about
> > 26 hours to recover a 320gb drive, about 7gb of the drive was not
> > recoverable. Then I used kpartx to read the partition table & create the
> > loop devices, mounted it and was able to recover the documents I needed.
> >
> > Saved my bacon.
> >
> Quick question - I have a similar problem, however I have tried runing
> testdisk, et al, but nothing will create the /dev/ block device. The
> partition table is intact and the disk is running, but nothing will
> provide the /dev/sd1.
>
> Any chance that was your symptoms, or is this disk toast?
>
>         Lee
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>


More information about the Cialug mailing list