xanmod-kernel-WSL2 icon indicating copy to clipboard operation
xanmod-kernel-WSL2 copied to clipboard

Installed via scoop, wsl no longer launches

Open Git-North opened this issue 5 months ago • 5 comments

wsl The path cannot be traversed because it contains an untrusted mount point. Error code: Wsl/Service/CreateInstance/CreateVm/HCS/0x800701c0

Git-North avatar Jun 21 '25 18:06 Git-North

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?

Artoria2e5 avatar Jun 23 '25 14:06 Artoria2e5

my kernel is in the same place. is that bad or good?

Git-North avatar Jul 21 '25 21:07 Git-North

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.

Artoria2e5 avatar Jul 22 '25 11:07 Artoria2e5

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

Nevuly avatar Aug 22 '25 01:08 Nevuly

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

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)

Locietta avatar Aug 23 '25 04:08 Locietta

Fixed by https://github.com/Locietta/sniffer/commit/594fc7d7fc865919455df3c995e8db23b555f1ce

Locietta avatar Nov 18 '25 02:11 Locietta