[Swlug] mount disk image file with encryption

bascule asura at theexcession.co.uk
Mon Nov 23 21:07:39 UTC 2020


On Monday, 23 November 2020 19:59:34 GMT Mark Einon wrote:
> A little tip - the disk type is GPT so fdisk won't work, gparted or
> gdisk will.

from man fdisk:
DESCRIPTION
       fdisk is a dialog-driven program for creation and manipulation of 
partition tables.  It understands GPT, MBR, Sun, SGI and BSD partition tables.

in any case i worked out how to do what i want:
losetup --partscan --find --show sdcard_img

then use /dev/loop0p2 in the original dmsetup command

bascule






More information about the Swlug mailing list