I'm running a script I found at github.com/rufferson/pureos-pinephone/tree/fd5ecbc2e6b8452545dd93db5235a6e20443071c to convert a Pinephone 64 3GB .img file to a PureOS .img that the PP 64 can boot.
When it reaches the losetup part, I'm getting a mount error:
- sudo losetup -f
- LO=/dev/loop26
- sudo losetup -P /dev/loop26 librem5r4.img
- sudo mount /dev/loop26p2 sd mount: /home/steve/purepp/sd: unknown filesystem type 'crypto_LUKS'
From what I understand, the losetup default is to create an unencrypted loop device. I've tried inserting the [ -e none ] option into the losetup command, but apparently "-e" is an invalid option.
Why would losetup create an encrypted loop device when the default is unencrypted?
TIA for any asistance provided.
ssilvi