Reclaim lost space from Bootcamp Partition

bootcampdiskutilhigh sierra

First off, sorry I didn't understand you had to use apples bootcamp software to deal with bootcamp partitions. I wanted to stop using bootcamp, so I deleted the partition through disk manager some time ago. Since then I have been trying to get the 400GB space back.

Today I followed this thread:
Cannot delete or merge old boot camp partition in El Capitan

And I deleted the partition that showed up. But the result is that it has simply vanished, I can't reclaim it, because it does not even show up on disk manager or diskutil.

I have the 3TB fusion drive, but only 2.7 GB is available. I'm on a late '12 imac with high sierra 10.13.3.

enter image description here

enter image description here

enter image description here

enter image description here

===== final result ======

enter image description here

Best Answer

I suggest creating the USB flash drive installer, because it takes you 30+ minutes to boot to Internet Recovery. If you want to use Internet Recovery then use the alternate instructions given below.

  1. Backup Macintosh HD with Time Machine to an external drive.
  2. Download High Sierra from the Apps Store. If the download software starts to execute, cancel the execution.
  3. Transfer High Sierra to a USB flash drive. See How to create a bootable installer for macOS.
  4. Restart the Mac and immediately hold down the option key. When the Startup Manager icons appear, choose the installer.
  5. From the menu bar, choose the Terminal application.
  6. Enter the commands given below to create the new Logical Volume Group (LVG)

    diskutil  unmount  "Macintosh HD"
    diskutil  cs  createLVG  "Macintosh HD"  disk0  disk1
    
  7. Use the command below to determine the UUID of the new LVG.

    diskutil  cs  list
    

    For example, you would look for a line similar to what is shown below.

    +-- Logical Volume Group A8CEEF75-6839-4806-B799-97CF0CAABB7C
    
  8. Enter the command given below to create a new Logical Volume (LV).

    diskutil  coreStorage  createVolume  <UUID from previous step>  jhfs+ "Macintosh HD"  100%
    

    For example, drawing on the example in the previous step, you should enter a command similar to what is given below.

    diskutil  coreStorage  createVolume  A8CEEF75-6839-4806-B799-97CF0CAABB7C  jhfs+  "Macintosh HD"  100%
    

    Note: Replace A8CEEF75-6839-4806-B799-97CF0CAABB7C with the UUID you determined in the previous step.

  9. Quit the Terminal and use Time Machine to restore your files.

    Note: The OP has reported a complete verbatim restore works better than selectively restoring files.

  10. Install High Sierra. Be sure to select that you what to keep your files.

Alternate Instructions

Note: Requires macOS Sierra 10.12.4 or later,.

There instruction require booting to Internet Recovery.

  1. Backup Macintosh HD with Time Machine to an external drive.
  2. Boot to Internet Recovery. At startup or restart, immediately hold down the option++R key combination.
  3. From the menu bar, choose the Utilities->Terminal.
  4. Enter the commands given below to create the new Logical Volume Group (LVG)

    diskutil  unmount  "Macintosh HD"
    diskutil  cs  createLVG  "Macintosh HD"  disk0  disk1
    
  5. Use the command below to determine the UUID of the new LVG.

    diskutil  cs  list
    

    For example, you would look for a line similar to what is shown below.

    +-- Logical Volume Group A8CEEF75-6839-4806-B799-97CF0CAABB7C
    
  6. Enter the command given below to create a new Logical Volume (LV).

    diskutil  coreStorage  createVolume  <UUID from previous step>  jhfs+ "Macintosh HD"  100%
    

    For example, drawing on the example in the previous step, you should enter a command similar to what is given below.

    diskutil  coreStorage  createVolume  A8CEEF75-6839-4806-B799-97CF0CAABB7C  jhfs+  "Macintosh HD"  100%
    

    Note: Replace A8CEEF75-6839-4806-B799-97CF0CAABB7C with the UUID you determined in the previous step.

  7. Quit the Terminal and use Time Machine to restore your files.

    Note: The OP has reported a complete verbatim restore works better than selectively restoring files.

  8. Install High Sierra. Be sure to select that you what to keep your files.