-
Notifications
You must be signed in to change notification settings - Fork 27
No bootloader recognized on UEFI system using the example.ks #57
Comments
OK I did #60 which may help here - sanity checked it with a There's lot going on here but basically...the way we've been doing bootloader bits has actually split into three separate paths between:
This effort is motivating these things to align. In particular, the reason we're not trying to follow the FCOS path is listed in coreos/fedora-coreos-tracker#1151 - basically we don't want to need to make a raw disk image from a container to do an installation (plus tricky overlap with Ignition). |
Merged #60 - if you (or anyone else) have a few minutes to try sanity checking it in the scenario you were going through, let me know if it helps! I know again this is all really painful, if we really had to we could cave and not do bootupd integration but honestly the way anaconda+ostree handles bootloader stuff is just a tremendous pile of hacks that is barely touched from when I worked on it for Atomic Host days; and it's what the "Atomic Desktops" rely on today, but they lack "day 2 bootloader updates" because of it. |
OK, it looks like secure boot is a big part of the problem. I'm on F38 silverblue and trying "--boot uefi,loader.secure=false" gives: ERROR loader attribute 'secure' cannot be specified when firmware autoselection is enabled I'm using this in my script and I have the updated kickstart example from #60 working with the centos-stream9 base image using: --boot loader=/usr/share/edk2/ovmf/OVMF_CODE.fd,loader.readonly=yes,loader.secure=no,loader.type=pflash,nvram=/var/lib/libvirt/qemu/nvram/bootc.fd Thanks for getting me past this! |
Hmm, what other arguments are you giving to
Cool! OK I think we can close this as "fixed", even though there's definitely more cleanup here to land. |
Yeah I can't run that command on my laptop for some reason. I get: ERROR loader attribute 'secure' cannot be specified when firmware autoselection is enabled These are the relevant packages I'm layering: libvirt qemu-kvm swtpm swtpm-tools virt-install virt-manager Also the second attempt to use the kickstart error'ed out with the bootupctl command: error: Found argument '--auto' which wasn't expected, or isn't valid in this context which is strange because all I did was switch the container and provide an ssh key. |
For |
OK thanks, that explains it. I have everything rebuilt w/ the latest CS9 image & booting. Thanks again for the help! |
I'm using a Fedora 39 boot ISO and example.ks from the instructions, and trying to install a container made from the rhel nightlies. Anaconda finishes the install just fine, but the UEFI firmware doesn't recognize /dev/sda as bootable afterwards.
I'm not sure if this is related to grub2/bootupd or if some of the additional files in /boot are missing.
The text was updated successfully, but these errors were encountered: