-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install: Add bootc install finish
to take over from "raw ostree" installs
#883
Comments
What is your deployment path? bootc-image-builder? Anaconda? bootc install to-filesystem wrapped with something else? |
Is this after an in-place update or is this a fresh install issue? |
I've seen it both ways. In bios mode today, I did an upgrade with the new image and it seemed to work. then reinstalled forcing the firmware over to efi. it installed without the args. Then I tweaked the image then in-place updated it and still no options applied. |
The thing is with the default bootloader flow we have, bios and UEFI both invoke grub which both just read the bootloader configs from Can you please include the container OS version and confirm the bootloader path? |
FROM quay.io/almalinuxorg/almalinux-bootc:9.4-20241023 When I boot, I see the config.toml
But the generated loader args are skipping the kargs.d file:
|
We chatted in person about this and realized it's because Anaconda isn't using |
So, fixing Anaconda won't be quick I think.... What workaround might we use until then? bootc upgrading didn't seem to apply the kernel args either. Is there some way we could get it to reset things so that bootc upgrade after install would apply the container kargs? |
The most viable hack would be in |
With RHEL 9.5 just being released though, it will probably be a long time before a new anaconda drops. I'm curious what the workaround might be. Maybe just a rough idea on whats going on. Even bootc upgrade --apply doesn't apply the new image kargs. Does machine kargs (via kickstart) somehow have precedence over the container ones and prevents them from being applied? If so, how might those be looked at/reset? |
I will do some investigation if we can do something like this:
or so...this would allow us to avoid needing to respin ISOs, but it'd likely be somewhat hacky..
Yes, because we diff between the old and new state and we expect the old state to be valid. So we have active investigation right now for handling automatically making Anaconda installs Do The Right Thing, then after that works we'll investigate something like this |
bootc install finish
to take over from "raw ostree" installs
Thanks for the insight! That helped narrow things down. I was able to boot an image that didnt have any overrides, then bootc switch image to one with custom kargs in the image, and have that work. So I have a not horrible workaround for now. |
PR in #915 |
So #915 is going to be really useful for being able to take e.g. the stock RHEL 9.5 (or even 9.4) ISO, add that kickstart fragment, and get the fixes. But what we still need to do is fix things up so cargo culting that kickstart fragment is unnecessary. Things are actually substantially easier here now that we have merged in the ostree-rs-ext codebase - we can directly have the old ostree-ext code call into bootc (instead of forking). Combined with having rpm-ostree depend on bootc - what we need to do to complete this story is move ownership of the |
alma linux image. when I boot from bios, kargs works. if I boot efi, its failing to show custom args.
ex:
I dont see the arguments making it into /boot/loader.1/entries/ostree-*
Something I'm missing?
The text was updated successfully, but these errors were encountered: