If you cannot tweak your BIOS to
"UEFI Only" here is a solution which
"forces" the Slackware installer to start in UEFI mode and offer the ELILO option. It works only if you
install Slackware from a USB stick and is based around the idea of slightly modifying the usb stick "creation" process. You create 2 partitions on the stick -- one small EFI partition for a UEFI boot loader and one big Linux partition for the Slackware ISO. Step by step instructions for Slackware 14.2 64-bit follow. They are based on
this article. The approach offered here is less general but uses binaries from the official ISO only. It should work for other ISOs too.
You need admin privileges with sudo or su.
Check your usb stick target device with fdisk -l and create the UEFI GPT partition:
Code:
n for new
1 partinion 1
enter on default start sector
+100M for partition length
ef00 as a partition code
Now we will create the Linux installation partition:
Code:
n for new
2 (second partition)
enter on default starting sector
enter on ending starting sector, that means we will use all the remaining space of the HDD
8300 as a partition code (Linux)
Code:
w (write changes)
enter to write changes.
At this point we have a GPT partition scheme with:
sdx1 (UEFI partition)
sdx2 (Linux partition for installation files)
and it's time to format:
Code:
mkfs.vfat /dev/sdx1 (this will format in FAT32 the UEFI partition)
mkfs.ext4 /dev/sdx2 (this will format in EXT4 the Linux partition)
Now that we have the 'containers', we have to mount the UEFI partition on a local folder:
Code:
mkdir UEFI && mount /dev/sdx1 UEFI
mkdir -p UEFI/EFI/BOOT
Now we copy the usb stick boot loader from the ISO. First we mount the iso:
Code:
mkdir sl-14.2
mount -o loop isos/slackware64-14.2-iso/slackware64-14.2-install-dvd.iso sl-14.2
Then we copy the boot loader:
Code:
cp sl-14.2/EFI/BOOT/bootx64.efi UEFI/EFI/BOOT/BOOTX64.EFI
Note that we copied it under a different name (all upper caps.)
Next we copy the whole iso with the 'dd' command
Code:
dd if=isos/slackware64-14.2-iso/slackware64-14.2-install-dvd.iso of=/dev/sdx2
And we are ready with the installation stick. When we boot from it, the EFI boot loader in /dev/sdx1 will automatically detect the slackware installer in /dev/sdx2 and will offer a GRUB menu with three entries. Select the first one and the slackware installer will be started in "UEFI-aware" mode.