Lost space after removing Boot Camp partition
iMac, Mac OS X (10.7.5), null
iMac, Mac OS X (10.7.5), null
Your issue seems to the #2 scenario as described in Bootcamp Assistant and 'lost' disk space . In your case, you need to use disk1 because you have a Fusion drive. If you need detailed steps, please post back.
So, properly then, I will tell you to erase and reformat your drive (backup first) but there is one person here who may be able to get you out of this without erasing the drive, I shall put a call out for him to look in on this thread. I have no idea how long that might take.
The Start and Size values are unique in each case. Since your HDD (1TB disk) is where the issue is, if you post the output of
sudo gpt -vv -r show /dev/disk1
I can point out the Start/Size values which you can use. The rest of the Gdisk sub-commands are identical, as is the repairDisk. On a Fusion drive, a repairDisk understands the Fusion drive and will repair both parts. To verify, yu can also post the output of
diskutil repairDisk disk0
In most cases, Disk Utility -> First Aid does the same.
Your Gdisk steps should be
sudo gdisk /dev/disk1
x (Expert menu)
l (set sector alignment using "L" to...)
1 (one sector)
m (Main menu)
n (New)
4 (GPT4)
940678096 (Start)
+1012847039 (Size, notice the "+" sign)
0700 (Microsoft Basic Data)
p (Print)
w (Write)
y (Confirm write)
q (Quit Gdisk, if necessary)
You need to run repairDisk and reboot to ensure that the on-disk and in-memory disk structures are in sync.
Please verify that you are using the 1TB disk, not the 121GB SSD part. The maximum sector address of 236978136 (512-byte sectors) is a 118GiB disk and looks to be your SSD. Reboots can renumber underlying disks, so choose the current 1TB disk.
Your reboot re-numbered the 1TB disk to be disk0. You can see the sizes when you look at the disk0 and disk1 entries in the first screen. Given the current state, use
sudo gdisk /dev/disk0
and continue with the rest of the commands.
1. Gdisk steps.
2. Repair disk.
3. Reboot.
4. Run BCA and try to remove/restore.
Thank you for the reply.
Do I just follow the steps found here?
Re: Can't get rid of a windows partition? Help?
In my case do I need to change the size to something else?
How did you remove it, properly or with Disk Utility?
I removed it using the boot camp assistant.
I had problems where windows would freeze and random reboots so I needed to reinstall.
Lost space after removing Boot Camp partition