Skip to content

TrueCrypt drives don't show up in WSL #530

Open

Description

Reproducer:

  • 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
  • Drive does not appear in /mnt/ within WSL

Activity

  1. aseering commented on Jun 15, 2016

    @aseering
    ContributorAuthor

    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.

  2. therealkenc commented on Jun 15, 2016

    @therealkenc

    See #131.

  3. DHowett commented on Jun 15, 2016

    @DHowett
    Member

    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?

  4. benhillis commented on Jun 15, 2016

    @benhillis
    Member

    If the TrueCrypt volume NTFS or FAT? Currently only fixed NTFS drives will show up in DriveFs.

  5. aseering commented on Jun 16, 2016

    @aseering
    ContributorAuthor

    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.)

  6. aseering commented on Jun 16, 2016

    @aseering
    ContributorAuthor

    Edited the text of this ticket to specify a filesystem format of FAT specifically, rather than "FAT or something else reasonable".

  7. kkeane commented on Sep 11, 2016

    @kkeane

    I can confirm that a VeraCrypt volume formatted with NTFS does show up without a problem.

  8. dzek69 commented on Aug 3, 2019

    @dzek69

    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?

    image

    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?

  9. Biswa96 commented on Aug 3, 2019

    @Biswa96

    Are you in WSL2 realm?

  10. dzek69 commented on Aug 4, 2019

    @dzek69

    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.

  11. sense-it-gmbh commented on May 4, 2020

    @sense-it-gmbh

    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?

    Jacek Nowacki (@dzek69) thanks for sharing, solved the issue in my case.

  12. chris-caat commented on Feb 28, 2021

    @chris-caat

    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".

  13. caleb15 commented on Jun 22, 2021

    @caleb15

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions