如题安装 win10 的时候,提示不能分区.
具体文字信息如下:
Your disk could not be partitioned
An error occurred while partitioning the disk. Please run Disk Utility to check and fix the error.
尝试了各种网上的各种解决方案:
上述方案均为解决问题.问题依旧.
求有经验的朋友指点.
另外在系统日志里面发现这些相关日志
default 00:58:21.774594 +0800 authd Succeeded authorizing right 'com.apple.DiskManagement.internal.APFS' by client '/usr/libexec/diskmanagementd' [3295] for authorization created by '/Applications/Utilities/Boot Camp Assistant.app' [3322] (B,0)
fault 00:58:21.810167 +0800 diskmanagementd Unmount of disk1s1 blocked by dissenter PID=0 (kernel) status=0xf8da0002 (kDAReturnBusy)
fault 00:58:21.861960 +0800 diskmanagementd diskmanagement: execve(2) pid=3351 /System/Library/Filesystems/apfs.fs/Contents/Resources/fsck_apfs -n -x -l /dev/disk0s2 .
fault 00:59:04.823117 +0800 diskmanagementd diskmanagement: waitpid(2) pid=3351 exit=0
default 01:00:03.129685 +0800 Boot Camp Assistant DiskManagement: request for localized user error string for code -69606
default 01:00:03.129734 +0800 Boot Camp Assistant BCA: partition Error <A problem occurred while resizing APFS Container structures.> (-69606)
diskutil list 输出如下
/dev/disk0 (internal):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme 251.0 GB disk0
1: EFI EFI 314.6 MB disk0s1
2: Apple_APFS Container disk1 250.7 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +250.7 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 114.4 GB disk1s1
2: APFS Volume Preboot 21.2 MB disk1s2
3: APFS Volume Recovery 509.8 MB disk1s3
4: APFS Volume VM 1.1 GB disk1s4
/dev/disk2 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: CPBA_X64FRE_ZH-CN_DV5 +4.6 GB disk2
1
lp10 2018-03-07 00:52:27 +08:00
tmutil 需要 sudo
然后麻烦截图或者复制粘贴发一下 diskutil list 的结果 |
2
hadixlin OP @lp10
/dev/disk0 (internal): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme 251.0 GB disk0 1: EFI EFI 314.6 MB disk0s1 2: Apple_APFS Container disk1 250.7 GB disk0s2 /dev/disk1 (synthesized): #: TYPE NAME SIZE IDENTIFIER 0: APFS Container Scheme - +250.7 GB disk1 Physical Store disk0s2 1: APFS Volume Macintosh HD 114.4 GB disk1s1 2: APFS Volume Preboot 21.2 MB disk1s2 3: APFS Volume Recovery 509.8 MB disk1s3 4: APFS Volume VM 1.1 GB disk1s4 /dev/disk2 (disk image): #: TYPE NAME SIZE IDENTIFIER 0: CPBA_X64FRE_ZH-CN_DV5 +4.6 GB disk2 |
3
lp10 2018-03-07 01:24:38 +08:00
用 BootCamp 助理做好 Windows 安装 U 盘( BootCamp 助理里面只勾第一个选项,第二个会自动勾上,第三个不勾)。
然后手动分区(“ 190g ”是指你的新 APFS 总分区大小) sudo diskutil apfs resizeContainer disk1 190g FAT32 BOOTCAMP 0 (注意:分区操作有风险,过程中切勿断电关机。请先备份重要数据。) 分区完成以后重启按住 option 进启动选单,插 U 盘选 EFI Boot 那个启动选项,然后正常安装。 |
4
hadixlin OP 使用磁盘工具手动进行分区,也是不行的.
日志如下: ``` Running operation 1 of 1: Add “ bootcamp ” by splitting “ Macintosh HD ”… Resizing APFS Container designated by APFS Container Reference disk1 Verifying storage system Using live mode. Performing fsck_apfs -n -x -l /dev/disk0s2 Checking volume. Checking the container superblock. Checking the EFI jumpstart record. Checking the space manager. Checking the object map. Checking the APFS volume superblock. Checking the object map. Checking the fsroot tree. Checking the snapshot metadata tree. Checking the extent ref tree. Checking the snapshots. Checking the APFS volume superblock. Checking the object map. Checking the fsroot tree. Checking the snapshot metadata tree. Checking the extent ref tree. Checking the snapshots. Checking the APFS volume superblock. Checking the object map. Checking the fsroot tree. Checking the snapshot metadata tree. Checking the extent ref tree. Checking the snapshots. Checking the APFS volume superblock. Checking the object map. Checking the fsroot tree. Checking the snapshot metadata tree. Checking the extent ref tree. Checking the snapshots. Verifying allocated space. warning: Overallocation Detected on Main device: (1300091+1) bitmap address (434910) The volume /dev/disk0s2 appears to be OK. Storage system check exit code is 0. Shrinking APFS Physical Store disk0s2 from 250,685,575,168 to 202,685,575,168 bytes Shrinking APFS data structures APFS Container Resize error code is 49187 A problem occurred while resizing APFS Container structures. ``` |
5
lp10 2018-03-07 01:31:32 +08:00
或者你开机的时候按 cmd+R 进恢复模式然后再修复磁盘看看?
|
6
hadixlin OP |
8
lp10 2018-03-07 01:36:36 +08:00
重启重装买新的(
|
9
lp10 2018-03-07 01:44:58 +08:00
重新试一下整套步骤?……
cmd+R 进恢复模式 sudo tmutil disable sudo tmutil thinlocalsnapshots / 9999999999999999 sudo diskutil apfs resizeContainer disk0s2 0 然后分区 |
10
yescola 2018-03-07 06:20:57 +08:00 via iPhone
这么跟你说。。我也是安装 win10 死活提示磁盘问题,后来实在憋不住重装了 macOS,然后就能正常装 win10 了。。
|
12
aborigine 2018-03-07 11:09:23 +08:00 via iPhone
我也是重装解决的…直接 app store 覆盖安装一下就好了
|