'bash: /sys/firmware/efi/: No such file or directory

I am installing Arch Linux. And for some reasons efivars dont work. I tried:

[root@archiso /]# pacman -S efivarfs 
[root@archiso /]# exit

root@archiso ~ # modprobe efivarfs
root@archiso ~ # arch-chroot /mnt

[root@archiso /]# efivar-tester
Bash: /efivar-tester: command not found

I also checked the /sys/firmware/efi/ directory, but it returned bash: /sys/firmware/efi/: No such file or directory

I have no clue how I can repair this.

I expect that /sys/firmware/efi/ return that the dirrectory exist, or that I can use efivars in any way.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source