[clug] mount partition from image file

Joel Plane joel.plane at gmail.com
Fri Apr 29 10:47:43 GMT 2005


Hiya.

I am attempting to recover data from a corrupt filesystem on an old HDD. 
I used
dd if=/dev/sda of=/data/image.img
to copy the entire hdd to an image file
Is there a way I can then mount one partition from the image?
Alternatively I could use dd if=/dev/sda3 of=.... to just get an image 
of the partition I want. the just use mount /data/image.img /mnt/image 
-o loop
But since I've already imaged the entire disk, does anyone know how to 
mount a partition from this image?

Thanks.

Joel Plane


More information about the linux mailing list