You are not logged in.

#1 2016-07-05 20:34:33

tomsargeaunt
Member
Registered: 2014-02-04
Posts: 24

Grub issue UEFI

Hi,

I'm trying to install arch onto a new Acer Aspire E17 laptop for a friend who (for whatever reason) wants to dual boot with windows 10. I've finished the installation but the system won't boot. it just boots Windows without any sign of grub.

Commands I have run when I installed the bootloader:

# grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub
# grub-mkconfig -o /boot/grub/grub.cfg

I have also tried backing up all windows files from the ESP and deleting them, then just sticking the linux files on the boot partition, however, the system still doesn't boot arch and just says that there is no bootable medium. Could there be something about UEFI on this Asus laptop which needs slightly different config?

Appreciate any help you can give!

Last edited by tomsargeaunt (2016-07-06 12:34:38)

Offline

#2 2016-07-05 20:55:57

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,778
Website

Re: Grub issue UEFI

Try https://wiki.archlinux.org/index.php/UE … boot_order

I'm trying to install arch onto a new Asus Aspire E17 laptop for a friend

That is not a good idea.

If your friend cannot install Arch themselves then they should not use Arch.

Last edited by Head_on_a_Stick (2016-07-05 20:56:13)


Jin, Jîyan, Azadî

Offline

#3 2016-07-05 21:02:37

tomsargeaunt
Member
Registered: 2014-02-04
Posts: 24

Re: Grub issue UEFI

All my family's computers run arch. I just set them up so they don't break anything wink and for the last 3 or so years it's been working out a damn site better than any other distro. But anyway, besides questioning my decisions and pushing the standard "arch is for elite linux users only" line, have you got ideas why grub doesn't work...

Offline

#4 2016-07-05 21:03:23

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,778
Website

Re: Grub issue UEFI

tomsargeaunt wrote:

have you got ideas why grub doesn't work...

Read my link.


Jin, Jîyan, Azadî

Offline

#5 2016-07-05 21:31:51

tomsargeaunt
Member
Registered: 2014-02-04
Posts: 24

Re: Grub issue UEFI

Thanks, I'll have a play around with efibootmgr in a sec and try and get it to explicitly boot the grubx64.efi file. I do find it odd though that it still won't boot if I take all windows files off the ESP.

Offline

#6 2016-07-05 21:47:26

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,778
Website

Re: Grub issue UEFI

tomsargeaunt wrote:

I do find it odd though that it still won't boot if I take all windows files off the ESP.

It should load up if you copy the GRUB .efi loader to $ESP/EFI/Microsoft/Boot/bootmgfw.efi

EDIT: If this is the case, perhaps file a complaint with your motherboard manufacturer -- UEFI firmware is supposed to boot $ESP/EFI/BOOT/BOOT{X64,IA32}.EFI as well as the Windows bootloader.

Last edited by Head_on_a_Stick (2016-07-05 21:49:09)


Jin, Jîyan, Azadî

Offline

#7 2016-07-05 22:33:07

tomsargeaunt
Member
Registered: 2014-02-04
Posts: 24

Re: Grub issue UEFI

Head_on_a_Stick wrote:

It should load up if you copy the GRUB .efi loader to $ESP/EFI/Microsoft/Boot/bootmgfw.efi

You're right, thanks!!! Doing this boots the system. Now to find a way to boot both...

Offline

#8 2016-07-06 21:10:05

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,778
Website

Re: Grub issue UEFI

tomsargeaunt wrote:

Now to find a way to boot both...

Did you try booting your Windows system and setting the GRUB .efi loader as the default boot option by running this command with Administrator privileges:

bcdedit /set {bootmgr} path \EFI\BOOT\BOOTX64.EFI

The above command uses the default .efi loader, check the path to all of your available .efi loaders with this command (in your Arch system):

# bootctl

Jin, Jîyan, Azadî

Offline

Board footer

Powered by FluxBB