1

So, I have kind of the same problem as some other people on here, but then different. I also want to install windows on my Mac. I also get the problem where it says I do not have the required 40 GB of free space. But any solution I can try on the internet doesn't work. "The sudo tmutil thinlocalsnapshots / 999999999999" doesn't work, nothing works, and it frustrates me to the max. Apple support does not really help either because they just keep telling me to clear out mor space. I am currently at almost 50 GB of free space, but now they want me to go get 55 while I read that even people with 100GB free have this problem. Any suggestions?

Also: Mac info: MacOS High Sierra version 10.13.6 Macbook Air 13 inch 2017 1,8 GHz Intel Core i5

Edit: just after I posted all of this the report thing went from saying you need 40 GB of free space to you need to have 39 GB of free space

Edit 2:

Diskutil list output:
diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *121.3 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk1         121.1 GB   disk0s2

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE   IDENTIFIER
   0:      APFS Container Scheme -                      +121.1 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD            77.9 GB    disk1s1
   2:                APFS Volume Preboot                 22.0 MB    disk1s2
   3:                APFS Volume Recovery                519.1 MB   disk1s3
   4:                APFS Volume VM                      2.1 GB     disk1s4

Edit 3: Also, I just open my console while trying it. It gave the same message, BUT, I saw something pop up in my console at the moment I pressed the button. I don't know if if helps, but here is that out put:

16:54:56.751775 -0400   kernel  containerGetMinimalSize:2027: Called on Physical Store, tier-0

16:54:56.751799 -0400   kernel  spaceman_get_max_allowed_shrink:5928: max_available_space 9881477 currently_allocated 19689516 currently_allocated_in_fixed_fs 0

16:54:56.751806 -0400   kernel  spaceman_get_max_allowed_shrink:5930: sm_free_count: [MAIN]=9881546, [TIER2]=0    sm_reserved_space: [MAIN]=159, [TIER2]=0

16:54:56.751811 -0400   kernel  spaceman_get_max_allowed_shrink:5932: sm_fs_reserve_block_count 0, sm_fs_reserve_alloc_count 0

16:54:56.751817 -0400   kernel  spaceman_get_max_allowed_shrink:5942: Used space move overhead is 615297, setting max_allowed_shrink to 9266180

16:54:56.751822 -0400   kernel  spaceman_get_max_allowed_shrink:5958: Minimal free space threshold_blocks is 2000, updating max_allowed_shrink to 9264180

Edit 4: Output of the diskutil apfs resize container disk0s2 limits:

Resize limits for APFS Physical Store partition disk0s2:
  Current Physical Store partition size on map:   121.1 GB (121123069952 Bytes)

Minimum (constrained by files/snapshots):       84.9 GB (84860887040 Bytes)

Recommended minimum (if used with macOS):       95.6 GB (95598305280 Bytes)

Maximum (constrained by partition map space):   121.1 GB (121123069952 Bytes)

....

  • i have been looking around a bit, I read some stuff about defragmenting the disk. Does anybody know anything about if that might help? – Lightningkid11 Aug 29 '18 at 20:36
  • Also, add the output from diskutil apfs resizecontainer disk0s2 limits. This command will not change your Mac. I just want to know how much free space is available. – David Anderson Aug 31 '18 at 1:16
  • Just added it. Sorry for the time it took. – Lightningkid11 Sep 7 '18 at 18:53
2

This answer is in respond to you post comment which I have repeated below.

In that case I will go and look for other ways to install windows, I have seen some stuff about installing it without bootcamp.

The basic steps needed for your 2017 Mac have been post as the accepted answer to this question: How to install Windows 10 into a 2013 iMac without using the Boot Camp Assistant, USB flash drive or third party tools?

If you edit your question and include the output from diskutil list, I could post the steps for your particular situation.

The numbers do not look good. If you shrink your macOS partition to the minimum recommended size of 95.6 GB, then you can create 25.5 GB of free space for Windows 10. (In other words: 121.1 GB - 95.6 GB = 25.5 GB) This Microsoft website states you will need 20 GB to install Windows 10, but the Boot Camp Assistant creates a temporary partition to hold the Windows installation files. This additional space is larger than the difference between 25.5 GB and 20 GB. The Boot Camp Assistant will not install Windows because there really is not enough free space.

One possible solution would be to use a 16 GB or larger flash drive to hold the Windows installation files. Once the files are transferred to the flash drive, you could delete them from the macOS volume and thus create more free space.

One possible procedure to install Windows 10.

  1. Use the the Boot Camp Assistant to download the latest Windows Support Software for your Mac. Look for the "Action" pulldown on the Boot Camp Assistant menu bar. On my Mac, these files were downloaded to the ~/WindowsSupport directory.
  2. Create a FAT32 formatted volume labeled "BOOTCAMP" on the 3rd partition of the primary disk. Basically, enter the command below in a Terminal application window.

    diskutil apfs resizecontainer disk0s2 96G FAT32 BOOTCAMP 0
    
  3. Use the Disk Utility application to erase a 16 GB or larger flash drive. Choose the parameters shown in the image below.

  4. Mount the Windows iso file and copy the contents to the "WINSTALL" volume. In my case, the label "ESD-ISO" was used to identify the Windows iso. To perform the copy operation, you will need the enter the cp command from a Terminal application window. Below are the commands I usually enter. If necessary, make the appropriate modifications.

    cd  /Volumes/WINSTALL
    cp  -Rv  /Volumes/ESD-ISO/  $PWD
    

    Note: This command will take a while to complete. Be patient!

  5. Copy the Windows Support Software to the "BOOTCAMP" volume. Below is the command I usually enter. If necessary, make the appropriate modifications.

    cp  -Rv  ~/Downloads/BootCamp5/  $PWD
    
  6. Next, you need to boot from the flash drive. Hold down the option key immediately after restarting your Mac. Release the option key when the Startup Manager window appears. Select the icon labeled "EFI boot". Next, select the arrow below the "EFI boot" label.

  7. Install Windows. When asked: "Where do you want to install Windows?", proceed as follows. First select the "BOOTCAMP" partition. Next, click on the "Format" button. Finally, click on the "Next" button.

  8. If the Mac boots back to macOS, goto the Startup Disk pane of the System Preferences application, unlock, select Windows and click on Restart button. Windows will continue installing.

  9. When Windows finishing installing, make sure the Windows Support Software is installed.

  • added it. Let me know – Lightningkid11 Aug 31 '18 at 0:31
  • Also, for this way off installing, just to make very sure, it does not affect the files I have on my Mac. I ask because I once had somebody who tried to help me and almost had me wipe my entire Mac to install windows, and that is not what I want. – Lightningkid11 Aug 31 '18 at 0:38
  • I added the thing you wanted. Does that help? – Lightningkid11 Sep 10 '18 at 20:10
1

:EDIT: I had the same issue with a client and found a better solution for freeing up the "Purgeable space" on the Mac without erasing your whole drive. Why we have to do stuff like this to get our own space back I'll never know... eh hem Apple? I see that the original question has changed but I thought I put this out there anyways.

You need to uncheck the Desktop and Documents in iCloud. Now that you are not storing your files in the cloud what you have to do is make a folder anywhere on your Mac. Here is where it gets fun ... maybe not so much. The end goal is to fill your HD / SSD up to the brim and then delete that data you just put there. This will force the OS to free up the purgeable space and then you can just delete the data you just created and viola! Space back on your Mac.

First Create a folder on your desktop. Then You need to find the largest folder on your drive in your home folder and copy it to the folder you just created. keep duplicating it inside the folder you just created for ease of use. What this does is fill up your drive and force the OS to make room by deleting the purgeable space. When you are all filled up you just delete the folder on your desktop that had all the duplicates and ... BAM free space.

:End of EDIT:

Since you've tried removing time machine local snapshots then the only course for you to take is to remove your Recovery Partition. You will need a few things before doing this.

  1. a backup of your data
  2. a usb installer of High Sierra which you can google how to do.

1. boot into Recovery mode by holding Command-R

2. select Disk Utility, then go to the View Tab and select show all disks.

3. Select the main HDD (Top one) and erase it in GUID format.

4. Reinstall OS X High Sierra.

5. Migration assistant your data back.

!! It should be noted that having a Recovery partition is nice to have. You won't be able to just reinstall OS High Sierra from that partition if something goes wrong. You'll need to have the USB installer for that from now on.

  • Okay, well thank you, in that case I will go and look for other ways to install windows, I have seen some stuff about installing it without bootcamp. Also, after you send this I did edit my post a bit, I don't know if it matters but who knows. – Lightningkid11 Aug 29 '18 at 21:05
  • Using Parallels or Vmware I've been able to keep my space down to around 20GB depending on what your actually using Windows for and how many apps you use. Even though you would have to remove your data and then bring it back The answer would have solved your space issue without having to get rid of any data that you already have on your drive. Given the restrictions you had I felt it was the best bet. Feel free to up the answer. thx. – Brooke Johnson Aug 29 '18 at 21:20
1

I had the same error 4 days now searching what is the problem. The big problem here is that your image drive has a file over 4 GB (install.wim) and the usb format is FAT32 which can't handle over 4GB files. The solution was a program I found on internet which splits the install.wim folder to smaller.

Here is the program: Bootcamp ISO Converter

There are excellent commercial programs to make managing BootCamp data and partitions and setup scriptable, repeatable and automated / click the button easy.

See these two products and the blog for more details:

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .