Mac OS upgrade lion after Bootcamp partition installed WIN8 cannot enter, no way, under the Mac OS merged, also no, hint:
Your disk cannot be restored to a single partition.
Mount the Boocamp partition with the system's own disk tool, prompting that it cannot be mounted.
Online search a lot of ways, are recommended to use the system version of the reboot, the need to reinstall the system, which is undoubtedly unacceptable to me.
The Du Dong solution is as follows:
Open terminal, enter: sudo diskutil list
Then enter the system password and return to list all the disks that are mounted on the system:
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0:guid_partition_scheme *120.0 GB Disk0
1:efi 209.7 MB disk0s1
2:APPLE_HFS MacOS 35.0 GB disk0s2
3:apple_boot Recovery HD 650.0 MB disk0s3
4:microsoft Basic Data bootcamp 24.2 GB disk0s4
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0:fdisk_partition_scheme *500.1 GB Disk1
1:APPLE_HFS timemachine 80.1 GB disk1s1
2:windows_ntfs Data 420.0 GB disk1s2
What I want to delete bootcamp partition, enter the following command:
sudo diskutil erasevolume jhfs+ bootcamp disk0s4
Then reboot the system Disk utility, and you will find that the partition is mounted and unloaded before you can perform a merge operation:
sudo diskutil mergepartitions jhfs+ MacOS disk0s2 disk0s4