On my new UEFI only laptop, I used archinstall to get plasma installed using grub. It was my first bare metal UEFI only install. It worked the first time, and I'm happy with it.

After doing a practice install "from existing Arch", to a USB, and rebooted, I found my internal Plasma install came up with a UEFI boot screen saying No Boot Device.

I fixed it by doing this: grub-install --target=x86_64-efi --efi-directory=/boot/EFI --bootloader-id=GRUB but this seems wrong.

Instead of using grub-install, wouldn't the better solution be efibootmgr? What was the efibootmgr code that grub-install ran inside archinstall? Or, how would I fix this without access to Arch media?

I've looked over https://wiki.archlinux.org/title/Unified_Extensible_Firmware_Interface#efibootmgr but could not get efibootmgr to set up a new boot device: efibootmgr -create --disk /dev/nvme0n1 --part 1 --loader /boot/EFI --label "new arch" --verbose Error was something like "invalid or bad number eta" or similar. Sorry.

My system:

/dev/nvme0n1p1 - esp F32 format. /dev/nvme01np2 - root filesystem. ext4 format

I mount esp to /boot

Any ideas appreciated.

Tks

submitted by /u/archover
[link] [comments]