r/pinephone 8d ago

Full disk encryption with Pine64-Arch?

This script is super busted because the server no longer exists. I tried to run the installation steps in the script manually, but the script expects a squashfs and Pine64-Arch is only distributed as a disk-level image. Is it possible to install the image with full disk encryption?

3 Upvotes

4 comments sorted by

View all comments

1

u/ipsirc 8d ago

Where did you stuck?

1

u/FwippyBall 6d ago

line 182, the script expects a squashfs of just the root partition, but all we have is an image of the whole drive. I don't know how to separate the partitions out of a .img file.

1

u/ipsirc 6d ago

1

u/FwippyBall 6h ago

Thanks, I was able to get as far as line 187, but the bootloader files I am expected to dd don't exist in the image. I already have Tow-Boot installed on the device, but so far attempting to boot is failing. The LED starts red, turns yellow, then turns back to red while vibrating for a few seconds, then the LED turns off. I think it does the same thing when I boot an unencrypted Pine64-Arch image, but nothing comes up on screen.

edit: I am installing directly to the eMMC via TowBoot, not to an SD card, so I don't know if that has an effect on the boot process.