You are not logged in.

#1 2013-03-11 16:06:00

unikum
Member
From: Russia
Registered: 2010-09-04
Posts: 151
Website

[gummiboot] Failed to access EFI variables

Hi.
I tried new installation on Acer Aspire V3-771G. I disabled Secure Boot and install base and base-devel.
Then i tried setup bootloader.

My prtition scheme:

Disk /dev/sda: 1465149168 sectors, 698.6 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): D02CAEF9-E70A-434B-9D36-868DECA31BEE
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1465149134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)

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

Mount points

UUID=b07b28e0-19ea-413e-8f84-0bccd44111ea       /               ext4            rw,noatime      0 1
UUID=83241f28-fd07-4966-be3b-dda071d4b341       /mnt/data       ext4            rw,noatime      0 2
UUID=46C0-EE81          /boot   vfat            defaults        0 2
# # blkid 
/dev/sda1: UUID="46C0-EE81" TYPE="vfat" PARTLABEL="EFI System" PARTUUID="29994d52-f3e7-4d47-8c51-464cd6cb2556" 
/dev/sda2: LABEL="root" UUID="b07b28e0-19ea-413e-8f84-0bccd44111ea" TYPE="ext4" PARTLABEL="Linux filesystem" PARTUUID="2a4ffbb9-cd4e-46c5-b1ba-26ebf181658d" 
/dev/sda3: LABEL="data" UUID="83241f28-fd07-4966-be3b-dda071d4b341" TYPE="ext4" PARTLABEL="Linux filesystem" PARTUUID="88219bf2-de08-4865-8e18-6746860f2997" 
/dev/sdb1: LABEL="ARCH_201303" UUID="C060-A733" TYPE="vfat" PARTUUID="dc140a2a-3703-4159-bdd0-50f9933991ac" 

When i tried install install gummiboot:

# /usr/bin/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 access EFI variables. Is the "efivarfs" filesystem mounted?

Package versions

gummiboot 24-1
linux 3.7.10-1

efivars

# ls -1 /sys/firmware/efi/vars/
A01RestoreFlag-8be4df61-93ca-11d2-aa0d-00e098032b8c
ACUB-89cb0e8d-393c-4830-bfff-65d9147e8c3b
AEBT-89cb0e8d-393c-4830-bfff-65d9147e8c3b
AcpiGlobalVariable-c020489e-6db2-4ef2-9aa5-ca06fc11d36a
AdministerSecureBoot-59d1c24f-50f1-401a-b101-f33e0daed443
AuthVarKeyDatabase-515fa686-b06e-4550-9112-382bf1067bfb
BackupPlatformLang-59d1c24f-50f1-401a-b101-f33e0daed443
Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c
Boot0001-8be4df61-93ca-11d2-aa0d-00e098032b8c
BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c
BootDevice-0a4cd120-ea2d-4aef-a4b0-b0c08cbbdbbe
BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c
BootPrevious-59d1c24f-50f1-401a-b101-f33e0daed443
BootPreviousData-59d1c24f-50f1-401a-b101-f33e0daed443
ConIn-8be4df61-93ca-11d2-aa0d-00e098032b8c
ConInCandidateDev-59d1c24f-50f1-401a-b101-f33e0daed443
ConInDev-8be4df61-93ca-11d2-aa0d-00e098032b8c
ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c
ConOutCandidateDev-59d1c24f-50f1-401a-b101-f33e0daed443
ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c
Custom-a04a27f4-df00-4d42-b552-39511302113d
CustomSecurity-59d1c24f-50f1-401a-b101-f33e0daed443
ErrOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c
IrsiInfo-5bce4c83-6a97-444b-63b4-672c014742ff
KEK-8be4df61-93ca-11d2-aa0d-00e098032b8c
LegacyDevOrder-a56074db-65fe-45f7-bd21-2d2bdd8e9652
LoaderDeviceIdentifier-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f
LoaderDevicePartUUID-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f
LoaderEntrySelected-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f
LoaderFirmwareInfo-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f
LoaderFirmwareType-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f
LoaderImageIdentifier-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f
LoaderInfo-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f
LoaderTimeExecUSec-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f
LoaderTimeInitUSec-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f
LoaderTimeMenuUSec-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f
MTC-eb704011-1402-11d3-8e77-00a0c969723b
MeBiosExtensionSetup-1bad711c-d451-4241-b1f3-8537812e0c70
MrcS3RestoreVariable-14ef381c-9721-434e-be09-192ab97e781f
OEM_DGPU_VGA_INFO-d6a53895-acd9-4239-8916-cd6411eea532
OEM_GOP_VGA_INFO-8be4df61-93ca-11d2-aa0d-00e098032b8c
OEM_IGPU_VGA_INFO-8be4df61-93ca-11d2-aa0d-00e098032b8c
OsIndicationsSupported-8be4df61-93ca-11d2-aa0d-00e098032b8c
PK-8be4df61-93ca-11d2-aa0d-00e098032b8c
PchInit-e6c2f70a-b604-4877-85ba-deec89e117eb
PchS3Peim-e6c2f70a-b604-4877-85ba-deec89e117eb
PlatformConfigurationVariable-f2f2d9a4-2a67-0361-b349-ada7e588f971
PlatformLang-8be4df61-93ca-11d2-aa0d-00e098032b8c
PlatformLangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c
RestoreFactoryDefault-59d1c24f-50f1-401a-b101-f33e0daed443
S3RestoreDataVariable-14ef381c-9721-434e-be09-192ab97e781f
SaPegData-c4975200-64f1-4fb6-9773-f6a9f89d985e
SaveHddPasswordInfo-a17d3ac5-4897-47b5-9912-21a9697ebdde
SecureBoot-8be4df61-93ca-11d2-aa0d-00e098032b8c
SecureBootEnforce-59d1c24f-50f1-401a-b101-f33e0daed443
SecureFlashInfo-382af2bb-ffff-abcd-aaee-cce099338877
Setup-a04a27f4-df00-4d42-b552-39511302113d
SetupMode-8be4df61-93ca-11d2-aa0d-00e098032b8c
SignatureSupport-8be4df61-93ca-11d2-aa0d-00e098032b8c
SmbiosPolicy-41a3ee4e-6d57-418b-8f8e-c366a5b70c4b
SpdData-70a9c11d-f710-42f8-89c1-bde841dc9b45
SwitchableGraphicsVariable-b2b7c21f-1786-4a64-be69-16cef7647331
Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c
db-d719b2cb-3d3a-4596-a3bc-dad00e67656f
dbx-d719b2cb-3d3a-4596-a3bc-dad00e67656f
del_var
dump-type0-1-1363034326-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0
dump-type0-10-1363034326-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0
dump-type0-11-1363034326-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0
dump-type0-2-1363034326-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0
dump-type0-3-1363034326-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0
dump-type0-4-1363034326-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0
dump-type0-5-1363034326-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0
dump-type0-6-1363034326-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0
dump-type0-7-1363034326-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0
dump-type0-8-1363034326-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0
dump-type0-9-1363034326-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0
new_var

I also tried boot with UFEI Shell.

# cp /boot/vmlinuz-linux /boot/efi/EFI/arch/vmlinuz-arch.efi
# cp /boot/initramfs-linux.img /boot/efi/EFI/arch/initramfs-arch.img
# cat /boot/arch.nsh
echo -on
\EFI\arch\vmlinuz-arch.efi root=PARTUUID=2a4ffbb9-cd4e-46c5-b1ba-26ebf181658d ro rootfstype=ext4 add_efi_memmap initrd=\EFI\arch\initramfs-arch.img nomodeset

In the shell:

> fs:
> arch.nsh

and it works. But it's very discomfort.

I also tried manual install gummiboot:

# cp /usr/lib/gummiboot/gummibootx64.efi $esp/EFI/gummiboot/gummiboot.efi
# efibootmgr -c -d /dev/sda -p 1 -w -L "Gummiboot" -l '\EFI\gummiboot\gummiboot.efi'
# efibootmgr -v
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0001,0000
Boot0000* USB HDD: JetFlashTranscend 2GB        ACPI(a0341d0,0)PCI(1d,0)USB(0,0)USB(1,0)HD(1,800,3c2000,dc140a2a-3703-4159-bdd0-50f9933991ac)RC
Boot0001* Gummiboot     HD(1,800,100000,29994d52-f3e7-4d47-8c51-464cd6cb2556)File(\EFI\gummiboot\gummiboot.efi)

# cat /boot/loader/loader.conf 
default arch
timeout 10
# cat /boot/loader/entries/arch.conf 
title        Arch Linux
linux        /vmlinuz-linux
initrd       /initramfs-linux.img
options      root=PARTUUID=2a4ffbb9-cd4e-46c5-b1ba-26ebf181658d ro add_efi_memmap nomodeset pcie_aspm=force

# ls -1R /boot/
/boot/:
EFI
arch.nsh
initramfs-linux-fallback.img
initramfs-linux.img
loader
vmlinuz-linux

/boot/EFI:
BOOT
gummiboot

/boot/EFI/BOOT:
BOOTX64.EFI

/boot/EFI/gummiboot:
gummibootx64.efi

/boot/loader:
entries
loader.conf

/boot/loader/entries:
arch.conf

gummiboot menu appears  but system can't boot without any errors.

Last edited by unikum (2013-03-11 16:15:44)

Offline

#2 2013-03-11 16:17:56

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: [gummiboot] Failed to access EFI variables

The gummiboot setup tools requires kernel 3.8 which is still in [testing].

Offline

#3 2013-03-11 16:48:47

unikum
Member
From: Russia
Registered: 2010-09-04
Posts: 151
Website

Re: [gummiboot] Failed to access EFI variables

Seems it's works. Many thanks:)

Offline

#4 2013-03-12 01:26:59

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,593
Website

Re: [gummiboot] Failed to access EFI variables

Same laptop I've got! So 3.8 Kernel works? 3.7.9.2 works but 3.7.10.1 does not boot with me. I use rEFInd, but I don't think that matters. Can you install both rEFInd and gummiboot together? (I realize only one can be "actively" used as the boot loader, but can they "coexist"?)


Matt

"It is very difficult to educate the educated."

Online

#5 2013-03-12 15:34:20

unikum
Member
From: Russia
Registered: 2010-09-04
Posts: 151
Website

Re: [gummiboot] Failed to access EFI variables

3.8.2 from testing works. I tried only gummiboot.

After update gummiboot, I get following:

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

Last edited by unikum (2013-03-12 16:46:23)

Offline

Board footer

Powered by FluxBB