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?
About this post
- Posted
- Archived
- Score
- 2 · 100% up
- Kind
- Text
- ID
- 375ono
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.
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.
I've never used gummiboot, so I'll take your word for it.
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
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.
did it take you much time?
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
:) 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.
Deleted before we saved it.