Today, I switched to Windows 11 to test out the new features of WSL2. I have all of my important files stored on a LUKS encrypted drive, so might as well try mounting it. If you want to do it yourself, here are the steps:

Installing WSL2

Proceed with the official Microsoft documentation.

Install Linux on Windows with WSL

Opening and Mounting LUKS drive

This blog post will show a few lines that you must enter correctly into your terminal of choice:

Servicing the Windows Subsystem for Linux (WSL) 2 Linux kernel

Listing Disks

Run the following in Window Powershell or Windows Terminal:

GET-CimInstance -query "SELECT * from Win32_DiskDrive"

These are the “disk-ids” mentioned in the article above, replace accordingly.