Open szszoke opened 1 year ago
I suppose I could just update 41_snapshots-btrfs
around line 220 to include the missing lines.
Edit: Just by replacing line 220 with the lines below I can boot into the snapshots again, but I would have to redo this on every update.
insmod gzio
insmod part_gpt
insmod cryptodisk
insmod luks
insmod gcry_rijndael
insmod gcry_rijndael
insmod gcry_sha256
insmod ${boot_fs}
cryptomount -u 6f4f9d6d-94cf-4ce5-b3f6-2ab2bbc9420a
Hm, would it help if we created a config variable there to inject additional modules?
I think that would be a start but I would still have to call cryptomount so just a list if modules that are then loaded via insmod is not enough.
Hello!
I am having some trouble booting into my snapshots. I get the exact same error as the screenshot here: https://github.com/Antynea/grub-btrfs/issues/116
I am using Arch.
I have an unencrypted EFI partition that is mounted to
/efi
and I have a/boot
folder with my kernel, microcode, etc.Initially I had grub installed to
/boot
. With that setup I had to enter my encryption key before I could see the grub menus. If I then booted into a snapshot it worked.I installed Arch on a different computer and there I followed a slightly different guide. I ended up with the same partition layout but grub was installed to the unencrypted
/efi/grub
folder instead.This caused some changes. When I start that machine, I get the grub menu initially and I only have to enter the decryption key when I actually select an option that would boot into my Arch installation.
I prefer this setup because it doesn't force me to enter a decryption key even if I am not planning to boot into an OS that is on an encrypted disk.
This latter approach broke booting into my snapshots however.
I looked at my
grub.cfg
andgrub-btrfs.cfg
files and I think I know why I get the error.Here is my main menu entry for Arch:
Here is the menu entry for my snapshot:
Everything related to my encrypted disk seems to be missing. I never have to enter my decryption key and the encrypted disk is never unlocked and mounted.
I can go back to my previous setup where I have to unlock my encrypted disk first then chose a GRUB menu item but I would prefer this setup instead if it is possible.