I have a 21.5" Mid-2010 iMac i3 in which I am trying to install Windows 8 on. When I went into bootcamp, I received the ever so common error of:
When I went to the newly designed disk utility, it told me I had one partition. Of course, I knew this couldn't be true, so i went into terminal and typed diskutil list and got:
OLD COMMAND OUTPUT, SEE EDIT 2 BELOW
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 498.6 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s6
4: Apple_Boot Recovery HD 650.0 MB disk0s5
Now, I did install an extra Yosemite partition, then deleted it using standard disk utility erase. I'm guessing thats why I have two recovery partitions. Now, I'm pretty sure this is the cause of the Bootcamp issue, but I want to know:
- Which partition to delete
- How to delete it in a (preferably safe) way that would make my hard disk "clean" of everything but my main Macintosh HD partition
Thanks
EDIT: I want to delete the extra recovery partition from my second installation of Yosemite.
Running sudo gpt-r show /dev/disk0 gave me:
OLD COMMAND OUTPUT, SEE EDIT 2 BELOW
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 973824416 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
974234056 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
975503592 1269536 4 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
976773128 7
976773135 32 Sec GPT table
976773167 1 Sec GPT header
EDIT 2: Reran the two commands:
iMac-i3:~ me$ diskutil list /dev/disk0
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 498.6 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Apple_Boot Recovery HD 650.0 MB disk0s4
iMac-i3:~ me$ sudo gpt -r show /dev/disk0
Password:
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 973824416 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
974234056 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
975503592 1269536 4 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
976773128 7
976773135 32 Sec GPT table
976773167 1 Sec GPT header
diskutilandgptconflict with each other. The 5 and 6 from disk0s6 and disk0s5 need to be indices from the type 426F6F74-0000-11AA-AA11-00306543ECAC partitions, but you posted indices of 3 and 4. As far as I know, this is not possible. I don't know, maybe you need to restart the computer and try again. – David Anderson Oct 17 '15 at 17:14