You are not logged in.

#1 2015-09-19 17:11:37

stecco
Member
Registered: 2013-07-16
Posts: 40

EFI stub: ERROR: failed to read file. I can't boot!

I recently restored windows (I'm in dual boot with windows 10), now I am getting the following error when booting arch:

EFI stub: ERROR: failed to read file.
Trying to load files to higher address
EFI stub: ERROR: failed to read file.

I recently restored windows (I'm in dual boot with windows 10)

I already tried to arch-chroot with arch linux live system, giving

# mkinitcpio -p linux
# bootctl --path=/boot install

but I have the same error again.

What should I do?

Offline

#2 2015-09-19 19:36:12

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: EFI stub: ERROR: failed to read file. I can't boot!

From the live system, post the output of:

efibootmgr -v
lsblk -f
parted -l

Jin, Jîyan, Azadî

Offline

#3 2015-09-20 00:35:39

stecco
Member
Registered: 2013-07-16
Posts: 40

Re: EFI stub: ERROR: failed to read file. I can't boot!

# efibootmgr -v

BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0003,0002,2001,0000,2002,2003
Boot0000* Lenovo Recovery System	HD(3,GPT,931934f3-989a-42f0-9836-8a07f1c8ef7e,0x276800,0x1f4000)/File(\EFI\Microsoft\Boot\LrsBootMgr.efi)RC
Boot0001* EFI USB Device (USB 2.0 Flash Disk)	PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(1,MBR,0x4294967182,0xac,0xf800)RC
Boot0002* Windows Boot Manager	HD(2,GPT,a85c385b-c036-44fd-b0e3-5ef5486b9f73,0x1f4800,0x82000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}..../...............
Boot0003* Linux Boot Manager	HD(2,GPT,a85c385b-c036-44fd-b0e3-5ef5486b9f73,0x1f4800,0x82000)/File(\EFI\systemd\systemd-bootx64.efi)
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot2003* EFI Network	RC
# lsblk -f
NAME            FSTYPE LABEL UUID MOUNTPOINT
sda                               
|-sda1                            
|-sda2                            /boot
|-sda3                            
|-sda4                            
|-sda5                            
|-sda6                            
|-sda7                            
|-sda8                            /
`-sda9                            /home
sdb                               
|-sdb1                            
`-sdb2                            
loop0                             
loop1                             
`-arch_airootfs                   /etc/resolv.conf
loop2                             
`-arch_airootfs                   /etc/resolv.conf
# parted -l

Model: ATA SAMSUNG MZNTE512 (scsi)
Disk /dev/sda: 512GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 
                                                          
                                                                          
Number  Start   End     Size    File system  Name                          Flags
 1      1049kB  1050MB  1049MB  ntfs                                       hidden, diag
 2      1050MB  1322MB  273MB   fat32                                      boot, hidden, esp
 3      1322MB  2371MB  1049MB  fat32                                      hidden
 4      2371MB  2505MB  134MB                Microsoft reserved partition  msftres
 5      2505MB  236GB   234GB   ntfs         Basic data partition          msftdata
 6      236GB   250GB   13.4GB  ntfs         Basic data partition          msftdata
 7      250GB   265GB   15.4GB  ntfs                                       hidden, diag
 8      265GB   308GB   42.9GB  ext4
 9      308GB   512GB   204GB   ext4


Model: USB 2.0 Flash Disk (scsi)
Disk /dev/sdb: 1002MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 2      88.1kB  32.6MB  32.5MB  primary  fat16        esp

Last edited by stecco (2015-09-20 00:44:54)

Offline

#4 2015-09-20 01:05:29

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: EFI stub: ERROR: failed to read file. I can't boot!

Try toggling the "hidden" flag on your $ESP

# parted /dev/sda set 2 hidden off

If this causes problems with Windows, you can reverse it by using "on" rather than "off"


Jin, Jîyan, Azadî

Offline

#5 2015-09-20 10:18:03

stecco
Member
Registered: 2013-07-16
Posts: 40

Re: EFI stub: ERROR: failed to read file. I can't boot!

Done. Windows continues to boot normally, Arch still doesn't.

Last edited by stecco (2015-09-20 12:34:47)

Offline

#6 2015-09-20 12:45:41

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: EFI stub: ERROR: failed to read file. I can't boot!


Jin, Jîyan, Azadî

Offline

#7 2015-09-27 10:10:23

stecco
Member
Registered: 2013-07-16
Posts: 40

Re: EFI stub: ERROR: failed to read file. I can't boot!

I'm sorry  Head, but I was pretty sure that windows made a mess with the upgrade/downgrade function... probably your hack would work, but I preferred reinstall Arch next to windows.
Thanks anyway smile

Offline

Board footer

Powered by FluxBB