花錢的解決方案是找專業的: Paragon Software git
他們家有各類套件,讓你在window Linux 都能訪問到蘋果分區裏面的內容。github
可是Windows刪除了它的驅動以後一開機就藍屏。。。ps:由於怎麼都卸載不掉它,fxxk。macos
下面是免費的方案:bash
Hfs+ 文件系統:ionic
Ubuntu下:ui
sudo add-apt-repository universe sudo apt-get update sudo apt-get install hfsprogs sudo fsck.hfsplus -f /dev/sda2 #便可
以後mount -t hfsplus /dev/sda2 /mnt 就能夠訪問了。spa
APFS 文件系統:blog
Ubuntu下:ip
sudo apt update sudo apt install fuse libfuse-dev libicu-dev bzip2 libbz2-dev cmake clang git libattr1-dev git clone https://github.com/sgan81/apfs-fuse.git cd apfs-fuse git submodule init git submodule update mkdir build cd build cmake .. make #若是出錯了。說找不到 fuse3/fuse.h 你就要手動關閉 fuse3
報錯信息:ci
[ 89%] Building CXX object CMakeFiles/apfs-fuse.dir/apfsfuse/ApfsFuse.cpp.o
/home/makeit/gitbase/apfs-fuse/apfsfuse/ApfsFuse.cpp:31:10: fatal error: fuse3/fuse.h: 沒有那個文件或目錄
#include <fuse3/fuse.h>
^~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/apfs-fuse.dir/build.make:62: recipe for target 'CMakeFiles/apfs-fuse.dir/apfsfuse/ApfsFuse.cpp.o' failed
make[2]: *** [CMakeFiles/apfs-fuse.dir/apfsfuse/ApfsFuse.cpp.o] Error 1
CMakeFiles/Makefile2:143: recipe for target 'CMakeFiles/apfs-fuse.dir/all' failed
make[1]: *** [CMakeFiles/apfs-fuse.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
編譯出錯才須要作下面操做的
sudo apt install 'cmake-curses-gui/bionic' ccmake .. #而後吧 fuse3 的選項關閉 ON 變爲OFF 按空格切換 #在按c鍵 從新配置 #在按g鍵 生成並退出 make
編譯好的程序複製到bin目錄下
sudo cp apfs-* /usr/local/bin
sudo fdisk -l 或其它方式 找到本身的 macos 分區
執行掛載命令
sudo apfs-fuse -o allow_other /dev/sda2 /mnt
enjoy it!