making a ufi bootable usb drive from iso:

- partition usb drive with a GPT partition table (using gparted, etc)
- create a partition and mark it as bootable
- format partition as fat32 fs
- mount the partition
- using an iso with efi boot loader, use 7zip to put files into the 
  mounted directory of the usb drive

$  7z x iso-file.iso -o/media/$USER/USBDRIVE

- umount and use 

  for other images can do the normal dd:

  dd if=img.iso of=/dev/sdX bs=10M status=progress

  if a No media error occurs, you can do (although it might get automounted)
     eject -t /dev/sdX
  the drive device must be unmounted, but not ejected