Running Slackware with UEFI Support I used a modified Slackbuild https://git.sr.ht/~r1w1s1/slackbuilds/tree/main/item/qemu/build We need to add the user into a kvm group usermod -aG kvm r1w1s1 The idea is to test new settings but also use them to build my slackbuilds. Creating a VM qemu-img create -f raw slackware.raw 20G You need a adicional package from slackbuilds.org https://slackbuilds.org/repository/15.0/system/edk2-ovmf/ Install Slackware with UEFI Support qemu-system-x86_64 \ -machine q35,accel=kvm \ -boot menu=on \ -m 2G \ -cpu max \ -smp 2 \ -cdrom /home/r1w1s1/VMs/ISOs/slackware64-current-install-dvd.iso \ -drive file=/home/r1w1s1/VMs/slackware.raw,format=raw \ -bios /usr/share/edk2-ovmf-x64/OVMF_CODE.fd Do not install Lilo and run the below commands before restart the installation chroot /mnt source /etc/profile grub-install mkdir -p /boot/efi/EFI/BOOT cp /boot/efi/EFI/slackware-15+/grubx64.efi /boot/efi/EFI/BOOT/Bootx64.efi geninitrd update-grub grub-install --removable Run Slackware with UEFI Support (with port redirect and mount host home folder) qemu-system-x86_64 \ -machine q35,accel=kvm \ -boot menu=on \ -m 2G \ -cpu max \ -smp 2 \ -drive file=/home/r1w1s1/VMs/slackware.raw,format=raw \ -bios /usr/share/edk2-ovmf-x64/OVMF_CODE.fd \ -nic user,hostfwd=tcp::8888-:22 \ -device AC97 \ -fsdev local,id=fsdev0,path=/home/r1w1s1,security_model=none \ -device virtio-9p-pci,id=fs0,fsdev=fsdev0,mount_tag=host_share Access the host ssh r1w1s1@127.0.0.1 -p 8888 Need to mount in the host computer mkdir /mnt/shared_folder mount -t 9p -o trans=virtio host_share /mnt/shared_folder -oversion=9p2000.L