OSX partition failed
There is a solution to your problem:

Filesystem verification can be stopped by booting to single-user mode, and then typing in order:

/sbin/fsck -fy
reboot


Could not unmount disk is because you are probably using it. Try booting from Recovery HD. If problem persists, boot Recovery from USB or use Internet Recovery to partition disk.