Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

i recently installed windows to my mac and i have just formatted my mac os hard drive on windows by a mistake. now i cannot start my mac on mac os.how to reinstall mac os to my mac...please help..

I recently installed Windows to my Mac and I have just formatted my mac os hard drive on windows mistakenly while I was making a new hard drive partition on Windows. now i cannot start my mac on mac os.how to reinstall mac os to my mac...please help..

Mac Pro, macOS Sierra (10.12.5), now have windows 10pro

Posted on Jun 23, 2017 1:28 PM

Reply
Question marked as Best reply

Posted on Jun 23, 2017 2:24 PM

You can try reinstalling by rebooting and holding command+r to recover the OSX install. Warning: This will NOT install Sierra. It will install whatever OS the Mac came with. For more info click here -----> How to reinstall macOS - Apple Support

5 replies

Jun 23, 2017 2:23 PM in response to abstainer

Hey abstainer,

do you have a bootable macOS USB? If so, use another OS X computer. Insert your USB. Download macOS from the featured tab on the app store. Quit the OSX installer. Open Spotlight (the magnifying glass in the right top corner. Type in terminal. Type in this for Sierra:

sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install\ macOS\ Sierra.app

Example for El Capitan: sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath

Yosemite:

sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install\ OS\ X\ Yosemite.app

Example for Mavericks: sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install\ OS\ X\ Mavericks.app. Replace /Volumes/MyVolume with your USB name. For example, if your USB is named USB, Change it to /Volumes/USB. Next time, use Boot Camp to install Windows. Don't make a new partition. Please tell me if this helped you!

i recently installed windows to my mac and i have just formatted my mac os hard drive on windows by a mistake. now i cannot start my mac on mac os.how to reinstall mac os to my mac...please help..

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.