Difference between revisions of "UEFI Bootloaders"

From ArchWiki
Jump to: navigation, search
(Linux Kernel EFISTUB: Move to its own page.)
m (Fix)
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Boot loaders]]
+
#REDIRECT [[Boot Loaders]]
[[ja:UEFI Bootloaders]]
+
[[zh-CN:UEFI Bootloaders]]
+
This page contains info about various [[UEFI]] Bootloaders capable of booting Linux kernel. It is recommended to read the [[UEFI]] and [[GPT]] pages before reading this page. The following [[Boot Loader|bootloaders]] are explained here:
+
 
+
== Linux Kernel EFISTUB ==
+
 
+
See [[EFISTUB]].
+
 
+
== GRUB 2.xx ==
+
 
+
GRUB 2.x contains its own filesystem drivers and does not rely on the firmware to access the files. It can directly read files from {{ic|/boot}} and does not require the kernel and initramfs files to be in the UEFISYS partition. Detailed information at [[GRUB#UEFI_systems_2]]. For bzr development version try AUR package - {{AUR|grub-bzr}}.
+
 
+
== SYSLINUX 6.xx ==
+
 
+
Install {{Pkg|syslinux}} (from [testing]) or {{AUR|syslinux-firmware-git}} AUR package and copy {{ic|/usr/lib/syslinux/efi64/*}} to {{ic|$esp/EFI/syslinux/}} ({{ic|$esp}} is the mountpoint of UEFISYS partition) ({{ic|efi64}} is for x86_64 UEFI firmwares, replace with {{ic|efi32}} for ia32 UEFI firmwares), and then create a boot entry using efibootmgr in the firmware boot manager.
+
 
+
== ELILO ==
+
 
+
ELILO is the UEFI version of LILO Boot Loader. It was originally created for Intel Itanium systems which supported only EFI 1.x (precursor to UEFI 2.x). It is the oldest UEFI bootloader for Linux. Elilo config file {{ic|elilo.conf}} is similar to [[LILO]]'s config file. ELILO does not support chainloading other EFI applications. and does not provide a menu by default (setting up requires additional configuration as described in {{ic|elilo/docs/textmenu_chooser.txt}} file. Upstream provided compiled binaries are available at http://sourceforge.net/projects/elilo/ and AUR package at {{AUR|elilo-efi}}.
+
 
+
{{Warning|1=ELILO upstream has clarified that it is no longer in active development, meaning no new features will be added and only bug-fixes are released. See https://sourceforge.net/mailarchive/message.php?msg_id=31524008 for more info.}}
+
 
+
== Troubleshooting ==
+
{{Poor writing|This troubleshooting note has been transferred from [[Beginners' Guide]] as discussed on the talk page. It is not yet well integrated here and is rather selective in terms of the help provided.}}
+
 
+
* On some UEFI motherboards like the Intel Z77 boards, adding entries with efibootmgr or bcfg from efi shell will not work because they don't show up on the boot menu list after being added to NVRAM.
+
 
+
:To solve this you have to trick the UEFI firmware that Windows boot manager is present on the ESP partition.
+
 
+
:Copy the bootx64.efi file from USB drive as bootmgfw.efi efi file to your ESP partition by booting into EFI shell and typing:
+
 
+
FS1:
+
cd EFI
+
mkdir Microsoft
+
cd Microsoft
+
mkdir Boot
+
cp FS0:\EFI\BOOT\bootx64.efi FS1:\EFI\Microsoft\Boot\bootmgfw.efi
+
 
+
:After reboot, any entries added to NVRAM should show up in the boot menu.
+
 
+
== See also ==
+
 
+
* [http://www.rodsbooks.com/efi-bootloaders/ Rod Smith - Managing EFI Boot Loaders for Linux]
+
* [http://www.rodsbooks.com/refind/ Rod Smith - rEFInd, a fork or rEFIt]
+
* [https://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob_plain;f=Documentation/x86/efi-stub.txt;hb=HEAD Linux Kernel Documentation on EFISTUB]
+
* [http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=291f36325f9f252bd76ef5f603995f37e453fc60;hp=55839d515495e766605d7aaabd9c2758370a8d27 Linux Kernel EFISTUB Git Commit]
+
* [http://www.rodsbooks.com/efi-bootloaders/efistub.html Rod Smith's page on EFISTUB]
+
* [http://www.rodsbooks.com/refind/linux.html rEFInd Documentation for booting EFISTUB Kernels]
+

Revision as of 11:54, 24 October 2013

Redirect to: