Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Quick question with Arch install, efivars and efistub giving me some problems
New Posts  All Forums:Forum Nav:

Quick question with Arch install, efivars and efistub giving me some problems

post #1 of 2
Thread Starter 
I'm installing Arch back on my laptop (asus g75vw) and everything has went fine up until this point of the install. I was looking at the Arch wiki and did the following to install EFISTUB, but that's where the problems start.
Code:
# pacman -S efibootmgr
# umount /sys/firmware/efi/efivars
# modprobe -r efivars
# modprobe efivars
# efibootmgr -c -L "Arch Linux" -l /vmlinuz-linux -u "root=/dev/sdaX rw initrd=/initramfs-linux.img"

Now, when I went to do "umount /sys/firmware/efi/efivars" I get the following message:
Code:
umount: /sys/firmware/efi/efivars: not mounted

Then I did "modprobe -r efivars" thinking the above meant it unmounted it. I then get another prompt, with no messages, after hitting enter.

I then do "modprobe efivars" and get the same, just another prompt. I'm assuming that's what is supposed to happen or what?

Then I do "efibootmgr -c -L "Arch Linux" -l /vmlinuz-linux -u "root=/dev/sda2 rw initrd=/initramfs-linux.img" and get the following back:
Code:
Fatal: Couldn't open either sysfs or procfs directories for accessing EFI variables.
Try 'modprobe efivars' as root.

Thing is I've done all of this as root. And I'm at a lost now.

EDIT: I installed gummiboot instead, it's solved now.
Edited by bryce - 8/20/13 at 4:58pm
    
CPUMotherboardGraphicsGraphics
i7-6700k @ 4.6ghz ASUS Maximus VIII Hero Nvidia GTX 1080 Founders Edition Nvidia GTX 1080 Founders Edition 
RAMHard DriveHard DriveHard Drive
G.SKILL Ripjaws V DDR4.3200 2x8GB Samsung 950 Pro M2 SSD Samsung 850 Evo SSD Samsung 850 Pro SSD 
Optical DriveCoolingOSMonitor
Why??? Swiftech H240 X2 Windows 10 Pro Insider Build x64 ASUS ROG 27" P278Q 
MonitorMonitorKeyboardPower
ASUS ROG 27" P278Q ASUS ROG 27" P278Q Razer Blackwidow Ultimate EVGA G2 750W 
CaseMouseMouse PadAudio
Corsair 750D Logitech G600 Why??? Onboard Audio For Now 
  hide details  
Reply
    
CPUMotherboardGraphicsGraphics
i7-6700k @ 4.6ghz ASUS Maximus VIII Hero Nvidia GTX 1080 Founders Edition Nvidia GTX 1080 Founders Edition 
RAMHard DriveHard DriveHard Drive
G.SKILL Ripjaws V DDR4.3200 2x8GB Samsung 950 Pro M2 SSD Samsung 850 Evo SSD Samsung 850 Pro SSD 
Optical DriveCoolingOSMonitor
Why??? Swiftech H240 X2 Windows 10 Pro Insider Build x64 ASUS ROG 27" P278Q 
MonitorMonitorKeyboardPower
ASUS ROG 27" P278Q ASUS ROG 27" P278Q Razer Blackwidow Ultimate EVGA G2 750W 
CaseMouseMouse PadAudio
Corsair 750D Logitech G600 Why??? Onboard Audio For Now 
  hide details  
Reply
post #2 of 2
Quote:
Originally Posted by bryce View Post

I'm installing Arch back on my laptop (asus g75vw) and everything has went fine up until this point of the install. I was looking at the Arch wiki and did the following to install EFISTUB, but that's where the problems start.
Code:
# pacman -S efibootmgr
# umount /sys/firmware/efi/efivars
# modprobe -r efivars
# modprobe efivars
# efibootmgr -c -L "Arch Linux" -l /vmlinuz-linux -u "root=/dev/sdaX rw initrd=/initramfs-linux.img"

Now, when I went to do "umount /sys/firmware/efi/efivars" I get the following message:
Code:
umount: /sys/firmware/efi/efivars: not mounted

Then I did "modprobe -r efivars" thinking the above meant it unmounted it. I then get another prompt, with no messages, after hitting enter.

I then do "modprobe efivars" and get the same, just another prompt. I'm assuming that's what is supposed to happen or what?

Then I do "efibootmgr -c -L "Arch Linux" -l /vmlinuz-linux -u "root=/dev/sda2 rw initrd=/initramfs-linux.img" and get the following back:
Code:
Fatal: Couldn't open either sysfs or procfs directories for accessing EFI variables.
Try 'modprobe efivars' as root.

Thing is I've done all of this as root. And I'm at a lost now.

EDIT: I installed gummiboot instead, it's solved now.

Glad it's fixed but I just want to point something out. In my experience on Arch, the message
Code:
Fatal: Couldn't open either sysfs or procfs directories for accessing EFI variables.
Try 'modprobe efivars' as root.
when received even after "modprobe efivars" usually means your install media booted up without EFI support. I had this happen when booting the install media from a USB device. In that instance I switched to install media running from a CD and it worked fine.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Quick question with Arch install, efivars and efistub giving me some problems