FS#34292 - [gummiboot] Failed to create EFI Boot variable entry: No such file or directory
Attached to Project:
Arch Linux
Opened by Artem A Klevtsov (unikum) - Wednesday, 13 March 2013, 09:55 GMT
Last edited by Tobias Powalowski (tpowa) - Thursday, 24 October 2013, 07:01 GMT
Opened by Artem A Klevtsov (unikum) - Wednesday, 13 March 2013, 09:55 GMT
Last edited by Tobias Powalowski (tpowa) - Thursday, 24 October 2013, 07:01 GMT
|
Details
Description:
Can't insytall gummiboot. Additional info: * package version(s) core/linux 3.8.2-1 extra/gummiboot 26-1 * partition scheme gdisk print output Number Start (sector) End (sector) Size Code Name 1 2048 1050623 512.0 MiB EF00 EFI System 2 1050624 189794303 90.0 GiB 8300 Linux filesystem 3 189794304 1465149134 608.1 GiB 8300 Linux filesystem * config and/or log files etc. ls -1R /boot/ /boot/: EFI arch.nsh initramfs-linux-fallback.img initramfs-linux.img loader shellx64.efi vmlinuz-linux /boot/EFI: BOOT arch gummiboot /boot/EFI/BOOT: BOOTX64.EFI /boot/EFI/arch: initramfs-arch-fallback.img initramfs-arch.img vmlinuz-arch.efi /boot/EFI/gummiboot: gummibootx64.efi /boot/loader: entries loader.conf shell.conf /boot/loader/entries: arch.conf loader.conf and arch.conf from wiki article (https://wiki.archlinux.org/index.php/Gummiboot#Configuring) Steps to reproduce: # gummiboot install Copied /usr/lib/gummiboot/gummibootx64.efi to /boot/EFI/gummiboot/gummibootx64.efi. Copied /usr/lib/gummiboot/gummibootx64.efi to /boot/EFI/BOOT/BOOTX64.EFI. Failed to create EFI Boot variable entry: No such file or directory |
This task depends upon
total 0
efivars are in the /sys/firmware/efi/vars/.
Also this may be related with https://bugs.archlinux.org/task/34271
ls -l /sys/firmware/efi/efivars/
total 0
efivars was all located in /sys/firmware/efi/vars/
I went ahead and installed Grub and something was triggered there to populate everything into efivars
# modprobe -r efivars
# mount -t efivarfs none /sys/firmware/efi/efivars
# ls -1 /sys/firmware/efi/efivars
I had to first reboot into efishell v1 and manually boot the partition (v2 didn't work because a compile issue with Lenovo https://bbs.archlinux.org/viewtopic.php?pid=1246182) so I was outside the initial install section
Than I did modprobe efivars and it populated the sys/firmware/efi/efivars. The efivars was already mounted on /sys/firmware/efi/efivars type efivarfs (rw, nosuid, nodev, noexec, relatime. So I then re-ran the gummiboot setup using gummiboot --path /boot/efi update and it populated the bootmgr properly.
Thanks for your help.
Yes it is (gummiboot 38-1 and linux 3.11.3-1).
Check whether all conditions in https://wiki.archlinux.org/index.php/Unified_Extensible_Firmware_Interface#Requirements_for_UEFI_Variables_support_to_work_properly are satisfied (along with latest kernel and gummiboot, or the latest archiso 2013.10.01 or latest archboot 2013.09-1) before you try "gummiboot install" .
@Marcin are you having problems every time you boot or just during initial setup and then consecutive reboots work fine?