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

Bootcamp error while deleting partition

There was an error while restoring my HD on Boot Camp. Now my Windows partition has disappeared and my HD is still partitioned. I would be grateful if anyone could help me with this problem.

iMac, OS X Mavericks (10.9.5)

Posted on May 24, 2015 2:54 AM

Reply
9 replies

May 25, 2015 5:18 AM in response to Loner T

Recently when I tried to use the bootcamp assistant to restore my hard drive to just one partition by removing the Windows partition, an error came up during the process, and bootcamp crashed. Now the windows partition has disappeared from my computer. It says my macintosh HD only has 600 gb, while my HD is supposed to be 1TB, so i'm guessing this means that the HD is still partitioned. I opened bootcamp again, however now the assistant is acting like there is no Windows partition and is asking me if I want to install Windows. I hope i explained well enough.


if I remember correctly the error message that came up was -


Your disk could not be restored to a single partition.

An error occurred while restoring the disk to a single partition.



I would be so grateful if you could help me out with this. Thank you.

May 25, 2015 6:47 AM in response to ravindu94

This is a known issue with Yosemite and CoreStorage volumes and can happen if BCA crashes before it finishes what it is supposed to do.


Please post the output of the following commands from OS X Terminal.


diskutil list

diskutil cs list

sudo gpt -vv r- show /dev/disk0


Sudo commands require your password which will not be echoed back to you. It may also warn you about improper use and potential data loss.

May 25, 2015 7:40 AM in response to Loner T

This is what i get when i type in your code -


192-168-1-7:~ rav$ diskutil list

/dev/disk0

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *1.0 TB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_HFS Macintosh HD 696.5 GB disk0s2

3: Apple_Boot Recovery HD 650.0 MB disk0s3

/dev/disk1

#: TYPE NAME SIZE IDENTIFIER

0: Apple_partition_scheme *16.1 MB disk1

1: Apple_partition_map 32.3 KB disk1s1

2: Apple_HFS Flash Player 16.0 MB disk1s2

192-168-1-7:~ rav$ diskutil cs list

No CoreStorage logical volume groups found

192-168-1-7:~ rav$ sudo gpt -vv r- show /dev/disk0

gpt: unknown command: r-

192-168-1-7:~ rav$

May 25, 2015 10:00 PM in response to Loner T

This is what i get -


Last login: Tue May 26 00:38:47 on ttys000

192-168-1-7:~ rav$ sudo gpt -vv -r show /dev/disk0

Password:

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

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

1360732376 1269544 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

1362001920 591523215

1953525135 32 Sec GPT table

1953525167 1 Sec GPT header

192-168-1-7:~ rav$

May 26, 2015 2:13 AM in response to ravindu94

The simplest and safest option is


1. Back up OSX using Time Machine - Mac Basics: Time Machine backs up your Mac - Apple Support.

2. Boot into Internet Recovery - OS X: About OS X Recovery - Apple Support.

3. Erase your internal drive and restore from the TM backup in Step 1 - OS X Yosemite: Recover your entire system.


Please be aware that TM does not backup Bootcamp partitions.

May 26, 2015 2:42 AM in response to ravindu94

The Free Space that is after Recovery HD is meant to be added to your OS X partition after Recovery HD is relocated to the end of the disk. BCA can fail causing this hole. The manual method also requires erasing Recovery HD and then re-installing OS X to get it back. The TM method is safer and creates a fresh backup.

Bootcamp error while deleting partition

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