装载hfs + partion
我想在外部驱动器上安装hfs + partion。 我已经安装了hfsprogs
并创建了一个挂载在/media/hfs
的文件夹。 不过这个
# sudo mount -t hfsplus /dev/sdb2 /media/hfs mount: wrong fs type, bad option, bad superblock on /dev/sdb2, missing codepage or helper program, or other error
失败。
# dmesg | tail [ 1778.517677] hfs: write access to a journaled filesystem is not supported, use the force option at your own risk, mounting read-only. [ 1778.550769] hfs: invalid extent max_key_len 15237 [ 1778.550797] hfs: failed to load extents file [ 1892.776860] hfs: write access to a journaled filesystem is not supported, use the force option at your own risk, mounting read-only. [ 1892.777288] hfs: invalid extent max_key_len 15237 [ 1892.777297] hfs: failed to load extents file
我确定/dev/sdb2
是正确的,因为我用gparted
检查了它。 有任何想法吗?
似乎分区没有格式化,格式化为最近的OSX
版本,其中包含hfs+
驱动程序当前未知的选项,或者需要修复。
对于未格式化的分区, gparted
会将其正确地视为HFS+
因为它只是分区表中的一个标志。
如果需要维修,只需将磁盘插入OSX计算机,运行Disk Utility
并使用repair
按钮(在右侧窗格中选择分区后,右下角)。
我不知道HFS+
驱动程序最近没有理解任何HFS +选项,但它在过去发生过。 在这种情况下唯一的解决方案是等待。