You are not logged in.

#1 2013-04-22 04:39:42

AlecB
Member
Registered: 2013-01-26
Posts: 114

EFI Boot Fails

I'm setting up a fresh Arch installation, and I'm using EFISTUB as a bootloader. I finished the installation, and tried to boot into the new installation, but I received

Reboot and Select proper Boot device 
Or Insert Boot Media in selected Boot device and press any key

What went wrong? I'd like to post more info, but I don't know what to give.

Thanks


I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
C. S. Lewis

Offline

#2 2013-04-22 05:37:27

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: EFI Boot Fails

Apparently you did not set up UEFI quite right.  I think that is your machines firmware maybe?  You don't go through a bootloader or boot manager at all, or see any kind of kernel loading do you?

Try loading a boot manager (like gummiboot or rEFInd) at \EFI\boot\bootx64.efi then choosing that particular drive to boot from (like you would with te old bios system).  With those loaders mentioned, you are still using efistub to boot the system, but the kernel arguments and whatnot are just way easier to configure... though I guess I am assuming here that by "I'm using EFISTUB" that you are using a direct efibootmgr entry.

Maybe it would be better if you gave more explanation as to what you have done exactly so far that has provided this result.

Offline

#3 2013-04-22 07:54:48

wirr
Member
Registered: 2009-10-25
Posts: 70

Re: EFI Boot Fails

Thats what I looked at the whole saturday..

Did you run the efibootmgr command?

If you boot from USB, you have to enable EFI on your live system to use this command successfull.

Offline

#4 2013-04-22 16:09:58

AlecB
Member
Registered: 2013-01-26
Posts: 114

Re: EFI Boot Fails

When I start up the computer, I get the option to boot from the hard drive or \EFI\refind\refind\_x64.efi. I get that error message after that.  When I said I was using EFISTUB, I meant that I'm setting it up as per the Beginners' Guide.

How do you enable EFI on the live system? Sounds like that could be my problem, although I'm attempting to boot from the hard drive for the first time. I did do the install from a USB, though.


I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
C. S. Lewis

Offline

#5 2013-04-22 17:41:42

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: EFI Boot Fails

If you have enabled UEFI in the bios settings, the live system will start in UEFI mode as well.
To check use these commands from the live system after booting:
modprobe efivars
ls -1 /sys/firmware/efi/vars

Last edited by teateawhy (2013-04-22 17:41:58)

Offline

#6 2013-04-22 17:49:00

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: EFI Boot Fails

AlecB wrote:

I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
C. S. Lewis

Christianity is an absctract and conceptual entity. You can not see it.

Offline

#7 2013-04-22 17:51:05

AlecB
Member
Registered: 2013-01-26
Posts: 114

Re: EFI Boot Fails

When I run those commands, I get a long list in blue.


I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
C. S. Lewis

Offline

#8 2013-04-22 17:54:25

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: EFI Boot Fails

That means UEFI boot was succesful.

Offline

#9 2013-04-22 17:57:12

AlecB
Member
Registered: 2013-01-26
Posts: 114

Re: EFI Boot Fails

And about the quote, when I say I "see" Christianity, I mean "see" in the metaphorical sense, that is, I see that the only way that the world can make sense is to attribute its creation to a supernatural, caring, being. I can discuss theology with you all day, but I doubt that is your intent, or the purpose of this forum smile


I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
C. S. Lewis

Offline

#10 2013-04-22 17:58:02

AlecB
Member
Registered: 2013-01-26
Posts: 114

Re: EFI Boot Fails

Then I wonder why I can't boot from the hard drive? Odd...


I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
C. S. Lewis

Offline

#11 2013-04-22 18:06:05

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: EFI Boot Fails

AlecB wrote:

And about the quote, when I say I "see" Christianity, I mean "see" in the metaphorical sense, that is, I see that the only way that the world can make sense is to attribute its creation to a supernatural, caring, being. I can discuss theology with you all day, but I doubt that is your intent, or the purpose of this forum smile


This is the surest way to get a thread closed: discussion of religion is expressly off topic
https://wiki.archlinux.org/index.php/Fo … ial_Topics


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#12 2013-04-22 19:22:51

AlecB
Member
Registered: 2013-01-26
Posts: 114

Re: EFI Boot Fails

Sorry, I didn't know. I'll make sure to read that article.  About the EFI booting, though, does anyone know why my motherboard wouldnt recognize EFISTUB? I'm using an Asrock H67m motherboard, by the way.


I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
C. S. Lewis

Offline

#13 2013-04-22 21:13:02

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: EFI Boot Fails

With UEFI, you don't "boot from that hard drive" in the sense that you would have with legacy bios.  Rather you boot from a nvram entry, which is what efibootmgr creates.  So if you are choosing what to boot from and you choose the drive itself, unless you have an ESP with something at \EFI\boot\bootx64.efi, it will not boot anything.

Also, I see you mention something about "\EFI\refind\refind\_x64.efi", is that a typo, or is there really that extra backslash between refind and _x64.efi?  That shouldn't be there.

What is the output of

# efibootmgr -v 

Offline

#14 2013-04-22 21:34:32

AlecB
Member
Registered: 2013-01-26
Posts: 114

Re: EFI Boot Fails

Nope, no extra backslash. I just made a typo, because I'm writing this from my phone smile   And

 efibootmgr -v

  Gives a bunch of data. Want me to type it all out, or is there something specific you're looking for?


I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
C. S. Lewis

Offline

#15 2013-04-23 04:08:34

AlecB
Member
Registered: 2013-01-26
Posts: 114

Re: EFI Boot Fails

Here's everything that

efibootmgr -v

Gives:

BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0000,0003,0001,0002
Boot0000*  \EFI\refind\refind_x64.efi    HD(3,e603800,200000,4f30641e-cb6d-480a-895d-d349710fb093)File(\EFI\redhat\grub.efi)  Boot0001* Hard Drive      BIOS(2,0,00)AMGOAMNO........m.S.A.M.S.U.N.G .H.D.6.4.2.J.J.................................A..................................                  .>..Gd-.;.A..MQ..L........1.S.N.J.1.Q.K.0.7.2.7.9.8......AMBO
Boot0003* USB   BIOS(5,0,00)AMGOAMNO.........o.P.N.Y.   .U.S.B   .2...0. .F.D.  .1.1.0.0...................................A..........................
........<..Gd-.;.A..MQ..L.P.N.Y.  .U.S.B.  .2...0. .F.D. .1.1.0.0........AMBO
Boot0003 UEFI:  PNY USB 2.0 FD 1100         ACPI(a0341d0,0)PCI(1d,0)USB(8,0)HD(1,3f,1df3682,b631da4f)AMBO

I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
C. S. Lewis

Offline

#16 2013-04-23 10:34:19

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: EFI Boot Fails

The Boot Entry 0000 contains a possibly wrong line, unless your grub.efi file is stored in the 'redhat' directory.

File(\EFI\redhat\grub.efi)

Offline

#17 2013-04-23 15:04:35

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: EFI Boot Fails

To ass to teateawhy's coment above, that is unless you stored rEFInd in \EFI\redhat and then named it grub.efi... you're calling the wrong thing, and potentially something that is not actually there.

Offline

#18 2013-04-23 16:52:15

AlecB
Member
Registered: 2013-01-26
Posts: 114

Re: EFI Boot Fails

Hmm, that's odd. Where are the files located that I should change?


I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
C. S. Lewis

Offline

#19 2013-04-23 20:47:36

AlecB
Member
Registered: 2013-01-26
Posts: 114

Re: EFI Boot Fails

How easy do you think it would be to change the filepath? I'm very new to linux, so I'm considering reinstalling Arch in order  to avoid confusion. Advice? Thanks!

Last edited by AlecB (2013-04-23 20:47:59)


I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
C. S. Lewis

Offline

Board footer

Powered by FluxBB