tips:uefi

This is an old revision of the document!


UEFI

On some UEFI motherboards like boards with an Intel Z77 chipset, adding entries with efibootmgr or bcfg from the EFI Shell will not work because they do not show up on the boot menu list after being added to NVRAM.

This issue is caused because the motherboards can only load Microsoft Windows. To solve this you have to place the .efi file in the location that Windows uses.

Copy the bootx64.efi file from the Arch Linux installation medium (FSO:) to the Microsoft directory your ESP partition on your hard drive (FS1:). Do this 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

change boot order

# show
efibootmgr 

# change 
efibootmgr -o 1,0

force ubuntu on ACER bad

mv EFI/Microsoft/Boot/bootmgfw.efi EFI/Microsoft/Boot/bootmgfw.efi.backup
cp EFI/ubuntu/grubx64.efi EFI/Microsoft/Boot/bootmgfw.efi

</code>

root@sysresccd:/# parted /dev/sda print
Model: ATA ST500LT012-9WS14 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   End    Size    File system     Name                          Flags
 1      1049kB  524MB  523MB   ntfs            Basic data partition          hidden, diag
 2      524MB   839MB  315MB   fat32           EFI system partition          boot
 3      839MB   973MB  134MB                   Microsoft reserved partition  msftres
parted /dev/sda set 1 bios_grub on
  • tips/uefi.1446207033.txt.gz
  • Last modified: 2015/10/30 13:10
  • by scipio