Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Can't format former Boot Camp partition

So I stupidly erased my Boot Camp partition using Disk Utility rather than in the Boot Camp Assistant. And now I the partition is stuck as free space and i can't change it. When i select the free space in Disk Util, I can change it to Mac OS Extended and ExFAT as usual, but when I press apply, the progress bar appears for a brief second and disappears. Then it acts as if I never pressed apply; when I close the window, it says that I have unsaved changes. The free space does not appear as a drive in the left sidebar.


I have tried reinstalling OS X, I've tried returning to a time machine backup, I've verified and repaired the disk, but nothing has worked.

I'm left with 67GB of space unusable on my macbook now.

MacBook Pro with Retina display, OS X Mavericks (10.9.4)

Posted on Oct 11, 2014 9:36 AM

Reply
239 replies

Jul 31, 2015 10:45 PM in response to Loner T

I have finished running. The 4 partition has been created now. The list is as follows


Last login: Sat Aug 1 07:36:27 on console

iMac:~ RalphImac$ Sudo gdisk /dev/rdisk1

Password:

GPT fdisk (gdisk) version 1.0.0


Warning: Devices opened with shared lock will not have their

partition table automatically reloaded!

Partition table scan:

MBR: protective

BSD: not present

APM: not present

GPT: present


Found valid GPT with protective MBR; using GPT.


Command (? for help): p

Disk /dev/rdisk1: 1953525168 sectors, 931.5 GiB

Logical sector size: 512 bytes

Disk identifier (GUID): D7A2F2DF-3726-47CC-B9F7-242CD2B86DB6

Partition table holds up to 128 entries

First usable sector is 34, last usable sector is 1953525134

Partitions will be aligned on 8-sector boundaries

Total free space is 2317 sectors (1.1 MiB)


Number Start (sector) End (sector) Size Code Name

1 40 409639 200.0 MiB EF00 EFI System Partition

2 409640 1404446055 669.5 GiB AF05 OSX-MacintoshLVG

3 1404446056 1405715591 619.9 MiB AB00 Boot OS X

4 1405716480 1953523711 261.2 GiB 0700 BOOTCAMP


Command (? for help): r


Recovery/transformation command (? for help): o


Disk size is 1953525168 sectors (931.5 GiB)

MBR disk identifier: 0x00000000

MBR partitions:


Number Boot Start Sector End Sector Status Code

1 1 1953525167 primary 0xEE


Recovery/transformation command (? for help): h


WARNING! Hybrid MBRs are flaky and dangerous! If you decide not to use one,

just hit the Enter key at the below prompt and your MBR partition table will

be untouched.


Type from one to three GPT partition numbers, separated by spaces, to be

added to the hybrid MBR, in sequence: 2 3 4

Place EFI GPT (0xEE) partition first in MBR (good for GRUB)? (Y/N): y


Creating entry for GPT partition #2 (MBR partition #2)

Enter an MBR hex code (default AF):

Set the bootable flag? (Y/N): n


Creating entry for GPT partition #3 (MBR partition #3)

Enter an MBR hex code (default AB):

Set the bootable flag? (Y/N): n


Creating entry for GPT partition #4 (MBR partition #4)

Enter an MBR hex code (default 07):

Set the bootable flag? (Y/N): n


Recovery/transformation command (? for help): o


Disk size is 1953525168 sectors (931.5 GiB)

MBR disk identifier: 0x00000000

MBR partitions:


Number Boot Start Sector End Sector Status Code

1 1 409639 primary 0xEE

2 409640 1404446055 primary 0xAF

3 1404446056 1405715591 primary 0xAB

4 1405716480 1953523711 primary 0x07


Recovery/transformation command (? for help): w


Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING

PARTITIONS!!


Do you want to proceed? (Y/N): y

OK; writing new GUID partition table (GPT) to /dev/rdisk1.

Warning: Devices opened with shared lock will not have their

partition table automatically reloaded!

Warning: The kernel may continue to use old or deleted partitions.

You should reboot or remove the drive.

The operation has completed successfully.

iMac:~ RalphImac$

Aug 1, 2015 2:41 AM in response to Loner T

I noticed some changes from these terminal data compared to the one before. Control all and let me know the next step forward. Thanks man!


The result shows this:


-bash-3.2# gpt -vv -r show /dev/disk1

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

gpt show: /dev/disk1: Suspicious MBR 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 MBR

1 1 Pri GPT header

2 32 Pri GPT table

34 6

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

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

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

1405715592 888

1405716480 547807232 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

1953523712 1423

1953525135 32 Sec GPT table

1953525167 1 Sec GPT header

-bash-3.2#

-bash-3.2# fdisk /dev/disk1

Disk: /dev/disk1 geometry: 121601/255/63 [1953525168 sectors]

Signature: 0xAA55

Starting Ending

#: id cyl hd sec - cyl hd sec [ start - size]

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

1: EE 0 0 2 - 25 127 14 [ 1 - 409639] <Unknown ID>

2: AF 25 127 15 - 1023 254 63 [ 409640 - 1404036416] HFS+

3: AB 1023 254 63 - 1023 254 63 [1404446056 - 1269536] Darwin Boot

4: 07 1023 254 63 - 1023 254 63 [1405716480 - 547807232] HPFS/QNX/AUX

-bash-3.2#

Aug 1, 2015 7:58 AM in response to Loner T

I tried installing after deleting the partition earlier created by the former attempt to install windows using BCA. Now trying to install windows, BCA says that the volume is not journaled, that I have to journal the volume using disk utility. I opened disk utility. I saw a new disk created (osx macintoshLVG) that is not journaled. It has the format Mac OS Extended only. Should I go ahead and journal it?

Aug 1, 2015 12:17 PM in response to Loner T

Sorry, I am just coming back from a meeting.


I have done disk repair using disk utility. It says that the whole volume appears to be ok. However there is a part of the partition newly created that is not repaired. That is the particular partition that is not journaled. this particular partition cannot be repaired or verified. I tried to. should I try erasing and formatting it? Just that particular partition and not the whole disk. This partition is written unmounted volume and has the same name as the Main volume (OSX-MacintoshLVG) at the top. In between them is a volume dedicated to Macintosh HD. what should I do?

Aug 1, 2015 3:37 PM in response to Loner T

Here is what I got from the list


Last login: Sun Aug 2 00:23:41 on console

iMac:~ RalphImac$ diskutil list

/dev/disk0

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *121.3 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_CoreStorage 121.0 GB disk0s2

3: Apple_Boot Boot OS X 134.2 MB disk0s3

/dev/disk1

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *1.0 TB disk1

1: EFI EFI 209.7 MB disk1s1

2: Apple_HFS 999.3 GB disk1s2

3: Apple_Boot Recovery HD 650.0 MB disk1s4

/dev/disk2

#: TYPE NAME SIZE IDENTIFIER

0: Apple_HFS Macintosh HD *1.1 TB disk2

Logical Volume on disk0s2, disk1s2

A7D74F1A-5DF4-493C-96A8-652E8363137E

Unencrypted Fusion Drive

/dev/disk3

#: TYPE NAME SIZE IDENTIFIER

0: FDisk_partition_scheme *7.8 GB disk3

1: DOS_FAT_32 WININSTALL 7.8 GB disk3s1

iMac:~ RalphImac$

iMac:~ RalphImac$ diskutil cs list

CoreStorage logical volume groups (1 found)

|

+-- Logical Volume Group 466ADA0E-F91D-41F0-A544-A0496D3AB698

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

Name: OSX-MacintoshLVG

Status: Online

Size: 1120333979648 B (1.1 TB)

Free Space: 114688 B (114.7 KB)

|

+-< Physical Volume 7C80F65C-A801-4DB6-9642-5E2568B310AC

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

| Index: 0

| Disk: disk0s2

| Status: Online

| Size: 120988852224 B (121.0 GB)

|

+-< Physical Volume D0291C1F-EB90-4289-B34A-0C79DF081B5B

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

| Index: 1

| Disk: disk1s2

| Status: Online

| Size: 999345127424 B (999.3 GB)

|

+-> Logical Volume Family 02304543-10DA-46FE-B6AE-035D8256C37F

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

Encryption Status: Unlocked

Encryption Type: None

Conversion Status: NoConversion

Conversion Direction: -none-

Has Encrypted Extents: No

Fully Secure: No

Passphrase Required: No

|

+-> Logical Volume A7D74F1A-5DF4-493C-96A8-652E8363137E

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

Disk: disk2

Status: Online

Size (Total): 1114478608384 B (1.1 TB)

Conversion Progress: -none-

Revertible: No

LV Name: Macintosh HD

Volume Name: Macintosh HD

Content Hint: Apple_HFS

iMac:~ RalphImac$

iMac:~ RalphImac$ sudo gpt -vv r- show /dev/disk0

Password:

gpt: unknown command: r-

iMac:~ RalphImac$ sudo gpt -vv -r show /dev/disk0

gpt show: /dev/disk0: mediasize=121332826112; sectorsize=512; blocks=236978176

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

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

gpt show: /dev/disk0: Sec GPT at sector 236978175

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 236306352 2 GPT part - 53746F72-6167-11AA-AA11-00306543ECAC

236715992 262144 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

236978136 7

236978143 32 Sec GPT table

236978175 1 Sec GPT header

iMac:~ RalphImac$

iMac:~ RalphImac$ sudo fdisk /dev/disk0

Disk: /dev/disk0 geometry: 14751/255/63 [236978176 sectors]

Signature: 0xAA55

Starting Ending

#: id cyl hd sec - cyl hd sec [ start - size]

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

1: EE 1023 254 63 - 1023 254 63 [ 1 - 236978175] <Unknown ID>

2: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

iMac:~ RalphImac$ sudo gpt -w -r show /dev/disk1

gpt: illegal option -- w

usage: gpt [-rv] [-p nparts] command [options] device ...

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

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 1951845952 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC

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

1953525128 7

1953525135 32 Sec GPT table

1953525167 1 Sec GPT header

iMac:~ RalphImac$

iMac:~ RalphImac$ sudo fdisk /dev/disk1

Disk: /dev/disk1 geometry: 121601/255/63 [1953525168 sectors]

Signature: 0xAA55

Starting Ending

#: id cyl hd sec - cyl hd sec [ start - size]

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

1: EE 1023 254 63 - 1023 254 63 [ 1 - 1953525167] <Unknown ID>

2: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

iMac:~ RalphImac$

Can't format former Boot Camp partition

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