-
Notifications
You must be signed in to change notification settings - Fork 814
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
WSL 2 unable to mount windows partition after they were moved. #5715
Comments
Update: I just removed the directory d from |
It seems that I have the same problem but with drive "t" ; I've gone into /mnt/t and I have removed the folder "t" but wsl recreate it and the problem is still there. WSL can mount the drives formatted with ntfs,but not the drives formatted with ext4. |
In that case, you need to create another issue. My issue was specifically for NTFS drives. I have never tried this with ext4 ones. |
hello can you help me fix his problem i have problem with my linux dist because my linux dist catching code like this 0.000000] Linux version 5.10.16.3-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) #1 SMP Fri Apr 2 22:23:49 UTC 2021 [ 12.546067] init: (9) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Program Files (x86)\Common Files\Oracle\Java\javapath [ 12.546163] init: (9) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Windows\system32 [ 12.546262] init: (9) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Windows [ 12.546449] init: (9) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Windows\System32\WindowsPowerShell\v1.0\ [ 12.546543] init: (9) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Windows\System32\OpenSSH\ [ 12.546638] init: (9) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Users\HP\AppData\Local\Microsoft\WindowsApps [ 28.593442] EXT4-fs (sdb): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered [ 30.814549] init: (9) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Program Files (x86)\Common Files\Oracle\Java\javapath [ 30.814784] init: (9) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Windows\system32 [ 30.815069] init: (9) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Windows [ 30.815731] init: (9) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Windows\System32\WindowsPowerShell\v1.0\ [ 30.815974] init: (9) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Windows\System32\OpenSSH\ [ 30.816222] init: (9) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Users\HP\AppData\Local\Microsoft\WindowsApps [ 45.682863] init: (34) ERROR: CreateProcessParseCommon:818: Failed to translate C:\Windows\system32 [ 45.683003] init: (34) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Program Files (x86)\Common Files\Oracle\Java\javapath [ 45.683106] init: (34) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Windows\system32 [ 45.683204] init: (34) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Windows [ 45.683400] init: (34) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Windows\System32\WindowsPowerShell\v1.0\ [ 45.683501] init: (34) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Windows\System32\OpenSSH\ [ 45.683600] init: (34) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Users\HP\AppData\Local\Microsoft\WindowsApps [ 45.786141] init: (43) ERROR: CreateProcessParseCommon:818: Failed to translate C:\Windows\system32 [ 45.786246] init: (43) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Program Files (x86)\Common Files\Oracle\Java\javapath [ 45.786328] init: (43) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Windows\system32 [ 45.786393] init: (43) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Windows [ 45.786515] init: (43) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Windows\System32\WindowsPowerShell\v1.0\ [ 45.786577] init: (43) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Windows\System32\OpenSSH\ [ 45.786672] init: (43) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Users\HP\AppData\Local\Microsoft\WindowsApps [ 45.898723] init: (46) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Program Files (x86)\Common Files\Oracle\Java\javapath [ 45.898870] init: (46) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Windows\system32 [ 45.899031] init: (46) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Windows [ 45.899501] init: (46) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Windows\System32\WindowsPowerShell\v1.0\ [ 45.899761] init: (46) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Windows\System32\OpenSSH\ [ 45.899958] init: (46) ERROR: UtilTranslatePathList:2688: Failed to translate C:\Users\HP\AppData\Local\Microsoft\WindowsApps [ 49.152448] hv_balloon: Max. dynamic memory size: 8132 MB can anybody help it wil help me sorry for the english lang im from indonesia thank you |
Environment
Steps to reproduce
You need to have at least two NTFS partitions in your system. Now move the second partition (D in my case) to left or right and expand or shrink it using GParted or any other tool.
In my case, I moved it to the left and expanded it.
Expected behaviour
Start WSL after moving the partition and it should mount the new D drive correctly.
Actual behaviour
Instead of mounting the D drive, it shows error at the start time that
could not mount one or more partitions correctly, please see dmesg log for more information
.Manually trying to mount the D drive using `sudo mount -t drvfs D:\ /mnt/d' gives the following error
Dmesg log
The text was updated successfully, but these errors were encountered: