-
Notifications
You must be signed in to change notification settings - Fork 83
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 |
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: