You need this package if you only want to boot in UEFI mode with a USB stick, if you also need
to install Slackware from the USB stick, find your Slackware version here and follow the instruction below.
You need admin privileges with sudo or su.
Check your target device with fdisk -l and create the UEFI GPT partition:
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:
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)
w (write changes)
enter to write changes.
At this poin we have a GPT partition scheme with:
sdx1 (UEFI partition)
sdx2 (Linux partition for installation files)
and its time to format:
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:
mkdir UEFI && mount /dev/sdx1 UEFI
mkdir UEFI/EFI && mkdir UEFI/EFI/BOOT
At the beginning of this page you should have downloaded the required package, copy it
in the same folder you are working in and:
tar xvzf SlackEfiUsbBoot.tar.gz to untar and copy all the stuff with:
cp SlackEfiUsbBoot/* UEFI/EFI/BOOT
then we copy the slackware iso in the second partition with:
dd bs=1M if=/Slackware.iso of=/dev/sdx2
At the end of this, unmount the firts volume with:
remove the thumbdrive you are done.
This thumb drive will boot in UEFI motherboard and you will have the option to install Slackware on that machine.