Mounting Partitions *inside* a dd Image

Mike Kallies mike.kallies-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Tue Jan 26 23:48:44 UTC 2010


Hello Everyone,

I have a disk image which was taken several years ago using "dd".  I
want to try to recover the data from the image, but I don't want to have
to copy it back out to a disk.

If I were smart, I could have done

  dd if=/dev/sda1 of=sda1.img
  dd if=/dev/sda2 of=sda2.img
  dd if=/dev/sda bs=512 count=1 of=sda-bootsector.img

But instead, I did

  dd if=/dev/sda of=sda.img

So now, years later, I've got this blob which I can't quite mount.

Does anyone know a trick to mount the partitions inside the image?

Thanks,

-Mike
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list