Error when booting from live image

Hi, I used mediawriter to successfully write the standard F38 ISO to a usb stick but when I boot from it I get:

Invalid image
Failed to read header: Unsupported
Failed to load image: Unsupported
start_image() returned Unsupported

I found this post which suggests a workaround:

Essentially the above link says:

  • Get into /<USB_Stick>/EFI/BOOT, delete the original BOOTX64.EFI and BOOTIA32.EFI.
  • Rename grubx64.efi and grubia32.efi to BOOTX64.EFI and BOOTIA32.EFI respectively.
  • Boot your system with this USB stick in UEFI mode and you should be able to boot into the installer

So, I mounted the ISO, copied the contents to my hard drive and renamed the files as above.

My question is: What command line options for mkisofs should I use to recreate the ISO image?

Have you tried setting the bios to boot uefi only. This problem has never happened to me as I always boot with only uefi.

The bios setting may be ‘allow csm’ or ‘uefi only’ or something similar depending upon the particular bios release and version.

Legacy boot … in my case in the bios.