losetup --partscan --find --show disk.img [1]
mount /dev/loop0p1 /mnt to free up loop0, use after umount:
losetup -d /dev/loop0
dd, losetup
lsblk
Advertising: