Mounting images with multiple partitions
Say I have an image of a file system. I made it with dd by copying it off my USB stick. e.g. "sudo dd if=/dev/sdb1 of=./image.ext2"
I can mount said image with the command: "sudo mount -t ext2 -o loop ./image.ext2 /mnt/"
Now, say instead of copying a partition with dd, I copy a whole drive. e.g. "sudo dd if=/dev/sdb of=./image.img". sdb had 2 partitions on it. How can I mount those separate partitions without copying that image back onto the USB drive?
|