-
Notifications
You must be signed in to change notification settings - Fork 178
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
Add example for kernel replacement #60
Comments
When following the surface-linux guide, I get
This doesn't happen with base |
uBlue adds kernel modules, could that be it? I recommend also asking on Discord with the others. |
I used JosSamLoh's script to replace the kernel, but it did not work. |
That looks pretty similar to what I tried without success as well. |
Closing this issue now. Future efforts towards documentation for kernel replacement in images based on uBlue should be done under ublue-os/website, specifically added under an "Advanced" section in the Tinkerer's guide. In the meanwhile, discuss here https://github.com/orgs/ublue-os/discussions/169 |
In addition to removing the ZFS RPM build from this repo to consume ZFS RPMs from `ucore-kmods` image, this PR starts building a stock `fedora-coreos` image with only ZFS added.
I've copied the commands but it still doesn't work. Could it be that startingpoint behaves differently? |
Are you basing on an image with kmods? |
Not quite sure: I based on ghcr.io/ublue-os/kinoite-main:38 should that have kmods? |
Yeah, I think that should be fine. There's no reason this shouldn't work AFAIK, so it just depends on diagnosing what kinda errors you're getting. |
After looking at the surface workflow and the changes to kmods, my understanding is that I must use |
I'm trying to use the linux-surface kernel.
In a VM, the following works:
see linux-surface/linux-surface#1128
However, in the
Containerfile
:This shows an error when generating initramfs during the build. Interestingly, the build still succeeds but after rebasing to the image, it boots with kernel panic.
The error:
I tried to follow https://github.com/coreos/layering-examples/blob/main/replace-kernel/Containerfile but it gives the same issue.
I don't think that this is specific to that kernel, so having some guideline on how to replace the kernel would be greatly appreciated.
The text was updated successfully, but these errors were encountered: