Menu ▾ ▴

Orphaned - dislocker

Daniel Azevedo

This page is copied from orphaned-docs on GitHub, where it is written and corrected; it is also on the documentation site. Changes made here are overwritten.

Package: dislocker · Writes to disks: not with -r

An alternative to cryptsetup for BitLocker. It exposes the
decrypted volume as a file, dislocker-file, which is then mounted.

sudo mkdir -p /mnt/bitlocker /mnt/windows
sudo dislocker -r -V /dev/sdX3 -u -- /mnt/bitlocker          # asks for the user password
sudo dislocker -r -V /dev/sdX3 -p -- /mnt/bitlocker          # asks for the recovery key
sudo dislocker -r -V /dev/sdX3 -f /path/key.BEK -- /mnt/bitlocker   # with a .BEK key file
sudo ntfs-3g -o ro /mnt/bitlocker/dislocker-file /mnt/windows
sudo umount /mnt/windows && sudo umount /mnt/bitlocker

-r keeps the BitLocker volume read-only.


Related

Wiki: Orphaned - File systems and volumes
Wiki: Orphaned - I need the files from a BitLocker disk
Wiki: Orphaned - NTFS
Wiki: Orphaned - cryptsetup
Wiki: Orphaned Docs