Open nrclark opened 3 months ago
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
/feature
this is possibly related to https://github.com/microsoft/WSL/issues/4967
well unless you don't expect more kernels/distros to be running concurrently, but then you could simply use existing feature of WSL to have custom kernel set up in .wslconfig
as per https://learn.microsoft.com/en-us/windows/wsl/wsl-config#main-wsl-settings
And BTW it is likely that you can't use distro kernel directly as is but need to compile your own version of it from distro sources with similar kernel config to https://github.com/microsoft/WSL2-Linux-Kernel to have some WSL support in kernel enabled.
As for the concurrent run of multiple kernels - I am no expert on WSL internals but I guess currently WSL shares the kernel for all WSL distros running and is reusing one lightweight VM to do this and multiple concurrent kernels would need more such VMs
And then the question is why not to run this distro with own distro kernel in normal Hyper-V VM instead of WSL
I mantain a WSL distribution at my company, and I want to include a custom distro-specific kernel.
Can you implement one of: