You are not logged in.

#1 2012-06-05 20:07:22

89c51
Member
Registered: 2012-06-05
Posts: 741

[SOLVED]Installation Issues with efibootmgr (GRUBless efistub)

Hello. First time arch user and i am trying to set up a grubless system using efistub and trying to boot it with an efibootmgr entry.

I tried running the efibootmgr command both on Archboot (skipped the install bootloader during the instalation script part in order to use efibotmgr) and also chrooted in my installation -hat to install efibootmgr in this case but i dont think it matters- and in both cases i get:

Fatal:  Couldn't open either sysfs or procfs directories for accessing EFI variables.
Try 'modprobe efivars' as root.

I run modprobe efivars as root and i get:

lsmod | grep  efivars

efivars                    10299 0 

Also the /sys/firmware/ directory (in the chroot) didn't have anything related to efi.

Any ideas on how to fix this and be able to boot in my system would be welcome.

Thanks in advance.

Last edited by 89c51 (2012-06-07 10:32:49)

Offline

#2 2012-06-05 20:55:18

the.ridikulus.rat
Member
From: Indiana, USA
Registered: 2011-10-04
Posts: 765

Re: [SOLVED]Installation Issues with efibootmgr (GRUBless efistub)

Create a UEFI bootable USB using https://gitorious.org/tianocore_uefi_du … I_boot_USB . BTW Archboot installer script supports setting up efistub+rEFInd .

Offline

#3 2012-06-05 22:07:46

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: [SOLVED]Installation Issues with efibootmgr (GRUBless efistub)

the.ridikulus.rat wrote:

Create a UEFI bootable USB using https://gitorious.org/tianocore_uefi_du … I_boot_USB . BTW Archboot installer script supports setting up efistub+rEFInd .


Sorry i don't get you and please keep in mind i am a bit of a noob. I used archboot 2012.04-1, "2k12-R2" to get at the point i got.

And the whole idea was/is not to use rEFInd and boot with an efibootmgr entry.

Offline

#4 2012-06-06 05:26:23

the.ridikulus.rat
Member
From: Indiana, USA
Registered: 2011-10-04
Posts: 765

Re: [SOLVED]Installation Issues with efibootmgr (GRUBless efistub)

89c51 wrote:
the.ridikulus.rat wrote:

Create a UEFI bootable USB using https://gitorious.org/tianocore_uefi_du … I_boot_USB . BTW Archboot installer script supports setting up efistub+rEFInd .


Sorry i don't get you and please keep in mind i am a bit of a noob. I used archboot 2012.04-1, "2k12-R2" to get at the point i got.

And the whole idea was/is not to use rEFInd and boot with an efibootmgr entry.

Just extract the archboot iso inside a fat32 formatted usb pendrive, and then boot the pendrive (for UEFI boot alone), or follow the above link for creating BIOS+UEFI bootable USB. That should enable uefi boot. After booting you can use load efivars and use efibootmgr to setup your boot entry.

The reason you got the error is because you booted archboot via bios compatibility mode (many uefi firmwares have such modes). You need to be booted via UEFI mode to be able to use efibootmgr. efibootmgr will not work if the system has been booted via bios mode. Probably you tried dd'ing the iso to the usb (isohybrid) which will make the usb bootable only in bios boot mode.

Last edited by the.ridikulus.rat (2012-06-06 05:28:18)

Offline

#5 2012-06-06 11:30:19

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: [SOLVED]Installation Issues with efibootmgr (GRUBless efistub)

Thanks it booted this way. I assumed that it was booting EFI correctly with the dd command.

However -the actual system- is slow and it gives me a couple of errors.

It failed to start remount and kernel file systems. It failed to start Load random seed and it seems that the root filesystem is mounted read only. hmm

Last edited by 89c51 (2012-06-07 10:34:26)

Offline

#6 2012-06-06 12:50:15

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: [SOLVED]Installation Issues with efibootmgr (GRUBless efistub)

Also one more thing

The efibootmgr command doesn't seem to respect the arguments you pass to it. For example i tried to change the boot order in order to boot from a flash and try to repair it but it still boots from the EFI partition. Might have to do with the root being read only.

dafuq hmm

Last edited by 89c51 (2012-06-07 10:33:59)

Offline

Board footer

Powered by FluxBB