*Using the arrow keys, move to the 'exit' menu and drop down to the EFI shell you just downloaded and copied to three places.

+

*Using the arrow keys, move to the 'exit' menu and drop down to the EFI shell.

−

* You will need to add an entry to your boot menu manually. Below is an example, see the [[UEFI#Launching UEFI Shell]] article for more. Below is an example added a new entry to a menu with 3 current entries.

+

*Add an entry for Arch to the menu. Below is an example, see the [[UEFI#Launching UEFI Shell]] article for more.

Contents

Apple Mac EFI systems

Generic Macs

Use bless command from within Mac OS X to set grubx64.efi as the default boot option. You can also boot from the Mac OS X install disc and launch a Terminal there if you only have Linux installed. In the Terminal, create a directory and mount the EFI System Partition:

# cd /Volumes
# mkdir efi
# mount -t msdos /dev/disk0s1 /Volumes/efi

Then run bless on grub.efi and on the EFI partition to set them as the default boot options.

Asus

Z68 Family and U47 Family

# cp /boot/efi/EFI/arch_grub/grubx64.efi /boot/efi/shellx64.efi

After this launch the UEFI Shell from the UEFI setup/menu (in ASUS UEFI BIOS, switch to advanced mode, press Exit in the top right corner and choose "Launch EFI shell from filesystem device"). The GRUB2 menu will show up and you can boot into your system. Afterwards you can use efibootmgr to setup a menu entry, for example if you have the uefi partition in /dev/sda1: (read Unified_Extensible_Firmware_Interface)

where fs1 is the mapping corresponding to the UEFI System Partition and \EFI\arch_grub\grubx64.efi is the the from the --bootloader-id from the grub-install command above.

This will temporarily add a UEFI boot option for the next boot to get into Arch. Once in Arch, modprobe efivars and confirm that efibootmgr creates no errors (no errors meaning you successfully booted in UEFI mode). Then Grub2#Install_to_UEFI_SYSTEM_PARTITION can be performed again and should successfully permanently add a boot entry in the UEFI menu.

P8Z77 Family

Boot to live media and chroot into the target system.

Make sure that a 100 MB fat32 partition is marked as "EFI System" (gdisk terminology).

The reason that we need this shell application is that the efibootmgr command will fail silently during grub-install.

After this launch the UEFI Shell from the UEFI setup/menu (in ASUS UEFI BIOS, switch to advanced mode, press Exit in the top right corner and choose "Launch EFI shell from filesystem device"). The UEFI shell will show up. From here we need to add our GRUB UEFI app to the bootloader.

Shell> bcfg boot add 3 fs0:\EFI\Arch_Grub\grubx64.efi "Arch_Grub"

where fs0 is the mapping corresponding to the UEFI System Partition and 3 is the zero based boot entry index.

To list the current boot entries you can run:

Shell> bcfg boot dump -v

Intel

S5400 Family

This board can run in BIOS or in EFI mode. BIOS mode requires an MBR-partitioned hard drive, EFI a GPT hard drive. Please note that this board operates on the Intel EFI v1.10 specification, and is i386 only. The normal procedure for UEFI installation can be followed, with the exception of the following changes.

Instead of using the grub-efi-x86_64 package, grub-efi-i386 has to be used

The bcfg command is not available for pre-UEFI (v2.0) firmware. A startup.nsh file can be used on the root of the EFI partition containing the path to the bootloader. For example:

fs0:\EFI\arch_grub\boot.efi
has to be placed in the startup.nsh file on the root of the EFI partition.

The grub.cfg file has to be placed in the same directory as the grub EFI file, otherwise grub will not find it and enter the interactive shell