# Can't install from Rocky boot media, and BOOTX64.EFI

**URL:** <https://forums.rockylinux.org/t/cant-install-from-rocky-boot-media-and-bootx64-efi/12642>\
**Category:** Rocky Linux Help & Support\
**Created:** [January 26, 2024, 7:41pm UTC](https://forums.rockylinux.org/t/cant-install-from-rocky-boot-media-and-bootx64-efi/12642 "2024-01-26T19:41:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gerry666uk](https://avatars.discourse-cdn.com/v4/letter/g/dbc845/32.png) [@gerry666uk](https://forums.rockylinux.org/u/gerry666uk)\
**Post date:** [January 26, 2024, 7:41pm UTC](https://forums.rockylinux.org/t/cant-install-from-rocky-boot-media-and-bootx64-efi/12642/1 "2024-01-26T19:41:47Z")

</div>

A friend has a PC, ASUS Z97M-PLUS, happily running CentOS 8.x. It was originally installed in UEFI mode (with secure boot) using media ‘CentOS-8-x86\_64-1905-dvd1.iso’.

I want to install Rocky (8 or 9), but it fails straight away with the error:

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

```

I know this is partly to do with the EFI firmware being old, but I think it’s also to do with the “shim”, BOOTX64.EFI.

The Fedora people have a very clear explanation of the issue and a work-around at this link:

> **[Install media don't boot in UEFI mode on certain motherboards](https://discussion.fedoraproject.org/t/install-media-dont-boot-in-uefi-mode-on-certain-motherboards/71376)**
>
> Problem Fedora 37, 38 and 39 install media don’t boot on certain motherboards. You might see an error similar to the following (or none at all): Invalid image Failed to read header: Unsupported Failed to load image: Unsupported start\_image()...

They are saying to use an older “shim”, but should I really be trying to bury a Fedora file inside Rocky, and even if I was able to boot, would it just break at the next DNF upgrade?

---

<div class="post-metadata">

**Author:** ![label](https://avatars.discourse-cdn.com/v4/letter/l/c5a1d2/32.png) [@label](https://forums.rockylinux.org/u/label)\
**Post date:** [January 26, 2024, 7:45pm UTC](https://forums.rockylinux.org/t/cant-install-from-rocky-boot-media-and-bootx64-efi/12642/2 "2024-01-26T19:45:34Z")

</div>

I would not try to use something from Fedora to try to make Rocky work. I would try to update the firmware first before having to resort to anything else.

---

<div class="post-metadata">

**Author:** ![gerry666uk](https://avatars.discourse-cdn.com/v4/letter/g/dbc845/32.png) [@gerry666uk](https://forums.rockylinux.org/u/gerry666uk)\
**Post date:** [January 26, 2024, 9:37pm UTC](https://forums.rockylinux.org/t/cant-install-from-rocky-boot-media-and-bootx64-efi/12642/3 "2024-01-26T21:37:55Z")

</div>

The firmware is already at the highest level, it’s strange that CentOS is working, but not Rocky, I’m guessing the “shim” files are unusual, in that they are different between CentOS, RHEL, and Rocky?

The PC works well except for this issue.

I don’t mind having special boot media just for this one PC.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [March 26, 2024, 9:38pm UTC](https://forums.rockylinux.org/t/cant-install-from-rocky-boot-media-and-bootx64-efi/12642/4 "2024-03-26T21:38:31Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
