UP^2 Arch Linux Installation: Using UEFI Directly: efibootmgr example doesn't appear to work?

Has anyone else run into problems here?
See https://wiki.archlinux.org/index.php/EFISTUB
Using UEFI directly
efibootmgr
I found the example command for efibootmgr to be problematic. I couldn't get it to work for Arch Linux. After much trial and error the solution that actually worked is a follows. Compare the original command with the solution.
The original command...
# efibootmgr --disk /dev/sdX --part Y --create --label "Arch Linux" --loader /vmlinuz-linux --unicode 'root=PARTUUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX rw initrd=\initramfs-linux.img' --verbose
Solution: Replacing the above command with...
# efibootmgr --disk /dev/sdX --part Y --create --label "Arch Linux" --loader /vmlinuz-linux --unicode 'root=/dev/sdX rw initrd=\initramfs-linux.img' --verbose
Where --disk /dev/sdX...
is the EFI boot partition.
Where root=/dev/sdX...
is the root partition of the Arch Linux installation.
Cheers
S Mack
Best Answer
-
eduncan911 Administrator, Moderator Posts: 157 admin
@smackoz I run Arch on my UP Squared and Boards. With systemd-boot, I do recall the UUID method not working as well, and resorted to using device paths.
Remember, the Arch wiki, while awesome with details, is usually written by a person that got it working their way.
I have 100s of edits and a few new pages written on the Arch Wiki over the years. Feel free to add the alternative device path option to that page as I am sure it might help others down the road.
Personally, I run Xen hypervisor on mine to EFI boot from.
Feel free to browse my Arch Linux bootstrap scripts I use for UP^2 devices. (Need to specify the mmc path, instead of sdX).
Eric Duncan - UP Evangelist - My thoughts are of my own free will
Answered? Please remember to mark the posted answered to highlight it for future visitors!
Answers
Thanks. Was wondering if I'd missed something or it was the flavour of these UP^2 boards.
Cheers
S Mack
Hi smackoz and eduncan911: I hope you don't mind me not opening a new thread, could you let me know about your experience of running Arch on the up squared? Is there anything I need to pay attention to apart from those EFI boot parameters? Would you recommend this device for using with Arch?