BootCamp 安装 win10 出错,求助.

2018-03-07 00:42:26 +08:00
 hadixlin

如题安装 win10 的时候,提示不能分区.

具体文字信息如下:

Your disk could not be partitioned
An error occurred while partitioning the disk. Please run Disk Utility to check and fix the error.

尝试了各种网上的各种解决方案:

  1. 进入单用户模式使用 fsck -fy
  2. 使用磁盘工具里面的修复功能
  3. 关闭 time machine,执行 tmutil thinlocalsnapshots / 9999999999999999

上述方案均为解决问题.问题依旧.

求有经验的朋友指点.

7850 次点击
所在节点    macOS
14 条回复
lp10
2018-03-07 00:52:27 +08:00
tmutil 需要 sudo

然后麻烦截图或者复制粘贴发一下 diskutil list 的结果
hadixlin
2018-03-07 01:10:52 +08:00
@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
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 那个启动选项,然后正常安装。
hadixlin
2018-03-07 01:31:16 +08:00
使用磁盘工具手动进行分区,也是不行的.
日志如下:
```
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.
```
lp10
2018-03-07 01:31:32 +08:00
或者你开机的时候按 cmd+R 进恢复模式然后再修复磁盘看看?
hadixlin
2018-03-07 01:33:12 +08:00
@lp10 我的 BootCamp 打开之后没有勾选的操作界面.
只有选择镜像和调整磁盘分区.
再下一步就开始下载 windows 支持软件->创建分区->出错结束.
hadixlin
2018-03-07 01:33:49 +08:00
@lp10 恢复模式修复磁盘也试过了.无效.
lp10
2018-03-07 01:36:36 +08:00
重启重装买新的(
lp10
2018-03-07 01:44:58 +08:00
重新试一下整套步骤?……

cmd+R 进恢复模式
sudo tmutil disable
sudo tmutil thinlocalsnapshots / 9999999999999999
sudo diskutil apfs resizeContainer disk0s2 0
然后分区
yescola
2018-03-07 06:20:57 +08:00
这么跟你说。。我也是安装 win10 死活提示磁盘问题,后来实在憋不住重装了 macOS,然后就能正常装 win10 了。。
ioth
2018-03-07 10:32:58 +08:00
@yescola 有道理。
分区和 mac os 本身系统有关系。
aborigine
2018-03-07 11:09:23 +08:00
我也是重装解决的…直接 app store 覆盖安装一下就好了
hadixlin
2018-03-07 13:27:45 +08:00
@aborigine 用户数据会擦除吗?
aborigine
2018-03-07 13:30:33 +08:00
@hadixlin #13 覆盖安装,不要格式化不会擦除用户数据的

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/435586

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX