I had a problem with my Macbook that couldn't read the internal SSD and boot OS X, but I solve it: MacBook does not mount, does not boot, does not read drive .

I used resizeStack method to get the full size of the disk on OS X. The problem I have now is when I press ALT key on startup it shows two bootable disks. Macintosh HD and Windows. Windows was a partitioned disk I had for windows and is empty (maybe).

After using resizeStack it shouldn't be there. When I open Boot Camp Assistant to reinstall Windows, I get the message that there is an "error partitioning the disk".

Results of: sudo gpt -r show /dev/disk0 and sudo fdisk /dev/disk0


Solution 1:

I recommend the following:

  1. Boot to Recovery HD by pressing cmdR while starting your Mac, open Disk Utility and first check the superior disk, then inferior volume for errors and repair them if necessary.

  2. Boot to single user mode by pressing cmdS while starting your Mac and enter fsck -fy. If you get a message stating ""FILE SYSTEM WAS MODIFIED", reenter fsck -fy until you get the message "The volume … appears to be OK". Then enter reboot.

  3. If you still can't reinstall Windows with Boot Camp Assistant consider rebuilding the GUID partition table.