Hot answers tagged partition
Try to return everything back: diskutil resizevolume disk0s2 R and then: diskutil resizeVolume disk0s2 480G jhfsx InstallOSX 10G Resizing a volume that is currently set as the computer’s startup disk will invalidate that setting; use the Startup Disk System Preferences panel or bless (8) to reset the resized volume as the startup disk.
You show in your posted image that the partition is encrypted. I was unaware a partition could be encrypted without using core storage. Anyway, I believe the correct command to fix your drive is given below. sudo diskutil resizevolume /dev/disk0s2 R The command should move /dev/disk0s3 to the bottom of disk0 while resizing /dev/disk0s2 to maximum ...
I got it to work by using gptsync (downloaded from here). When I booted into recovery mode, I could open the terminal and run ./gptsync /dev/disk0. This created a hybrid MBR/GPT and allowed me to install Windows.
Only top voted, non community-wiki answers of a minimum length are eligible