Mounting Partitions *inside* a dd Image

Tyler Aviss tjaviss-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Wed Jan 27 15:58:12 UTC 2010


On Tue, Jan 26, 2010 at 3:48 PM, Mike Kallies <mike.kallies-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:
> 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
>

Can VM's read from DD disk images? I know VBox can read some other
formats (VMX etc), and/or create a virtual-disk that associates with a
physical one, so maybe there's some way to access it inside a VM?
--
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