Lost boot camp Windows during upgrade to El Capitan

I have 24-inch Mid 2007 iMac. I was using Boot Camp so that I could also boot into Windows Vista. I recently upgraded successfully from Mountain Lion to Yosemite. But then I attempted to upgrade to El Capitan, and the upgrade hung in the middle, never to finish. I then restarted my iMac and both Mac and Windows partitions were gone. I was able to use Time Machine to recreate my Yosemite instance, but the Windows partition was still missing. Furthermore, when I try to create a new partition with Boot Camp, , I get an error that says "the startup disk cannot be partitioned or restored to a single partition." How do I recreate my WIndows partition (I do have a backup) and my current Yosemite partition.

Posted on Dec 15, 2015 7:58 AM

Reply
58 replies

Dec 15, 2015 10:51 AM in response to Loner T

Macintosh:~ Scott$ diskutil list

/dev/disk0

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *500.1 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Microsoft Basic Data 248.4 GB disk0s2

3: Apple_Boot Recovery HD 650.0 MB disk0s3

4: Apple_Boot Recovery HD 650.0 MB disk0s4

5: Apple_HFS Macintosh HD 250.1 GB disk0s5

/dev/disk1

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *500.1 GB disk1

1: EFI EFI 209.7 MB disk1s1

2: Apple_HFS Gordon Mac backup 499.8 GB disk1s2



Macintosh:~ Scott$ diskutil cs list

No CoreStorage logical volume groups found

Macintosh:~ Scott$


Macintosh:~ Scott$ sudo fdisk /dev/disk0

Disk: /dev/disk0 geometry: 60801/255/63 [976773168 sectors]

Signature: 0xAA55

Starting Ending

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

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

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

2: 07 1023 254 63 - 1023 254 63 [ 409640 - 485058592] HPFS/QNX/AUX

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

4: AB 1023 254 63 - 1023 254 63 [ 486737768 - 1269536] Darwin Boot


Macintosh:~ Scott$ sudo gpt -vv -r show /dev/disk0

gpt show: /dev/disk0: mediasize=500107862016; sectorsize=512; blocks=976773168

gpt show: /dev/disk0: Suspicious MBR at sector 0

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

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

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 485058592 2 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

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

486737768 1269536 4 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

488007304 376

488007680 488503304 5 GPT part - 48465300-0000-11AA-AA11-00306543ECAC

976510984 262151

976773135 32 Sec GPT table

976773167 1 Sec GPT header

Macintosh:~ Scott$

Dec 15, 2015 12:24 PM in response to scottieg

1. The disk layout is a very strange one.

2. You have two Recovery HD disks. The hung El Capitan upgrade may have left the second recovery HD.

3. If you restored from TM, did you restore Yosemite or Mountain Lion?

4. Usually, the first partition (GPT2) is the OSX version, but your disk has a Microsoft Basic Data as GPT2.

5. GPT5 says it is OSX.

6. Your MBR (Fdisk) output has not entry for a Windows partition any more. It may have been the result of killing the ELC upgrade. Did you get any errors during the ELC upgrade to indicate that it was hung.

7. The number of partitions which are user visible (GPT2 and GPT5) will prevent any further partitioning using BC Assistant.

Dec 15, 2015 12:52 PM in response to Loner T

Thank you for those points. When I did the restore, from TM, I restored Yosemite. I suspect that I recored to one of the earlier recovery disks, hence it is not the first partition. And when I was doing the ELC upgrade, no errors. The progress bar just stopped. And stayed stopped all night. Right after a perfect upgrade to Yosemite. Grrr.


Can I somehow start from scratch and remove all the partitions, and reformat the whole thing, reinstall OSX, then BootCamp, then Windows? But all that might be above my skill level.

Dec 15, 2015 5:48 PM in response to scottieg

You have a bootable OS X installation. Go to App Store and re-download the Yosemite installer. If you have an external HDD, please install Yosemite on this external disk (USB/Firewire) using How to install OS X on an external drive connected to your Mac - Apple Support . Once you have it installed on this disk, boot from it and test and then we can clean up the internal disk. You may not need your Tiger restore disks. 😉

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.

Lost boot camp Windows during upgrade to El Capitan

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