This (`sudo losetup -P /path/to/file.img`) didn't work for me unfortunately, maybe because I'm on arch (manjaro to be precise)?The mounting procedure does not have to involve the whole complicated offset stuff.
You can simply:With that the loop created in /dev/ will also contain both boot and root partitions.Code:
sudo losetup -P /path/to/file.img
You can then just mount them wherever you want with f.ex:Code:
sudo mount /dev/loop0p2 /mntsudo mount /dev/loop0p1 /mnt/boot
Statistics: Posted by bassamanator — Fri Jul 12, 2024 2:23 pm