03-21-2020, 12:51 PM
(This post was last modified: 03-21-2020, 07:38 PM by GloriousCoffee.)
(03-21-2020, 12:30 PM)rillian Wrote:(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!
Thank you kindly for your reply, but I don't think I've got the hang of this quite yet.
By 'boot an image that supports encrypted devices', do you mean boot by MrFixit and launch the Thompson installer from it, except do not use the 'CRYPT=y' parameter when doing so?
If that is correct, do you mean to write installation to another USB/SD and then run the Thompson installer from that USB/SD and then write to eMMC the second time, and in that process add encryption with 'CRYPT=y'?
I feel much more home with Deb compared to Manjaro, don't need to mess around with SD cards, I mainly want to get my system up and running with encryption so I can use it for work on the go.
EDIT: What I asked is probably not it. Whatever I try with the Thompson installer, Debian seems to get stuck while booting, to SD or to eMMC. Starts loading, mouse cursor shows up, screen goes blank with a text cursor and it repeats, over and over again. I have no idea whats up.