Skip to content

Failed to install a bootloader #563

@t-h2o

Description

@t-h2o

Boot missing efi partition uuid

Problem

From the quickstart.

While provisioning...

From Events list:

kubectl describe baremetalhosts.metal3.io bml-01
...
Type    Reason                  Age    From                         Message
----    ------                  ----   ----                         -------
Normal  DeprovisioningStarted   7m44s  metal3-baremetal-controller  Image deprovisioning started
Normal  DeprovisioningComplete  7m34s  metal3-baremetal-controller  Image deprovisioning completed
Normal  ProvisioningStarted     7m34s  metal3-baremetal-controller  Image provisioning started for http://192.168.0.150:80/CentOS-Stream-GenericCloud-9-latest.x86_64.qcow2
Normal  ProvisioningError       2m42s  metal3-baremetal-controller  Image provisioning failed: Deploy step deploy.prepare_instance_boot failed: Failed to install a bootloader when deploying node x: No EFI partition could be detected on device /dev/sda and EFI partition     UUID has not been recorded during deployment (which is often the case for whole disk images). Are you using a UEFI-compatible image?

Information

There is two CentOS GenericCloud 9

  • CentOS-Stream-GenericCloud-9-latest.x86_64.qcow2
  • CentOS-Stream-GenericCloud-x86_64-9-latest.x86_64.qcow2

From What is the difference between these CentOS 9 Stream cloud images?.

They have two different kickstart (like seed file for debian installation);
One hasn't efi partition creation, the second has.

Solution

Replace CentOS-Stream-GenericCloud-9-latest.x86_64.qcow2
with CentOS-Stream-GenericCloud-x86_64-9-latest.x86_64.qcow2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/documentationCategorizes issue or PR as related to documentation.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.triage/acceptedIndicates an issue is ready to be actively worked on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions