I have dualboot system - Slackware and Windows 10.
After upgrade from Windows 8.1 to Windows 10 I lost my Slackware boot entry in UEFI Bios boot menu.
Probably it's because some years ago Windows 8 installer moved efi partition from /dev/sda1 to /dev/sda2.
Anyway Asrock BIOS don't recognize it.
Below is solution for Slackware64
1. make Slackware64 USB bootstick by README_USB.TXT
2. boot computer from abowe USB - You MUST to choose "UEFI USB boot" from BIOS menu
3. mount Slackware root partition, by example for /dev/sda8 it is
Code:
mount /dev/sda8 /mnt
4. chroot to Slackware root partition
5. mount /proc
6. load modules
7. exit from chroot
8. run efibootmgr to add Slackware entry, if your efi partition is /dev/sda2 then it is
Code:
/mnt/usr/sbin/efibootmgr -c -L "Slackware" -l "\EFI\SLACKWARE\ELILO.EFI" -p /dev/sda2
9. reboot system
Tadam!