Skip to content

First time with UEFI. Care to point me in the right direction?

I've just gotten a new laptop and this is the first time I've had to deal with installing (Arch) Linux on UEFI. I (think I have) followed all the instructions on the wiki accurately, but whatever I do, the system just boots back into Windows after post.

Furthermore, I have the following doubts:

  • This laptop came with an OEM installation of Windows 8.1. That means /dev/sda2 is a 250 something MB EFI partition. Should I just mount this as /boot/efi before generating the fstab?
  • Gummiboot installed without error and I created an arch.conf and loader.conf. Do I need to point something to it? Is GRUB better for this kind of thing?
  • Once again, the laptop simply boots into Windows after finishing the install.

P.s. This is an HP Pavilion 15-AB032tx. Does HP stuff require additional blood sacrifice before functioning?

2 points9 comments
Open on Reddit
About this post
Posted
Archived
Score
2 · 100% up
Kind
Text
ID
375ono

Author

10
posts
48
comments
2
media
View profile

10 comments

Yes, mount that partition to /boot/efi . Gummiboot should work, but I've personally never used it.

For a graphical boot menu, check out refind(it's themeable, if you don't like how it looks). If you just want to boot straight into arch, check out efibootmgr. Should be on the main arch repos.

4 points

If he wants to use gummiboot he should mount his efi partion at /boot, cause gummiboot needs to read the ELF image from the cause it can't acces /boot.

5 points

I've never used gummiboot, so I'll take your word for it.

3 points

This is true. Gummiboot kept giving me /vmlinuz-linux not found. So I copied the kernel image and initramfs to /boot/efi and the system booted properly.

The wiki even gives you ways to keep the images in sync should the efi partition not be mounted as root here: https://wiki.archlinux.org/index.php/EFISTUB

1 points

Thank you.

It seems that the HP BIOS overrules the bootloader order setting that efi bootloaders go for. As soon as I changed that separately, it allowed me to boot into my Arch install. Fist shaking at the sky averted.

1 points

The wiki is great on this subject for grub. Maybe you can get tge gist and replace the grub bits with gummiboot.

https://wiki.archlinux.org/index.php/GRUB#UEFI_systems

2 points

:) Thanks.

I figured it out though. It works as long as the BIOS doesn't override the efi boot order set by linux. That and different bootloaders look for kernel images in different places.

I have to say the wiki is strangely ambiguous on dual booting with OEM installs.

1 points
unknown author

Deleted before we saved it.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.