Skip to content

Instantly share code, notes, and snippets.

View torum's full-sized avatar

torum

  • Tokyo, Japan
  • 17:17 (UTC +09:00)
View GitHub Profile
@gtirloni
gtirloni / wsl-luks.md
Created May 2, 2022 12:44
Windows WSL2 and LUKS

If you have a LUKS-encrypted partition on another disk, it's easy to mount it inside WSL.

List your disks:

> wmic diskdrive list brief

Mount the whole disk inside WSL (using --bare so WSL doesn't attempt to mount it automatically):