Partition unrecoverable/ Lost Space

So I recently installed Windows 10, everything went fine until I attempted to switch back to OSX, it said there was no bootcamp to access. Scared, I decieded to restart in disk utility, delete the windows partition I created and reboot into OSX. Everything seemed fine until I noticed that the partition was still there but I could not access it. I completely wiped the hard drive and reboot OSX to no avail. I've checked forums and watched videos but nothing seems similar to my case. I cant use boot camp either due to: The startup disk must be formatted as a single Mac OS Extended (Journaled) volume or already partitioned by Boot Camp Assistant for installing Windows.


I also can't use disk utility to revert the space back to the original 500gb that I had because if I erase it via disk utility, the space is still there. I've tried fixing it via terminal but unsure of exactly what I should do. I did get this far:


I'm not sure what I did or how to fix it but I definitely learned to not install windows. Thought I knew enough how to do it apparently not.


majesticdreams$ diskutil repairDisk disk1

Nonexistent, unknown, or damaged partition map scheme

If you are sure this disk contains a (damaged) APM, MBR, or GPT partition map,

you can hereby try to repair it enough to be recognized as a map; another

"diskutil repairDisk disk1" might then be necessary for further repairs

Proceed? (y/N) y

Error repairing map: MediaKit reports bad partition or no map found (-5324)

Michaels-MacBook-Pro:~ majesticdreams$

MacBook Pro (Retina, 15-inch, Mid 2015), iOS 11.0.3, version 10.13

Posted on Oct 22, 2017 7:27 PM

Reply
13 replies

Oct 23, 2017 7:24 AM in response to Loner T

diskutil list

/dev/disk0 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *500.3 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_APFS Container disk1 392.0 GB disk0s2

3: Microsoft Basic Data OSXRESERVED 8.0 GB disk0s3

4: Apple_APFS Container disk3 100.1 GB disk0s4


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +392.0 GB disk1

Physical Store disk0s2

1: APFS Volume Macintosh HD 203.6 GB disk1s1

2: APFS Volume Preboot 36.4 MB disk1s2

3: APFS Volume Recovery 1.0 GB disk1s3

4: APFS Volume VM 2.1 GB disk1s4


/dev/disk3 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +100.1 GB disk3

Physical Store disk0s4

1: APFS Volume Untitled 1.5 MB disk3s1


Michaels-MacBook-Pro:~ majesticdreams$ diskutil cs list

No CoreStorage logical volume groups found

Michaels-MacBook-Pro:~ majesticdreams$ diskutil apfs list

APFS Containers (2 found)

|

+-- Container disk1 0F1411C6-8644-4471-925A-0107BD83B0DA

| ====================================================

| APFS Container Reference: disk1

| Capacity Ceiling (Size): 392000679936 B (392.0 GB)

| Capacity In Use By Volumes: 207006044160 B (207.0 GB) (52.8% used)

| Capacity Available: 184994635776 B (185.0 GB) (47.2% free)

| |

| +-< Physical Store disk0s2 24070954-9482-4A3A-8766-2ED45AA18A98

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

| | APFS Physical Store Disk: disk0s2

| | Size: 392000679936 B (392.0 GB)

| |

| +-> Volume disk1s1 71246FB9-27ED-4955-B061-EB8A3E3CF0F6

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

| | APFS Volume Disk (Role): disk1s1 (No specific role)

| | Name: Macintosh HD (Case-insensitive)

| | Mount Point: /

| | Capacity Consumed: 203630866432 B (203.6 GB)

| | Encrypted: No

| |

| +-> Volume disk1s2 C3B8CF07-F741-49A0-BF48-06EAF4B1B057

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

| | APFS Volume Disk (Role): disk1s2 (Preboot)

| | Name: Preboot (Case-insensitive)

| | Mount Point: Not Mounted

| | Capacity Consumed: 36388864 B (36.4 MB)

| | Encrypted: No

| |

| +-> Volume disk1s3 23A480CE-E267-4619-A608-8C3153ACD017

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

| | APFS Volume Disk (Role): disk1s3 (Recovery)

| | Name: Recovery (Case-insensitive)

| | Mount Point: Not Mounted

| | Capacity Consumed: 1039843328 B (1.0 GB)

| | Encrypted: No

| |

| +-> Volume disk1s4 3613CFA1-3358-4C77-B6D5-8EB0910258BF

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

| APFS Volume Disk (Role): disk1s4 (VM)

| Name: VM (Case-insensitive)

| Mount Point: /private/var/vm

| Capacity Consumed: 2147504128 B (2.1 GB)

| Encrypted: No

|

+-- Container disk3 2355B4ED-7552-40CF-A201-DCE86A4511A5

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

APFS Container Reference: disk3

Capacity Ceiling (Size): 100067770368 B (100.1 GB)

Capacity In Use By Volumes: 125362176 B (125.4 MB) (0.1% used)

Capacity Available: 99942408192 B (99.9 GB) (99.9% free)

|

+-< Physical Store disk0s4 5F699795-BEF2-4808-8ACA-FF653776BF78

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

| APFS Physical Store Disk: disk0s4

| Size: 100067770368 B (100.1 GB)

|

+-> Volume disk3s1 B3E7FE5D-67CA-4FF2-9FA2-124F1781E6D8

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

APFS Volume Disk (Role): disk3s1 (No specific role)

Name: Untitled (Case-insensitive)

Mount Point: /Volumes/Untitled

Capacity Consumed: 1540096 B (1.5 MB)

Encrypted: No

Oct 23, 2017 11:31 AM in response to Loner T

Okay, so after completing the first three tasks you asked me to do, should I continue with diskutil eraseVolume fat32 BOOTCAMP diskos3 and then follow the prompts with BC Assistant? Here is the output:

Michaels-MacBook-Pro:~ majesticdreams$ diskutil eraseVolume jhfs+ BC1 disk0s3

Started erase on disk0s3 OSXRESERVED

Unmounting disk

Erasing

Initialized /dev/rdisk0s3 as a 7 GB case-insensitive HFS Plus volume with a 8192k journal

Mounting disk

Finished erase on disk0s3 BC1

Michaels-MacBook-Pro:~ majesticdreams$ diskutil mergePartitions jhfs+ BCMP disk0s3 disk0s4

Merging partitions into a new partition

Start partition: disk0s3 BC1

Finish partition: disk0s4 Untitled

Started partitioning on disk0

Merging partitions

Waiting for partitions to activate

Growing disk

Finished partitioning on disk0

/dev/disk0 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *500.3 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_APFS Container disk1 392.0 GB disk0s2

3: Apple_HFS BC1 107.9 GB disk0s3

Michaels-MacBook-Pro:~ majesticdreams$ diskutil list

/dev/disk0 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *500.3 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_APFS Container disk1 392.0 GB disk0s2

3: Apple_HFS BC1 107.9 GB disk0s3


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +392.0 GB disk1

Physical Store disk0s2

1: APFS Volume Macintosh HD 203.7 GB disk1s1

2: APFS Volume Preboot 36.4 MB disk1s2

3: APFS Volume Recovery 1.0 GB disk1s3

4: APFS Volume VM 2.1 GB disk1s4User uploaded fileUser uploaded file

Oct 23, 2017 10:51 AM in response to Loner T

Thank you for the help, here's the output.


diskutil apfs deleteVolume B3E7FE5D-67CA-4FF2-9FA2-124F1781E6D8

Started APFS operation

Deleting APFS Volume from its APFS Container

Unmounting disk3s1

Deleting Volume

Finished APFS operation

Michaels-MacBook-Pro:~ majesticdreams$ diskutil apfs deleteContainer 2355B4ED-7552-40CF-A201-DCE86A4511A5

Started APFS operation on disk3

Deleting APFS Container with all of its APFS Volumes

Unmounting Volumes

Deleting Volumes

Deleting Container

Wiping former APFS disks

Switching content types

Reformatting former APFS disks

Initialized /dev/rdisk0s4 as a 93 GB case-insensitive HFS Plus volume with a 8192k journal

Mounting disk

1 new disk created or changed due to APFS operation

Disk from APFS operation: disk0s4

Finished APFS operation on disk3

Michaels-MacBook-Pro:~ majesticdreams$ diskutil list

/dev/disk0 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *500.3 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_APFS Container disk1 392.0 GB disk0s2

3: Microsoft Basic Data OSXRESERVED 8.0 GB disk0s3

4: Apple_HFS Untitled 99.9 GB disk0s4


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +392.0 GB disk1

Physical Store disk0s2

1: APFS Volume Macintosh HD 203.7 GB disk1s1

2: APFS Volume Preboot 36.4 MB disk1s2

3: APFS Volume Recovery 1.0 GB disk1s3

4: APFS Volume VM 3.2 GB disk1s4

Oct 23, 2017 11:37 AM in response to Loner T

Okay. Thank you again. So far I'm here: Running BC Assistant now.

Michaels-MacBook-Pro:~ majesticdreams$ diskutil eraseVolume fat32 BOOTCAMP disk0s3

Started erase on disk0s3 BC1

Unmounting disk

Erasing

4096 bytes per physical sector

/dev/rdisk0s3: 210755392 sectors in 3293053 FAT32 clusters (32768 bytes/cluster)

bps=512 spc=64 res=32 nft=2 mid=0xf8 spt=32 hds=255 hid=766035968 drv=0x80 bsec=210806912 bspf=25728 rdcl=2 infs=1 bkbs=6

Mounting disk

Finished erase on disk0s3 BOOTCAMP

Nov 7, 2017 6:13 PM in response to Loner T

Dear Loner T, I'm in the same boat, I've seen you post this Terminal fix in other places, but I don't follow it all. Your expertise would be much appreciated.


(I wonder if this is a bit of a bug, it seems that BC doesn't like the switch to APFS, and BC no longer has a remove Windows partition command, or at least I don't get that option. But I do accept that my monkeying around with Disk Utility was not a good idea either!)


Last login: Mon Nov 6 08:27:40 on ttys000

MacBook-Pro-44:~ tktaylor$ diskutil list

/dev/disk0 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *251.0 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_APFS Container disk1 209.3 GB disk0s2

3: Apple_KernelCoreDump 655.4 MB disk0s3

4: Apple_APFS Container disk6 40.8 GB disk0s4


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +209.3 GB disk1

Physical Store disk0s2

1: APFS Volume kt44 170.1 GB disk1s1

2: APFS Volume Preboot 30.9 MB disk1s2

3: APFS Volume Recovery 523.4 MB disk1s3

4: APFS Volume VM 3.2 GB disk1s4


/dev/disk2 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme +500.0 GB disk2

1: EFI EFI 209.7 MB disk2s1

2: Apple_HFS Time Machine Backups 499.7 GB disk2s2


/dev/disk6 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +40.8 GB disk6

Physical Store disk0s4


MacBook-Pro-44:~ tktaylor$ diskutil cs list

No CoreStorage logical volume groups found

MacBook-Pro-44:~ tktaylor$ diskutil apfs list

APFS Containers (2 found)

|

+-- Container disk1 DEDFB0F1-9BF9-403F-B51B-98B0F79E8F29

| ====================================================

| APFS Container Reference: disk1

| Capacity Ceiling (Size): 209348177920 B (209.3 GB)

| Capacity In Use By Volumes: 174024040448 B (174.0 GB) (83.1% used)

| Capacity Available: 35324137472 B (35.3 GB) (16.9% free)

| |

| +-< Physical Store disk0s2 947F0D13-831E-4933-94BC-537093B32322

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

| | APFS Physical Store Disk: disk0s2

| | Size: 209348177920 B (209.3 GB)

| |

| +-> Volume disk1s1 06B87DB3-A571-353E-92C1-E1943EFFC760

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

| | APFS Volume Disk (Role): disk1s1 (No specific role)

| | Name: kt44 (Case-insensitive)

| | Mount Point: /

| | Capacity Consumed: 170113929216 B (170.1 GB)

| | FileVault: Yes (Unlocked)

| |

| +-> Volume disk1s2 4922D8DC-8640-45F0-A977-CAE604A7E305

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

| | APFS Volume Disk (Role): disk1s2 (Preboot)

| | Name: Preboot (Case-insensitive)

| | Mount Point: Not Mounted

| | Capacity Consumed: 30859264 B (30.9 MB)

| | FileVault: No

| |

| +-> Volume disk1s3 75791FCA-1296-4A5A-9C95-99E6C98456EC

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

| | APFS Volume Disk (Role): disk1s3 (Recovery)

| | Name: Recovery (Case-insensitive)

| | Mount Point: Not Mounted

| | Capacity Consumed: 523366400 B (523.4 MB)

| | FileVault: No

| |

| +-> Volume disk1s4 C12D1922-BD5B-467E-B5C1-3617CD8837AA

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

| APFS Volume Disk (Role): disk1s4 (VM)

| Name: VM (Case-insensitive)

| Mount Point: /private/var/vm

| Capacity Consumed: 3221340160 B (3.2 GB)

| FileVault: No

|

+-- Container disk6 49D4ED7D-9688-44FE-8D8E-A2142755A3A6

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

APFS Container Reference: disk6

Capacity Ceiling (Size): 40786898944 B (40.8 GB)

Capacity In Use By Volumes: 92897280 B (92.9 MB) (0.2% used)

Capacity Available: 40694001664 B (40.7 GB) (99.8% free)

|

+-< Physical Store disk0s4 C15F6139-A107-43D8-9BAE-4D13258EF23A

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

| APFS Physical Store Disk: disk0s4

| Size: 40786898944 B (40.8 GB)

|

+-> No Volumes

MacBook-Pro-44:~ tktaylor

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.

Partition unrecoverable/ Lost Space

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