I made an image of my entire disk with
dd if=/dev/sda of=/media/external_media/sda.img
Now the problem is I'd like to mount an ext4 filesystem that was on that disk but
mount -t ext4 -o loop /media/external_media/sda.img /media/sda_image
obviously gives a superblock error since the image contains the whole disk (MBR, other partitions) not just the partition I need. So I guess I should find a way to make the disk image show up in the /dev/
folder...
Does anyone know how to do that?
PS: I can always dd
back the image to the original disk, but that would be very inconvenient (I updated the OS and I'd like to keep it as it is)