- Download the Ubuntu 14.04 Live Desktop (64-bit) iso.
- Enable virtualization in the BIOS.
sudo dnf install qemu-kvm
- Install the UEFI bios images.
- As root, boot the ISO in a virtual machine:
isopath=/path/to/ubuntu-14.04.3-desktop-amd64.iso
stickdev=/dev/sdX # Make sure this is set to the device for your usb stick
qemu-kvm -drive file=$stickdev,format=raw -m 2048 -pflash /usr/share/edk2.git/ovmf-x64/OVMF-pure-efi.fd -cdrom $isopath
- Select "Install Ubuntu"
- Install to the USB stick, overwriting everything that is there (after making sure it is the USB stick and not your hard drive). It should be only drive available and will probably show up as
/dev/sda
in qemu even though it is a different device on your physical machine. - When the installation finishes, the disk will probably still not be bootable under (presumably due to an installer bug). To fix, follow the instructions here under "Adding an ESP or GRUB-BBP to an installation with GPT" to add both an UEFI System Partition (ESP) and a legacy Bootable BIOS Partition (BPP).