The startup disk does not have enough space to be partitioned
Hi,
When I am trying to install windows10 using bootcamp assistant I get error:
The startup disk does not have enough space to be partitioned.
You must have at least 40 GB of free space available.
However, I have 72Gb available. Here is the output of df -h:
$ df -h
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk1s1 234Gi 159Gi 72Gi 69% 2140319 9223372036852635488 0% /
devfs 185Ki 185Ki 0Bi 100% 642 0 100% /dev
/dev/disk1s4 234Gi 2.0Gi 72Gi 3% 3 9223372036854775804 0% /private/var/vm
map -hosts 0Bi 0Bi 0Bi 100% 0 0 100% /net
map auto_home 0Bi 0Bi 0Bi 100% 0 0 100% /home
The output of diskutil list:
$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *251.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 250.8 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +250.8 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 171.1 GB disk1s1
The output of fsck_apfs -n -l /dev/rdisk1
$ sudo fsck_apfs -n -l /dev/rdisk1
Password:
** 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 snapshot 1 of 1.
** 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.
** The volume /dev/rdisk1 appears to be OK.
2: APFS Volume Preboot 38.8 MB disk1s2
3: APFS Volume Recovery 518.8 MB disk1s3
4: APFS Volume VM 2.1 GB disk1s4
I know that another user (jakubfromneratovice) has asked similar question recently, however, suggestions in that thread didn't help me. I also tried to boot into recovery mode and use first aid and fsck from there, but that didn't help.
MacBook Pro, iOS 10.1, The os is MacOS High Sierra 10.13.6