#
✕ nick:TobiasGrosser
#asahi · 2023-01-15 18:07
TobiasGrosserRight. I might compromise for an encrypted home. Let's see. At the moment the laptop is a hobby to explore asahi, so I can take some risks.
#asahi · 2023-01-15 18:06
TobiasGrosserYes, I saw that as well.
#asahi · 2023-01-15 18:03
TobiasGrosserRight. An encrypted home is likely the easiest to setup. I will see where I end up with. This was already super helpful. Thank you dsharshakov and ChaosPrincess.
#asahi · 2023-01-15 18:01
TobiasGrosserNow I need to get back to grub config pains (and figuring out why my keyboard stopped working after grub changes)
#asahi · 2023-01-15 18:00
TobiasGrosserThank you all, this was super helpful. I was a little unclear about the actual setup that I can get to today, but have no a good idea what to try for.
#asahi · 2023-01-15 18:00
TobiasGrosserRight.
#asahi · 2023-01-15 17:59
TobiasGrosserThat seems both attainable today and future proof with respect to secure boot hackery.
#asahi · 2023-01-15 17:59
TobiasGrosserAFAIU I can try to have a single / and /boot partition that is encrypted, have grub stored in (ESP) decrypt and load this partition.
#asahi · 2023-01-15 17:58
TobiasGrosserOK, that's super helpful. I think Marcan has more ambitious goals with respect to secure boot. I mostly want to get my ext4 partition encrypted and in a shape that I can take advantage of later secure boot changes.
#asahi · 2023-01-15 17:58
TobiasGrosserI see.
#asahi · 2023-01-15 17:57
TobiasGrosserI see.
#asahi · 2023-01-15 17:56
TobiasGrosserah, interesting.
#asahi · 2023-01-15 17:55
TobiasGrosserWould grub then still be in the picture?
#asahi · 2023-01-15 17:55
TobiasGrosserRight. And you would store this bundle on ESP?
#asahi · 2023-01-15 17:54
TobiasGrosserThat is helpful.
#asahi · 2023-01-15 17:54
TobiasGrosserOK.
#asahi · 2023-01-15 17:53
TobiasGrosser(which means I could follow the https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019 tutorial)
#asahi · 2023-01-15 17:53
TobiasGrosserMh, then I could leave kernel and initrd encrypted in /boot (as ext4) partition and let grub decrypt it, no?
#asahi · 2023-01-15 17:52
TobiasGrosserAnd grub is also on ESP, no?
#asahi · 2023-01-15 17:52
TobiasGrosserAha.
#asahi · 2023-01-15 17:51
TobiasGrosserAh, interesting. What about m1n1 stage 2?
#asahi · 2023-01-15 17:51
TobiasGrosserI came across the ubuntu tutorial where the encrypted both / and /boot and thought that could work here as well. It seems because m1n1 stage 2 is on /boot that, I need to keep an unencrypted /boot.
#asahi · 2023-01-15 17:50
TobiasGrosserThat's what I am trying to do (and failing because of me not understanding exactly how to configure grub). I will debug this further over the next weeks, but thought its useful to understand the setup a little bit more.
#asahi · 2023-01-15 17:48
TobiasGrosserFor my personal needs, I feel an encrypted / would be good enough. I would love to see SEP eventually, but mostly would like my data encrypted if I loose my laptop.
#asahi · 2023-01-15 17:47
TobiasGrosserAhh, m1n1 loads uboot and uboot today is on the unencrypted ext4 partition?
#asahi · 2023-01-15 17:45
TobiasGrosserencrypt -> decrypt
#asahi · 2023-01-15 17:45
TobiasGrosserAFAIU m1n1 would not need to read from / or /boot. It would just load grub (from ESP), which would then encrypt the (/ and /boot) partitions and pass control to the linux kernel.
#asahi · 2023-01-15 17:44
TobiasGrosserI mostly try to understand the desirable end goal.
#asahi · 2023-01-15 17:43
TobiasGrosserIn particular, they are in the /boot folder of that ext4 partition. At least the ubuntu-asahi that I installed had a shared root '/' and '/boot' parition. AFAIU both of them could remain shared and be encrypted, so only apfs and ESP remain unencrypted. Or am I wrong here?
#asahi · 2023-01-15 17:41
TobiasGrosserI see, but the kernel and initrd today are on a ext4 partition, which are loaded after grub (ESP), right?
#asahi · 2023-01-15 17:38
TobiasGrosserSo you say we load m1ni-stage-1 from the EFI partition, which then loads m1mi-stage-2 from the /boot directory. Then grub is loaded from EFI or /boot, ...?
#asahi · 2023-01-15 17:37
TobiasGrosserMh, I am not 100% sure I understand. Is the boot process of Asahi described somewhere on the wiki?
#asahi · 2023-01-15 17:34
TobiasGrossered boot as described in https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019? AFAIU both /boot and / can be encrypted, as long as the EFI partition ships the right version of Grub? Or did I misunderstand something here?
#asahi · 2023-01-15 17:34
TobiasGrosserchadmed: I just read through your https://github.com/AsahiLinux/docs/wiki/Apple-Platform-Security-Crash-Course article and was surprised by the phrase " An existing weakness is that /boot must be stored in the clear, and there is currently no Secure Boot or Measured Boot analogue with which we can guarantee the integrity of the kernel or initramfs." I have little experience in this space, but was wondering how to best set up