-
Notifications
You must be signed in to change notification settings - Fork 37
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
kernel instalation #2
Comments
Hi psykhon, One thing that had me stumped for a while is that WSL 2 seems to only run the exact named version as installed. If you acquired the source using git, if you make changes to files that are not ignored by git, the Linux build process will append a + to the name of the kernel to indicate that your build is dirty. For example you may see at the end of the Linux build: To get around this you could do: I found this information on https://stackoverflow.com/questions/19333918/dont-add-to-linux-kernel-version |
By now I can confirm that make install does not loads the new kernel |
I manage to get it working: |
Thank you @lisbravo! Installing the custom kernel by using the wsl2 config worked like a treat. Then I was able to install the kernel modules and finally run the |
I tried to run the command for compiling a kernel with ms defaults
it gives me this output:
|
It's been a couple weeks since I did this, but I think I followed the instructions in the primary readme (take care to check out the correct branch, per issue number #3). Specifically, these steps (again, use the actual version/git tag that matches your kernel at the moment, mine is
Instead of Anyway, the key was to copy the kernel out of WSL and then point WSL At it in |
Hi @theseankelly and @lisbravo I could not get it to work. When I checkout
and
but whenever I
I did @lisbravo usbip is working good and I have set up everything on the windows side. just left with the compiling |
Remove the # in front of kernel=C:\...\kernel\vmlinux.bin. The # comments out the line so it gets ignored. I did the same thing before realizing that. My .wslconfig is:
|
This commit is related to rpasek#2
Im sorry if this is not the right place for this question but, are you sure that
sudo make install
will install the newly compiled kernel y wsl 2? I've followed your instructions many times with no success just to find that the kernel in the /boot is not the one that wsl uses
The text was updated successfully, but these errors were encountered: