You are not logged in.

#1 2014-03-25 20:11:51

cdrjameson
Member
Registered: 2013-05-19
Posts: 46

[SOLVED] UEFI Variables outside chroot environment, not inside?

I am installing Arch onto a UEFI system that has had Arch on before; previously it was installed on a seperate disk from Windows and selecting in the UEFI boot sequence which hard drive I wanted to boot from each time. This time I am setting it up on the same hard drive as Windows 8.1 to enable dual-boot.

I have disabled fast boot and secure boot in the UEFI configuration screen.

I am booting from the latest Arch ISO on cd and have all UEFI variables listed outside of the chroot environment.

after

# arch-chroot /mnt /bin/bash
# efivar -l

I get

 bash: efivar: command not found

Inside the chroot environment I then

# modprobe efivarfs
efivar -l
bash: efivar: command not found
# mount -t efivarfs efivarfs /sys/firmware/efi/efivars
mount: efivarfs is already mounted or /sys/firmware/efi/efivars busy
       efivarfs is already mounted on /sys/firmware/efi/efivarfs

I have seen two other posts in the forums with this issue yet their solutions do not work in this instance.

I attempted to to finish the install off previously even though the uefi variables weren't loaded properly inside the chroot and it didn't boot (using rEFInd, I have previously tried Gummiboot and Grub, no dice). I know enough to get into trouble but not enough to fix it...any ideas.


Edit:

Head_on_a_Stick wrote:

Try

# pacman -S efivar

inside the chroot environment, then efivar -l

That fixed it; IIRC it's not mentioned in the Wiki that that might be the case. It does say to "Make sure efivars is mounted" prior to installing the bootloader; mine was but I couldn't list the variables or sucessfully install until I installed efivar inside the chroot.

Last edited by cdrjameson (2014-05-29 12:45:05)

Offline

#2 2014-03-25 22:11:09

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,771
Website

Re: [SOLVED] UEFI Variables outside chroot environment, not inside?

Have you tried just using efibootmgr?
Try

# pacman -S efivar

inside the chroot environment, then efivar -l (although I think this may be included in the base package when using pacstrap).
If you have /sys/firmware/efi on the system then it is already in EFI mode...
https://wiki.archlinux.org/index.php/UE … re_bitness

Last edited by Head_on_a_Stick (2014-03-25 22:28:09)

Offline

Board footer

Powered by FluxBB