You are not logged in.
Hi everyone!
Arch forums might not be the best place to post this question, but since Arch users appear to be ahead of the curve when it comes to working with EFI / UEFI, I thought I'd try my luck here first. Does anyone know of a UEFI Shell v2 command that I can use to set arguments to pass to the boot loader in the style of the -u option of efibootmgr? Currently, to create a boot entry for Arch, I first boot into a Linux system with efibootmgr installed, and issue the following command in Bash as a root user:
efibootmgr -c -L "Arch Linux" -l /EFI/arch/vmlinuz-linux -u "root=UUID=$( lsblk -o NAME,UUID | awk '/sda2/ {print $2 }' ) ro initrd=/EFI/arch/initramfs-linux.img"
(/dev/sda2 is my root file system, so the whole lsblk | awk thing is just a convenient way to parse out its UUID.)
Is there a way to store the root=, ro, initird=, and other boot arguments in the BootX variables via bcfg or some other UEFI Shell v2 command? Thank you in advance for any suggestions!
Offline
I think that someone may compile the efibootmgr to work in a UEFI shell v2.
do it good first, it will be faster than do it twice the saint
Offline