Install bootc system (centos) from kickstart

Hi,

I’m having an issue installing bootc based system using a Kickstart file. I’m booting either the latest CentOS Stream 10 minimal iso or a Fedora nightly build, and I’m using the inst.ks parameter to perform the installation from Kickstart. I install it as vm into vmware.

Regardless of the source image I use (CentOS or Fedora), the installation fails with the same error:

Bootc installation does not yet support user-specified mount points.
Unsupported mount points: /boot/efi

This is my Kickstart file:

text
network --bootproto=dhcp --device=link --activate --onboot=on

zerombr
clearpart --all --initlabel
autopart

bootc --source-imgref quay.io/centos-bootc/centos-bootc:c10s

Can you please advise how to resolve this issue, or whether there is a workaround?

I’ve attached a screenshot showing the error message below.

Thank you for your help.

Currently, the Fedora/CentOS bootc project does not officially provide VM images or ISO files, although this should change over the next few Fedora release cycles. For now, the recommended approach is described in the following links:


The workflows described above work for QEMU/KVM/ISO, but I have not personally tested them on VMware.

Great! Thank you for info and these resources.

Hello @pnagy,

this is a known issue/limitation of bootc, at least we bumped into this problem when testing the bootc kickstart command in Anaconda and have it tracked downstream in https://issues.redhat.com/browse/RHEL-135114. The issue is that bootc doesn’t support specification of arbitrary mount points, and unfortunately those include /boot/efi - which makes the installations with bootc images fail on (U)EFI machines. We hope this will get fixed soon.

Considering the initial post, it is probably related to the following article:

In my humble opinion, the article is generally good, but it is not comprehensive. It would be great if you could write a more detailed guide including a complete workflow example so I can test it and try to update the following section in the official bootc documentation: