storage issue (bootcamp)

So i try to remove Bootcamp through boot camp assistant. But it did not work, it was not able to remove Bootcamp it said. so it told me to check disk utility. I ran first aid option and nothing seemed to be wrong. But I can not choose boot camp anymore? It has disappeared. And it's just that I have 400 GB of space, but I have 1000gb fusion drive storage. would really appreciate some help. iMac 5k if somebody is wondering.

iMac with Retina 5K display

Posted on Aug 11, 2017 6:17 AM

Reply
Question marked as ⚠️ Top-ranking reply

Posted on Aug 12, 2017 10:44 AM

The gap after GPT3 is the 'stuck' disk space.


We need to temporarily disable SIP. Boot into Local Recovery using Command+R after your restart your Mac. Click on Utilities -> Terminal and run


csrutil status

csrutil disable

csrutil status


If it shows disabled, we then create a 'fake' GPT entry for the Free Space as


sudo gdisk /dev/disk1

x (Expert menu)

l (set sector alignment using "L" to...)

1 (one sector)

m (Main menu)

n (New)

4 (GPT4)

775804928 (Start)

+1177720207 (Size, notice the "+" sign)

0700 (Microsoft Basic Data)

p (Print)

w (Write)

y (Confirm write)

q (Quit Gdisk, if necessary)


Once you complete this, from Terminal, run


diskutil repairDisk disk0


and reboot again.

13 replies
Sort By: 
Question marked as ⚠️ Top-ranking reply

Aug 12, 2017 10:44 AM in response to mioblomberg

The gap after GPT3 is the 'stuck' disk space.


We need to temporarily disable SIP. Boot into Local Recovery using Command+R after your restart your Mac. Click on Utilities -> Terminal and run


csrutil status

csrutil disable

csrutil status


If it shows disabled, we then create a 'fake' GPT entry for the Free Space as


sudo gdisk /dev/disk1

x (Expert menu)

l (set sector alignment using "L" to...)

1 (one sector)

m (Main menu)

n (New)

4 (GPT4)

775804928 (Start)

+1177720207 (Size, notice the "+" sign)

0700 (Microsoft Basic Data)

p (Print)

w (Write)

y (Confirm write)

q (Quit Gdisk, if necessary)


Once you complete this, from Terminal, run


diskutil repairDisk disk0


and reboot again.

Reply

Aug 11, 2017 10:14 AM in response to Loner T

so I copied this from the terminal app, does this say you anything ?





Mios-iMac:~ mioblomberg$ diskutil cs list

CoreStorage logical volume groups (1 found)

|

+-- Logical Volume Group 95379926-5967-42DF-83E8-94A2BAE3E533

=========================================================

Name: Macintosh HD

Status: Online

Size: 419906109440 B (419.9 GB)

Free Space: 106496 B (106.5 KB)

|

+-< Physical Volume B640A19F-CE92-445F-8681-8D399D1915A7

| ----------------------------------------------------

| Index: 0

| Disk: disk1s2

| Status: Online

| Size: 23553724416 B (23.6 GB)

|

+-< Physical Volume 6D3B960F-5063-4A08-977D-DCC004486981

| ----------------------------------------------------

| Index: 1

| Disk: disk0s2

| Status: Online

| Size: 396352385024 B (396.4 GB)

|

+-> Logical Volume Family 978A448E-C1CD-435C-85F2-7D5798A98DA9

----------------------------------------------------------

Encryption Type: None

|

+-> Logical Volume 1E081667-FC46-418A-9868-58D7AA203DD9

---------------------------------------------------

Disk: disk2

Status: Online

Size (Total): 419001270272 B (419.0 GB)

Revertible: No

LV Name: Macintosh HD

Volume Name: Macintosh HD

Content Hint: Apple_HFS

LVG Type: Fusion, Sparse

Mios-iMac:~ mioblomberg$

Reply

Aug 11, 2017 10:44 AM in response to Loner T

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme 24.0 GB disk0

1: EFI EFI 314.6 MB disk0s1

2: Apple_CoreStorage Macintosh HD 23.6 GB disk0s2

3: Apple_Boot Boot OS X 134.2 MB disk0s3


/dev/disk1 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *1.0 TB disk1

1: EFI EFI 209.7 MB disk1s1

2: Apple_CoreStorage Macintosh HD 396.4 GB disk1s2

3: Apple_Boot Recovery HD 650.0 MB disk1s3


/dev/disk2 (internal, virtual):

#: TYPE NAME SIZE IDENTIFIER

0: Apple_HFS Macintosh HD +419.0 GB disk2

Logical Volume on disk0s2, disk1s2

1E081667-FC46-418A-9868-58D7AA203DD9

Unencrypted Fusion Drive


Mios-iMac:~ mioblomberg$

Reply

Aug 11, 2017 11:51 AM in response to Loner T

Last login: Fri Aug 11 20:38:48 on ttys000

Mios-iMac:~ mioblomberg$ sudo gpt -vv -r show /dev/disk1

Password:

gpt show: /dev/disk1: mediasize=1000204886016; sectorsize=512; blocks=1953525168

gpt show: /dev/disk1: PMBR at sector 0

gpt show: /dev/disk1: Pri GPT at sector 1

gpt show: /dev/disk1: Sec GPT at sector 1953525167

start size index contents

0 1 PMBR

1 1 Pri GPT header

2 32 Pri GPT table

34 6

40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B

409640 774125752 2 GPT part - 53746F72-6167-11AA-AA11-00306543ECAC

774535392 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

775804928 1177720207

1953525135 32 Sec GPT table

1953525167 1 Sec GPT header

Mios-iMac:~ mioblomberg$

Reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

storage issue (bootcamp)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.