Bug #917
Convert Grub BIOS Bootloader To UEFI Bootloader
Description
I recently installed Antergos onto a MicroSD card on a STCK1A8LFC and the GUI installer failed to install the UEFI partition properly and defaulted to the BIOS bootloader. Since the STCK1A8LFC only boots using UEFI mode, I needed to fix my installation.
Prepare the Partition¶
- To start, make sure the system is booted up to live environment.
- Since the installer already created the partition, but failed to assign it the proper type, run fdisk and check the type to an EFI System:
fdisk /dev/mmcblk2 t 1 1 w
- Then format the EFI partition to FAT32:
mkfs.fat -F32 /dev/mmcblk2p1
Install Grub UEFI¶
- Mount the system partition that contains /boot :
mount /dev/mmcblk2p2 /mnt
- Mount the EFI partition:
mkdir /mnt/boot/efi mount /dev/mmcblk2p1 /mnt/boot/efi
- Install grub efi:
grub-install --target=x86_64-efi --efi-directory=/mnt/boot/efi --boot-directory=/mnt/boot --removable --recheck
- Unmount and reboot:
umount /mnt/boot/efi
umount /mnt/boot
reboot
h2. Resources
Updated by Daniel Curtis almost 7 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100