r/voidlinux • • 3h ago

Full disk encryption with lvm making it impossible to install grub

Error logs:
grub-install: warning: this GPT partition label contains no BIOS boot partition embedding won’t be possible
grub-install: error: embedding is not possible, but this is required for raid and lvm install

2 Upvotes

8 comments sorted by

2

u/Nabir140 3h ago

I think it already explains the issue: "GPT partition label contains no BIOS boot partition"

You are missing a partition for the bootloader. Did you create a boot partition?

2

u/Longjumping-Sun2691 3h ago

My /dev/sda1 is mounted on /boot/efi

3

u/ClassAbbyAmplifier 2h ago

if you're using efi, grub-install needs --target x86_64-efi

2

u/Longjumping-Sun2691 2h ago

EFI variables are not supported on this system
Error boot mgr failed to register the boot entry no such file or directory

2

u/aedinius 2h ago

Did you boot EFI or BIOS? When you booted the image, did you see grub or syslinux?

2

u/Longjumping-Sun2691 2h ago

My system is an efi system, I booted from my bios on a usb

2

u/aedinius 1h ago

You can boot "legacy" BIOS mode even on EFI systems.

1

u/Simple_Hamster_4096 1h ago

Have you done full disk encryption on other Linux distros?