You are not logged in.

#1 2013-10-26 14:39:50

FerretBuster
Member
Registered: 2013-10-26
Posts: 44

[SOLVED] UEFI woes

Hi everyone, this is my first post on this account on the forums - however it is not my first time installing arch.

Having installed arch previously a few years ago successfully, a lot seems to have changed and it seems 100x more complicated than before.

Anyway, I am having serious issues trying to install Arch on my ASUS 1215b.

First of all I managed to boot my memory stick in uefi mode once, when I tried my first install. However there were certain things that were not done correctly, and hence I had to start over.

I now am unable to boot Arch Linux in uefi mode from my USB stick, I have tried things all over the internet, and everything in the beginners guide. I have no clue where to go from here - hence why i'm posting.

I think the best approach would be to start over completely with a blank drive again, which I don't mind doing. But not being able to boot in UEFI mode is an issue, because I managed to get to the step in the beginners guide involving bootloaders, but when I tried running the command:

# mount -t efivarfs efivarfs /sys/firmware/efi/efivars  

it couldn't find the mountpoint or something along those lines.

Help me arch community please sad

(I have been at this for 2 days now)

TLDR; How do I reformat my memory stick to enable UEFI booting of the Arch Live CD (Note that I am running windows, and hence must format the memory stick under windows)

Last edited by FerretBuster (2013-11-01 02:07:32)

Offline

#2 2013-10-26 14:51:47

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,222

Re: [SOLVED] UEFI woes

Did you prepare your usb media for uefi boot as per https://wiki.archlinux.org/index.php/Un … B_from_ISO?


Mike C

Offline

#3 2013-10-26 14:56:41

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

Re: [SOLVED] UEFI woes

To create an UEFI bootable memory stick, follow these instructions:
https://wiki.archlinux.org/index.php/UEFI#In_Windows

Offline

#4 2013-10-26 14:58:25

FerretBuster
Member
Registered: 2013-10-26
Posts: 44

Re: [SOLVED] UEFI woes

Yes I formatted it as FAT32, I then extracted the iso to it. And renamed the volume as per the instructions.

One thing worth noting is that i'd been having issues formatting the memory stick in windows device manager, however after wiping the memory stick and reconnecting it I was able to format it using the basic right click format interface.

Offline

#5 2013-10-26 15:11:28

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

Re: [SOLVED] UEFI woes

Can you boot the archiso without UEFI, in legacy BIOS mode?

Offline

#6 2013-10-26 15:47:28

FerretBuster
Member
Registered: 2013-10-26
Posts: 44

Re: [SOLVED] UEFI woes

What's the best way to do that? just extract the iso to a USB stick? There seem to be several ways on the wiki... Or should I just use the win32diskimager program

Offline

#7 2013-10-26 15:52:00

FerretBuster
Member
Registered: 2013-10-26
Posts: 44

Re: [SOLVED] UEFI woes

Well i just extracted the contents of the iso to my usb stick formatted with fat32. I then booted off of it, and an error message popped up saying "Failed to install override security policy: (14) Not Found", which I then pressed OK to. And it gave me a message saying isolinux.bin is missing or corrupt. Reboot or select proper boot device.

Offline

#8 2013-10-26 15:57:10

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,222

Re: [SOLVED] UEFI woes

FerretBuster wrote:

What's the best way to do that? just extract the iso to a USB stick? There seem to be several ways on the wiki... Or should I just use the win32diskimager program

See https://wiki.archlinux.org/index.php/US … On_Windows


Mike C

Offline

#9 2013-10-26 16:12:32

FerretBuster
Member
Registered: 2013-10-26
Posts: 44

Re: [SOLVED] UEFI woes

Using win32 disk imager to put the iso on usb now. will post results soon

Offline

#10 2013-10-26 16:17:51

FerretBuster
Member
Registered: 2013-10-26
Posts: 44

Re: [SOLVED] UEFI woes

Ok it seems the legacy mode works. How would I go about configuring it then? Considering my laptop uses uefi

Offline

#11 2013-10-26 16:20:37

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: [SOLVED] UEFI woes

teateawhy wrote:

Can you boot the archiso without UEFI, in legacy BIOS mode?

If you can do this, you can work around not being able to boot in UEFI mode. Although slightly more complicated, there are several ways of doing this. I think the simplest is probably to copy you EFI application to EFI/boot/bootx64.efi on your EFI partition. This is the "fall back" position and your firmware will very likely be able to boot this without your having set an EFI menu entry. Once booted in EFI mode, you can then add the menu entry. Note that because you've got Windows installed, you may need to use your firmware's boot menu to pick the hard drive in order to get this to work - I'm not sure as I don't use Windows but this would make sense.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#12 2013-10-26 16:21:38

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: [SOLVED] UEFI woes

FerretBuster wrote:

Well i just extracted the contents of the iso to my usb stick formatted with fat32. I then booted off of it, and an error message popped up saying "Failed to install override security policy: (14) Not Found", which I then pressed OK to. And it gave me a message saying isolinux.bin is missing or corrupt. Reboot or select proper boot device.

You need to disable SecureBoot in your BIOS.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#13 2013-10-26 16:30:27

FerretBuster
Member
Registered: 2013-10-26
Posts: 44

Re: [SOLVED] UEFI woes

Just to clarify, i'm not actually using windows on the netbook, i'm using windows on my desktop to format the memory stick. Also there doesn't seem to be an option to disable secureboot in my BIOS.

EDIT: There is definitely nothing about secureboot in my BIOS

Last edited by FerretBuster (2013-10-26 16:50:27)

Offline

#14 2013-10-26 17:14:10

FerretBuster
Member
Registered: 2013-10-26
Posts: 44

Re: [SOLVED] UEFI woes

I think the simplest is probably to copy you EFI application to EFI/boot/bootx64.efi on your EFI partition. This is the "fall back" position and your firmware will very likely be able to boot this without your having set an EFI menu entry. Once booted in EFI mode, you can then add the menu entry. Note that because you've got Windows installed, you may need to use your firmware's boot menu to pick the hard drive in order to get this to work - I'm not sure as I don't use Windows but this would make sense.

I don't quite understand what you mean by this, do you mean the EFI partition I would have to create on my hard drive?

Offline

#15 2013-10-26 18:08:45

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: [SOLVED] UEFI woes

Yes. You basically follow all the steps to install but the creation of the menu entry will fail. So you copy the installed efi application to that position and your computer will very likely reboot using that application. Once booted, you can then add the menu entry as you'll then be booted in EFI mode.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#16 2013-10-26 18:25:14

FerretBuster
Member
Registered: 2013-10-26
Posts: 44

Re: [SOLVED] UEFI woes

Well if it's any help I actually got to the bootloader installation part of the install before, but as I said when I ran the command

# mount -t efivarfs efivarfs /sys/firmware/efi/efivars  

I was unable to mount efivarfs as efivars didn't exist

Last edited by FerretBuster (2013-10-26 18:26:14)

Offline

#17 2013-10-26 18:28:20

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

Re: [SOLVED] UEFI woes

FerretBuster wrote:

Well if it's any help I actually got to the bootloader installation part of the install before, but as I said when I ran the command

# mount -t efivarfs efivarfs /sys/firmware/efi/efivars  

I was unable to mount efivarfs as efivars didn't exist

/sys/firmware/efi/efivars directory will exist only if you have booted in UEFI mode. Otherwise even /sys/firmware/efi/ will not exist.

EDIT: You can also try creating a entry using UEFI Shell v2 "bcfg" command https://wiki.archlinux.org/index.php/Un … rface#bcfg .

Last edited by the.ridikulus.rat (2013-10-26 18:49:11)

Offline

#18 2013-10-26 18:37:56

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: [SOLVED] UEFI woes

FerretBuster wrote:

Well if it's any help I actually got to the bootloader installation part of the install before, but as I said when I ran the command

# mount -t efivarfs efivarfs /sys/firmware/efi/efivars  

I was unable to mount efivarfs as efivars didn't exist

The only bit you need this for is creating the menu entry. Do everything else, copy the .efi application to the default location and your computer will very likely reboot using that fallback. When you reboot, that command will work and you can create the menu entry.

If you use e.g. gummiboot's automated install or grub-install, you'll get an error when it can't create the menu entry. That's OK. It will do everything else. In particular, the .efi application will get created and installed on the EFI partition. Just copy it to the fallback position, reboot and then deal with efivars and create the menu entry.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#19 2013-10-26 19:21:46

FerretBuster
Member
Registered: 2013-10-26
Posts: 44

Re: [SOLVED] UEFI woes

cfr wrote:
FerretBuster wrote:

Well if it's any help I actually got to the bootloader installation part of the install before, but as I said when I ran the command

# mount -t efivarfs efivarfs /sys/firmware/efi/efivars  

I was unable to mount efivarfs as efivars didn't exist

The only bit you need this for is creating the menu entry. Do everything else, copy the .efi application to the default location and your computer will very likely reboot using that fallback. When you reboot, that command will work and you can create the menu entry.

If you use e.g. gummiboot's automated install or grub-install, you'll get an error when it can't create the menu entry. That's OK. It will do everything else. In particular, the .efi application will get created and installed on the EFI partition. Just copy it to the fallback position, reboot and then deal with efivars and create the menu entry.

Ok great I will try that now, however I don't understand what you mean by copying the .efi application to the default location. Do you mean copy a .efi file from my memory stick, to the efi partition I am meant to make?

If so where do I find the .efi application and where is this default location?

Offline

#20 2013-10-26 19:32:40

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: [SOLVED] UEFI woes

No. When you install your boot loader or manager, it will write an .efi file to your EFI partition e.g. grub would write grubx64.efi, rEFInd would write refind_x64.efi and so on. You copy that file to EFI/boot/bootx64.efi, together with any necessary files. For grub, you'd just copy the grubx64.efi to bootx64.efi. For rEFInd, you'd copy everything in the rEFInd directory to EFI/boot/ and rename refind_x64.efi to bootx64.efi, and so on. Whatever your chosen boot loader or manager needs, you copy it to that directory and rename the copy of the main EFI application to bootx64.efi.

Last edited by cfr (2013-10-26 19:33:19)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#21 2013-10-26 23:10:54

FerretBuster
Member
Registered: 2013-10-26
Posts: 44

Re: [SOLVED] UEFI woes

As gummiboot is the boot manager used in the beginners guide, I assume this method would work with that too? Or do I have to use grub or rEFInd

Offline

#22 2013-10-26 23:21:48

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

Re: [SOLVED] UEFI woes

I use all of them, and they all work fine.  I personally really like gummiboot because of its simplicity, both in its interface and in its configuration.  But I know there are others out there who like the autocreation of the grub configuration and also the pretty interface that rEFInd has.

Gummiboot uses a simple directory structure for configuration, which IMO makes things amazingly straight forward.  But UEFI also allows for as many bootloaders as you want, so you can set one up and try another as you please.  If you find a different one tha you like, you can just set that as the default.

Offline

#23 2013-10-26 23:36:52

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: [SOLVED] UEFI woes

FerretBuster wrote:

As gummiboot is the boot manager used in the beginners guide, I assume this method would work with that too? Or do I have to use grub or rEFInd

gummiboot is fine. I just gave grub and rEFInd as examples as those are what I happen to have installed so I know exactly what you'd copy where. If you're using gummiboot, just copy the relevant stuff to /boot/EFI/boot/ and the gummiboot .efi application to /boot/EFI/boot/bootx64.efi. (I don't know if gummiboot has extra files you need to copy so you'll have to figure that out - or just copy whatever it installs as it won't really matter if they are unnecessary.)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#24 2013-10-27 00:12:38

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

Re: [SOLVED] UEFI woes

See here for gummiboot setup.  It is really very easy.
http://freedesktop.org/wiki/Software/gummiboot

Offline

#25 2013-10-27 00:20:00

FerretBuster
Member
Registered: 2013-10-26
Posts: 44

Re: [SOLVED] UEFI woes

ok noob question. I didn't initially connect my ethernet cable when I started archiso, but now if I connect it how do I bring the service up to use it?

Offline

Board footer

Powered by FluxBB