-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for single encrypted partition? #2
Comments
I can't sleep so I'm gonna add details of my partial success using this. I set up Arch with a 512 ESP and a large single partition for LUKS:
I obviously skipped
It doesn't look too far off from supporting |
Thank you very much for posting the workaround! |
You're welcome! I was pondering this again and I almost got confused about how my thing works now. So for more information for other people (and potentially future me if I forget this again), my I use this command to verify that the signature is fine after updating grub:
With secureboot enabled and bios password on, the BIOS verifies the grubx64.efi on the unencrypted ESP partition, then continues to decrypt the root, where the ESP partition is remounted. |
That's exactly the setup I made for myself yesterday 🙂 I can't wrap my head around one question, could you perhaps give me a hint? To update |
I'm not sure actually, I run it myself (those 3 commands in my second comment), but I haven't really bothered to check. In theory, updating grub should place in a new I'm pretty sure running |
That's my point, it looks like upgrading I guess that's why this tool provides Lines 111 to 130 in 16117e1
In summary, I think by default we never have to re-sign |
Yeah I always just check to make sure it still has a valid signature to make sure I'm not going to need to whip out a recovery arch stick at some random time in the future. |
All right, thanks for the answers and sorry for drifting off-topic here 🙂. I've asked my question on Arch forums to follow up, subscribe if you are interested: https://bbs.archlinux.org/viewtopic.php?pid=1757673 |
Is it possible to use this with a single partition containing both root and boot, with an esp partition?
The GRUB wiki here claims that, when using an encrypted boot:
I would like to use this configuration (512M EFI and single root partition containing boot) to simplify the encryption setup. That way I don't have to worry about mounting boot, but I still don't want to manually handle all the key signing by myself.
It would be great of this supported having the boot partition with the root partition. Thoughts?
The text was updated successfully, but these errors were encountered: