You are not logged in.
I am setting up a new arch system, and I placed /boot on an lvm partition. When I run grub-install, I get an error"efibootmgr: option requires an argument --'d' "
The command I am running: grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
I did see https://bbs.archlinux.org/viewtopic.php?id=245292 however I already have lvm2 installed and mkinitcpio has systemd (instead of udev) and sd-lvm2 (between block and filesystem) in the hooks entry in mkinitcpio.conf.
The disk is GPT, and the pv is on /dev/sda1.
Offline
I placed /boot on an lvm partition.
The command I am running: grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
The ESP can't be in LVM:
Warning: The EFI system partition must be a physical partition in the main partition table of the disk, not under LVM or software RAID etc.
Since you're using GRUB, you don't need to mount the ESP to /boot. Create a regular partition for the ESP and mount it to /efi.
Offline
I was under the impression that since https://wiki.archlinux.org/index.php/LV … nux_on_LVM says:
Warning: /boot cannot reside in LVM when using a boot loader which does not support LVM; you must create a separate /boot partition and format it directly. Only GRUB is known to support LVM.'
I could place all of it on there. Guess not. I was hoping to avoid re-installing, but I guess not. Or maybe since m.2 drives are so cheap these days, maybe I'll just grab one of those instead.
Offline
/boot can reside in LVM, but the EFI system partition can't.
Offline