UEFI and Adelie / Alpine
so after a lot of trouble with the 1.0-RC2 image, just to get an installed system i had to revert back to ArchLinux style manual install..
anyway to make a long story short, there Quick-Start-Guide Bootloader is no Bootloader entry for UEFI Bootloading.
so we need to add a few things to this page..
Add:
Before Mounts we need to install some stuff on the temporary-live-system
- apk add efibootmgr grub-efi
- modprobe efivarfs (should been loaded by apk install but just in case..)
- run efibootmgr to check if it can list the EFI Bootlist.. (says 'UEFI variables are not supported on this machine.' if anything is wrong.. or list the info if all is good.)
Before Chroot into new install, we do the regular stuff, mount needed filesystems..
- mount -B /dev /target/dev
- mount -t proc none /target/proc
- mount -t sysfs none /target/sys
- mount -t efivarfs none /target/sys/firmware/efi/efivars [only needed if UEFI]
In the bootloader cluster of items [Mac, Non-Mac]
add BIOS/UEFI to Non-Mac
Modify Bootloader (non-Macintosh)
before:
Bootloader (non-Macintosh)
- Set up the bootloader (GRUB), which may be a different partition in your setup. Skip this section for Macintosh hardware.
apk add grub grub-bios
grub-mkconfig -o /boot/grub/grub.cfg
grub-install --boot-directory=/boot /dev/sda
after:
Bootloader BIOS (non-Macintosh)
- Set up the BIOS Bootloader (GRUB), which may be a different partition in your setup. Skip this section for Macintosh hardware. or UEFI Hardware
apk add grub grub-bios
grub-mkconfig -o /boot/grub/grub.cfg
grub-install --boot-directory=/boot /dev/sda
Bootloader UEFI (non-Macintosh)
- Set up the UEFI Bootloader (GRUB), which may be a different partition in your setup. Skip this section for Macintosh hardware. or BIOS Hardware
apk add grub grub-efi
grub-mkconfig -o /boot/grub/grub.cfg
mkdir /efi
grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=GRUB
there still might be a few gremlins here, but i add this now so i can remember what i did.
initially got 3 UEFI systems to test UEFI installs on so as time progresses i might have time to create the updates myself.