03-21-2020, 12:30 PM
(03-21-2020, 05:32 AM)GloriousCoffee Wrote:Unfortunately, the default MrFixIt debian kernel doesn't support mounting encrypted disks. So this is the installer creating your encrypted root partition and then being unable to mount it so it can install a debian system on it.
I found the "Daniel Thompson" installer for Deb, don't know if this is the proper way to go but I at least tried it out since I can't find any info on installing MrFixIt2001 Deb directly. I got the Thompson installer from GitHub but it ends in:
[...]
device-mapper: reload ioctl on mmcblk1-RootFS failed: Invalid argument
To get an encrypted root you have to go through two steps. First, boot an image that supports encrypted devices (e.g. run the debian installer, but don't request an encrypted root) and then from that image, run the installer again to create your final install with LUKS.
I did this by installing debian unencrypted on an sd card, booting that, and then after using it for a few days to make sure I was happy with it, running the installer to replace the default image on emmc with andencrypted debian image. After taking out the sdcard, I could then boot from emmc and experiment with using the sdcard for other things. The good thing about the pinebook pro is that the sdcard slot makes it easy to dual-boot if you want to try out new things or rescue your laptop if the emmc image isn't working for you.
Hope that helps!