11

Linux挂载BitLocker加密的Windows分区

 2 years ago
source link: https://www.lujun9972.win/blog/2019/05/06/linux%E6%8C%82%E8%BD%BDbitlocker%E5%8A%A0%E5%AF%86%E7%9A%84windows%E5%88%86%E5%8C%BA/index.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Linux挂载BitLocker加密的Windows分区

https://www.linuxuprising.com/2019/04/how-to-mount-bitlocker-encrypted.html 看到的,记录一下

Linux下可以利用 Dislocker 来解密并挂载BitLocker加密过的卷。

dislocker在 Archlinux AUR 中

aurman -S dislocker
  1. 创建两个目录用来解密和挂载加密分区的

    sudo mkdir -p /media/bitlocker
    sudo mkdir -p /media/bitlockermount
    
  2. 解密BitLocker的加密文件系统

    sudo dislocker ${encrypted_partition} -u ${user_password} -- /media/bitlocker
    # 或
    sudo dislocker ${encrypted_partition} -p ${recovery_password} -- /media/bitlocker
    # 或
    sudo dislocker ${encrypted_partition} -f ${bekfile} -- /media/bitlocker
    
  3. 挂载加密分区

    sudo mount -o loop /media/bitlocker/dislocker-file /media/bitlockermount
    

/etc/fstab 中添加下面两行:

<partition> /media/bitlocker fuse.dislocker user-password=<password>,nofail 0 0

/media/bitlocker/dislocker-file /media/bitlockermount auto nofail 0 0

上例中是使用 user-password 来解密的,对应的你也可以使用 recovery-passwordbekfile 来代替。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK