当前位置: 首页 > 工具软件 > FUSE for OS X > 使用案例 >

os x下加载bitlocker

鲁财
2023-12-01

参考:macos - Open Bitlocker USB stick on OS X - Ask Different

1、安装FUSE

brew install Caskroom/cask/macfuse

或官网下载:Home - macFUSE

或csdn下载:FUSEformacOS3.10.4支持Macoscatalina-MacOS工具类资源-CSDN下载

2、安装dislocker

(1)brew install dislocker(已失效)

(2)源码安装

GitHub - Aorimn/dislocker: FUSE driver to read/write Windows' BitLocker-ed volumes under Linux / Mac OSX

brew install cmake

brew install mbedtls@2

brew unlink mbedtls

brew link mbedtls@2

cmake .
(cmake出错的话用

LIBRARY_PATH=/usr/local/lib:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib CPATH=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include cmake .

)

make

(如果要用mbedtls 3记得切换回来:

brew unlink mbedtls@2

brew link mbedtls

)

3、找设备

先不插设备 ls /dev/disk*

然后插上设备 ls /dev/disk*

看多出来了哪个,一般是/dev/disk2s1或/dev/disk3s1

4、sudo src/dislocker-fuse -v -V /dev/disk2s1 -u'密码' -- /tmp/mydrive

密码如果不用单引号某些特殊字符需要用 \ 转义,如!

5、sudo hdiutil attach -imagekey diskimage-class=CRawDiskImage /tmp/mydrive/dislocker-file

然后就可以在finder中看见了

卸载:

1、在finder中推出这个盘

2、sudo hdiutil detach /tmp/mydrive

3、sudo rm -rf /tmp/mydrive

 类似资料: