Missing Windows 10 Partition - Huge problem!

Hello tech experts of Apple,


I own a Late 2013 MacBook Pro 512GB.


I was installing Windows 10 via a USB drive, and I allocated 100GB for the Windows Partition.


Towards the end of the partitioning process, my laptop crashed. I rebooted the computer, holding down the 'option' key, and I was able to choose and boot into the Windows installation screen. However, during the installation process, the partition page did not show the 100GB of storage I allocated for Windows, instead it only showed the total storage of my computer, which was 467GB. This means the 100GB partition was missing!


So I rebooted back to MacOS. I opened Bootcamp and the uninstall Windows partition option was greyed out. I opened Disk Utility and in the partition page I can't even see the Windows Bootcamp partition!

User uploaded file


User uploaded file

Now what do I do?


Thank you!

Posted on Apr 10, 2017 1:37 PM

Reply
52 replies

Apr 11, 2017 12:47 PM in response to 13yhby

Assuming SIP is disabled, use the following commands (do not type text like this).


sudo gdisk /dev/disk0

m (Main)

d (delete)

1 (GPT1)

d (delete)

2 (GPT2)

n (new)

1 (GPT 1)

40 (Start)

+409600 (Size. Notice the "+" sign).

EF00 (EFI)

n (new)

2 (GPT 2)

409640 (Start)

+975425848 (Size. Notice the "+" sign).

AF00 (HFS+)

n (new)

3 (GPT 3)

975835488 (Start)

+1269536 (Size. Notice the "+" sign).

AB00 (Apple Boot)

p (print)

w (write)

y (Confirm write)

q (quit, if necessary)



Reboot and test booting OS X. If it works, run


diskutil repairDisk disk0


If everything is clean, back up OS X, and then try BC/Windows installation.

Apr 10, 2017 6:40 PM in response to Loner T

I apologise I cannot!


Re: Lost Space After Removing Bootcamp Partition


I've been looking through online solutions and found your solution for this person! However, it is not working for me... I followed some tutorials online and now when I type "diskutil cs list", it shows the following:


Last login: Tue Apr 11 02:34:57 on ttys000

Bens-MacBook-Pro-2:~ beny$ diskutil cs list

CoreStorage logical volume groups (1 found)

|

+-- Logical Volume Group 9A296EFB-E9AB-4C52-A2B0-5380FCE71035

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

Name: Macintosh HD

Status: Online

Size: 499418034176 B (499.4 GB)

Free Space: 100065767424 B (100.1 GB)

|

+-< Physical Volume 42A5EE07-759C-4EA0-88DC-BE694439A27C

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

| Index: 0

| Disk: disk0s1

| Status: Online

| Size: 499418034176 B (499.4 GB)

|

+-> Logical Volume Family 98BB20B2-A382-4139-9EC5-D6698DA008D2

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

Encryption Type: AES-XTS

Encryption Status: Unlocked

Conversion Status: Converting (backward)

Reversion State: Reverting

High Level Queries: Not Fully Secure

| Has Visible Users

| Has Volume Key

|

+-> Logical Volume C9FEA98A-E7BF-4CCF-9345-9244B1A3F051

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

Disk: disk1

Status: Online

Size (Total): 398999945216 B (399.0 GB)

Conversion Progress: 63%

Revertible: Yes (unlock and decryption required)

LV Name: Macintosh HD

Volume Name: Macintosh HD

Content Hint: Apple_HFS

Notice the conversion process for the Logical Volume.

Apr 10, 2017 2:08 PM in response to Loner T

Last login: Mon Apr 10 22:03:02 on ttys000

Bens-MacBook-Pro-2:~ beny$ diskutil list

/dev/disk0 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *500.3 GB disk0

1: Apple_CoreStorage Macintosh HD 499.4 GB disk0s1

2: Apple_Boot Recovery HD 650.0 MB disk0s2


/dev/disk1 (internal, virtual):

#: TYPE NAME SIZE IDENTIFIER

0: Apple_HFS Macintosh HD +399.0 GB disk1

Logical Volume on disk0s1

C9FEA98A-E7BF-4CCF-9345-9244B1A3F051

Unlocked Encrypted


Bens-MacBook-Pro-2:~ beny$ diskutil cs list

CoreStorage logical volume groups (1 found)

|

+-- Logical Volume Group 9A296EFB-E9AB-4C52-A2B0-5380FCE71035

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

Name: Macintosh HD

Status: Online

Size: 499418034176 B (499.4 GB)

Free Space: 100065767424 B (100.1 GB)

|

+-< Physical Volume 42A5EE07-759C-4EA0-88DC-BE694439A27C

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

| Index: 0

| Disk: disk0s1

| Status: Online

| Size: 499418034176 B (499.4 GB)

|

+-> Logical Volume Family 98BB20B2-A382-4139-9EC5-D6698DA008D2

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

Encryption Type: AES-XTS

Encryption Status: Unlocked

Conversion Status: Complete

High Level Queries: Fully Secure

| Passphrase Required

| Accepts New Users

| Has Visible Users

| Has Volume Key

|

+-> Logical Volume C9FEA98A-E7BF-4CCF-9345-9244B1A3F051

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

Disk: disk1

Status: Online

Size (Total): 398999945216 B (399.0 GB)

Revertible: Yes (unlock and decryption required)

LV Name: Macintosh HD

Volume Name: Macintosh HD

Content Hint: Apple_HFS

Bens-MacBook-Pro-2:~ beny$

Done! Only experts like you would understand this. Haha.

Apr 10, 2017 2:18 PM in response to Loner T

Just double-checking, do I type "y" after this?


Last login: Mon Apr 10 22:17:30 on ttys000

Bens-MacBook-Pro-2:~ beny$ diskutil cs resizeVolume C9FEA98A-E7BF-4CCF-9345-9244B1A3F051 0g

The Core Storage Logical Volume UUID is C9FEA98A-E7BF-4CCF-9345-9244B1A3F051

Started CoreStorage operation

Error: -69674: The provided Core Storage logical volume has an incorrect size; you should run whole-disk repair

Bens-MacBook-Pro-2:~ beny$ diskutil repairDisk disk0

Repairing the partition map might erase disk0s1, proceed? (y/N)


Apr 10, 2017 2:26 PM in response to Loner T

Okay! Rebooted and entered "diskutil cs list" and got this.


Last login: Mon Apr 10 22:25:27 on console

Bens-MacBook-Pro-2:~ beny$ diskutil cs list

CoreStorage logical volume groups (1 found)

|

+-- Logical Volume Group 9A296EFB-E9AB-4C52-A2B0-5380FCE71035

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

Name: Macintosh HD

Status: Online

Size: 499418034176 B (499.4 GB)

Free Space: 100065767424 B (100.1 GB)

|

+-< Physical Volume 42A5EE07-759C-4EA0-88DC-BE694439A27C

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

| Index: 0

| Disk: disk0s1

| Status: Online

| Size: 499418034176 B (499.4 GB)

|

+-> Logical Volume Family 98BB20B2-A382-4139-9EC5-D6698DA008D2

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

Encryption Type: AES-XTS

Encryption Status: Unlocked

Conversion Status: Complete

High Level Queries: Fully Secure

| Passphrase Required

| Accepts New Users

| Has Visible Users

| Has Volume Key

|

+-> Logical Volume C9FEA98A-E7BF-4CCF-9345-9244B1A3F051

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

Disk: disk1

Status: Online

Size (Total): 398999945216 B (399.0 GB)

Revertible: Yes (unlock and decryption required)

LV Name: Macintosh HD

Volume Name: Macintosh HD

Content Hint: Apple_HFS

Bens-MacBook-Pro-2:~ beny$

Apr 10, 2017 7:10 PM in response to Loner T

Sure.


Bens-MacBook-Pro-2:~ beny$ diskutil list

/dev/disk0 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *500.3 GB disk0

1: Apple_HFS Macintosh HD 499.4 GB disk0s1

2: Apple_Boot Recovery HD 650.0 MB disk0s2


/dev/disk1 (external, physical):

#: TYPE NAME SIZE IDENTIFIER

0: FDisk_partition_scheme *15.6 GB disk1

1: DOS_FAT_32 WININSTALL 15.6 GB disk1s1


/dev/disk2 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: CCSA_X64FRE_EN-US_DV5 +4.4 GB disk2


Bens-MacBook-Pro-2:~ beny$ diskutil cs list

No CoreStorage logical volume groups found

Apr 10, 2017 7:34 PM in response to Loner T

Here you go.


Bens-MacBook-Pro-2:~ beny$ diskutil repairDisk disk0

Repairing the partition map might erase disk0s1, proceed? (y/N) y

Started partition map repair on disk0

Checking prerequisites

Checking the partition list

Adjusting partition map to fit whole disk as required

Checking for an EFI system partition

Problems were encountered during repair of the partition map

Error: -69767: This disk doesn't contain an EFI system partition; if you want to start up your computer with this disk or include it in a RAID set, back up your data and partition this disk

Bens-MacBook-Pro-2:~ beny$ diskutil list

/dev/disk0 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *500.3 GB disk0

1: Apple_HFS Macintosh HD 499.4 GB disk0s1

2: Apple_Boot Recovery HD 650.0 MB disk0s2


/dev/disk1 (external, physical):

#: TYPE NAME SIZE IDENTIFIER

0: FDisk_partition_scheme *15.6 GB disk1

1: DOS_FAT_32 WININSTALL 15.6 GB disk1s1


/dev/disk2 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: CCSA_X64FRE_EN-US_DV5 +4.4 GB disk2


/dev/disk3 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: Boot Camp +2.8 GB disk3


Bens-MacBook-Pro-2:~ beny$

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.

Missing Windows 10 Partition - Huge problem!

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