You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Download Windows TrueCrypt 7.1a from grc.com. (Don't use TrueCrypt 7.2; TrueCrypt has been discontinued, that version is only capable of decrypting existing drives.)
Install the application. Open the application.
Create a file-backed encrypted volume. Stick with the default encryption settings. Format it as FAT.
Still in the TrueCrypt application, select the volume's file, and Mount it to a drive letter.
Expected:
Drive should appear as a writeable volume in My Computer, mapped to the specified drive letter
Drive letter should show up in /mnt/ within WSL and should be mapped to the same drive as in Windows
Actual:
Drive does appear in My Computer as expected, apparently mapped to the specified drive letter
I realize that TrueCrypt is a long-since-deprecated application. And that its web presence looks a bit sketchy. I don't currently have an actual use for it. But I had it set up once and noticed this behavior, so I figured I would file it just so y'all are aware that this scenario is possible.
therealkenc This looks like a different thing: a filesystem mounted on the windows side isn't showing up in DrvFs. It could be something to do with how TrueCrypt registers volumes?
Ooh, interesting -- NTFS has a much-worse failure mode :-) Will file a separate bug momentarily so that it gets attention as a separate issue.
Regarding FAT -- that's good to know. Do y'all have plans to support non-NTFS filesystems? Linux itself does. It works around their lack of metadata support by setting (per-mount-configurable) default permissions; the default of 777 for everything seems to be adequate for many use cases. NTFS support on Mac and (real) Linux still isn't as robust as their FAT support so some of my external drives are FAT-formatted; I don't always remember which are which and would find it a bit confusing if some appeared in WSL and others didn't. (Though, to be fair, I haven't actually encountered this yet.)
Not working for me, i.e. this idea of mount the drive, then close all WSL windows. I'm still not seeing anything for this VC drive under /mnt ... Incidentally this is WSL2, OS Version "10.0.19042" aka "20H2".
Veracrypt is working for me with WSL2. I would suggest mounting the drive, terminating the wsl instance wsl --terminate <instance name>, and then restarting the ubuntu terminal.
Activity
aseering commentedon Jun 15, 2016
I realize that TrueCrypt is a long-since-deprecated application. And that its web presence looks a bit sketchy. I don't currently have an actual use for it. But I had it set up once and noticed this behavior, so I figured I would file it just so y'all are aware that this scenario is possible.
therealkenc commentedon Jun 15, 2016
See #131.
DHowett commentedon Jun 15, 2016
therealkenc This looks like a different thing: a filesystem mounted on the windows side isn't showing up in DrvFs. It could be something to do with how TrueCrypt registers volumes?
benhillis commentedon Jun 15, 2016
If the TrueCrypt volume NTFS or FAT? Currently only fixed NTFS drives will show up in DriveFs.
aseering commentedon Jun 16, 2016
Ooh, interesting -- NTFS has a much-worse failure mode :-) Will file a separate bug momentarily so that it gets attention as a separate issue.
Regarding FAT -- that's good to know. Do y'all have plans to support non-NTFS filesystems? Linux itself does. It works around their lack of metadata support by setting (per-mount-configurable) default permissions; the default of 777 for everything seems to be adequate for many use cases. NTFS support on Mac and (real) Linux still isn't as robust as their FAT support so some of my external drives are FAT-formatted; I don't always remember which are which and would find it a bit confusing if some appeared in WSL and others didn't. (Though, to be fair, I haven't actually encountered this yet.)
aseering commentedon Jun 16, 2016
Edited the text of this ticket to specify a filesystem format of FAT specifically, rather than "FAT or something else reasonable".
kkeane commentedon Sep 11, 2016
I can confirm that a VeraCrypt volume formatted with NTFS does show up without a problem.
dzek69 commentedon Aug 3, 2019
This is still open so I'm gonna bump it.
I'm using VeraCrypt, my mount is NTFS drive, but it still doesn't show up in /mnt
Any advices how to mount it manually maybe?
Edit: closing all WSL windows fixed that. Just closing one of them and trying in new window wasn't enough. I guess that's a bug?
Biswa96 commentedon Aug 3, 2019
Are you in WSL2 realm?
dzek69 commentedon Aug 4, 2019
If you want to know if I'm on new or old WSL, then I'm probably on old one, as I'm still on 1809, build 17763.615.
sense-it-gmbh commentedon May 4, 2020
Jacek Nowacki (@dzek69) thanks for sharing, solved the issue in my case.
chris-caat commentedon Feb 28, 2021
Not working for me, i.e. this idea of mount the drive, then close all WSL windows. I'm still not seeing anything for this VC drive under /mnt ... Incidentally this is WSL2, OS Version "10.0.19042" aka "20H2".
caleb15 commentedon Jun 22, 2021
Veracrypt is working for me with WSL2. I would suggest mounting the drive, terminating the wsl instance
wsl --terminate <instance name>, and then restarting the ubuntu terminal.