xanmod-kernel-WSL2
xanmod-kernel-WSL2 copied to clipboard
Installed via scoop, wsl no longer launches
wsl The path cannot be traversed because it contains an untrusted mount point. Error code: Wsl/Service/CreateInstance/CreateVm/HCS/0x800701c0
Try going down to WSL settings and checking where scoop installed your kernel. I installed like a week ago and was fine; my kernel ended up in C:\Users\USERNAME\scoop\apps\xanmod-WSL2\current\bzImage-x64v3. Maybe it needs to be in the C drive?
my kernel is in the same place. is that bad or good?
I had the same issue yesterday after an insider update. I ran scoop update * and it went away. I have no idea why that is but you might want to try that.
Following the latest Windows updates, It appears that specifying paths for the kernel image using a symbolic link directory is no longer permitted.
Scoop creates a symbolic link directory named "current" to ensure it always points to the latest version of kernel image, and uses this as the path.
@Locietta
I think you need to change this line to use $version instead of current. See this commit
Following the latest Windows updates, It appears that specifying paths for the kernel image using a symbolic link directory is no longer permitted.
Scoop creates a symbolic link directory named "current" to ensure it always points to the latest version of kernel image, and uses this as the path.
@Locietta I think you need to change this line to use
$versioninstead ofcurrent. See this commit
Thanks, I've change all the $dir to $original_dir to point to the original directory in scoop bucket. (https://github.com/Locietta/sniffer/commit/594fc7d7fc865919455df3c995e8db23b555f1ce)
Fixed by https://github.com/Locietta/sniffer/commit/594fc7d7fc865919455df3c995e8db23b555f1ce