- Let's have unknown disk drive uncompressed raw image (created for example by
dd if=/dev/sda of=image) in single file.
- If we knew the disk layout, we could mount particular partitions from the file as the loop devices via skipping some offsets.
- Let's suppose we don't know the layout. Can we somehow "mount" the whole disk drive
image, which process would create virtual block devices according to the disk layout? For example having 2 partitions in the
imagewould result in creating 3 devices (
/dev/sdx2). We could then mount such devices as usual.