Use dd to create an image of a partition

dd can be used to create an exact mountable block level copy of a partition to an alternate location

dd if=/dev/sda1 of=/backup/sda1.img

To mount it use

mount -o loop /backup/sda1.img /alternate_mount_point

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.