Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2930

need to change wsl root password getting error

$
0
0

the issue started today. when issuing sudo command such as 'sudo apt update' I'm getting the following :"... is not in the sudoers file. This incident will be reported."

When trying to add user via root (running cmd) get the following:

wsl -u rootFailed to attach disk 'C:\Users\blah\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu20.04onWindows_79rhkp1fndgsc\LocalState\ext4.vhdx' to WSL2: The system cannot find the file specified.Error code: Wsl/Service/CreateInstance/MountVhd/HCS/ERROR_FILE_NOT_FOUND

WSL version in win 11 pro:wsl --versionWSL version: 2.4.8.0Kernel version: 5.15.167.4-1WSLg version: 1.0.65MSRDC version: 1.2.5716Direct3D version: 1.611.1-81528511DXCore version: 10.0.26100.1-240331-1435.ge-releaseWindows version: 10.0.22635.4800

Checked disk for errors, scanning etc. - no errors, no bad blocks.


Viewing all articles
Browse latest Browse all 2930

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>