2

I have a laptop which I've dual-booted with Ubuntu and Windows 10.

My goal is to use a bash shell inside windows to access the linux partition.

Inside Windows, I've installed the Linux subsystem and also used Ext2Fsd to create a D:// drive for the Linux system.

In the Bash shell, though, I can only see the C:// drive. How can I access the D:// drive?

I tried creating a shortcut in windows, but it makes .lnk file that I'm not sure how to follow in Linux.

1 Answers1

1

How can I access the D:// drive?

It will only be pseudo-mounted if it is fixed drive and formatted as NTFS.

Note that we don't currently support mounting drives in WSL - we pseudo-mount fixed NTFS drives in your machine, but cannot currently mount removable (e.g. USB) drives or non-NTFS drives

Source - comment by Richard Turner who works for the Microsoft WSL team.

In order for a drive to show up under /mnt/ it must meet the following criteria:

  1. The drive must be a fixed drive
  2. The drive must be formatted to NTFS.

This has been raised as an issue: Drives other than C: are not mounted in /mnt #1079. It is still marked as "Open".

To facilitate interoperability with Windows, WSL uses the DrvFs file system. WSL automatically mounts all fixed drives with supported file systems under /mnt, such as /mnt/c, /mnt/d, etc. Currently, only NTFS and ReFS volumes are supported.

Source WSL File System Support


Further Reading

DavidPostill
  • 162,382