You are not logged in.
Pages: 1
This is mine setup
/boot - encrypted
/efi - unecrypted
Booting via motherboard works for:
\EFI\Linux\arch-linux-zen.efi
\EFI\Linux\arch-linux-fallback.efi
\EFI\Microsoft\Boot\bootmgfw.efi
but Grub doesnt work.
\EFI\GRUB\grubx64.efi
i copied grub files from boot to efi. So i got alongside grubx64.efi grub.cfg
When selecting grub. Grub starts to ask for password for encrypoted disk and drops to rescue shell.
I want it to stop asking for password becouse luks2 drive will be unecverypted anyway by chainloaded linux efi file.
I disabled cryptodisk support in /etc/default/grub.
Offline
When selecting grub. Grub starts to ask for password for encrypoted disk and drops to rescue shell.
I want it to stop asking for password becouse luks2 drive will be unecverypted anyway by chainloaded linux efi file.I disabled cryptodisk support in /etc/default/grub.
My guess, a very random one is that Linux is still configured with the hook(or whatever they call them), somewhere.
Maybe `mkinitcpio`? Wouldn't know much beyond that.
Offline
Its solved. Yoiu need to remount paths or it will complain.
Anyway i stoped using grub and just doing efistubs.
Offline
first: thanks for reply after a solution was found instead of have it fall into limbo
second: please mark the topic as solved by edit the title of your initial post
as for the issue:
when not given by --boot-directory grub defaults to /boot/grub/grub.cfg for its config
as your /boot is encrypted grub first has to ask for the passphrase for it to even read its config
one option: give --boot-directory=/efi to grub-install - this way the grub.efi will be build in a way to look at the unecrypted /efi/grub/grub.cfg for its config
there're other options - but no matter which bootloader you use it has to be able to read its config - and as uefi demands an unencrypted fat32 esp anyway I recommend to place a bootloaders config on the esp as well
btw: encrypting your OS doesn't make much sense when it's auto-unlocked by some key in the initrd/uki - it's equivalent to hanging a key next to the lock it unlocks and hope for no-one noticing it
Offline
Pages: 1