How to properly build/use 6.6 kernel with WSL and NixOS? #659
Unanswered
chrisportela
asked this question in
Q&A
Replies: 1 comment
-
And #110 (comment) ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have built a 6.6 kernel using instructions from Microsoft and put it at my WSL kernel.
Everything starts. However there are a lot of errors. I imagine it has to do with the step where it says to run
sudo make modules_install headers_install
and presumably that sets up the example ubuntu WSL to be able to use the new kernel.I have found some random attempts (unmaintained) to build custom kernels for use with WSL. I really want to build a kernel with proper zram support because I am running some builds which use up so much memory that they die even with 60GB of memory allocated to WSL.
What is the proper way to build and setup a custom kernel for WSL in NixOS? Is that something this project is planning to support at all?
If there isn't a straight forward answer, where should I start looking? I understand that we can't enable the normal NixOS kernel builds because WSL provides the kernel, but if I built my own
nixos.wsl
tarball I don't logically understand how to get that to do what I want.Beta Was this translation helpful? Give feedback.
All reactions