Erased MacOS while dual-booting windows

I was trying to dual-boot Mac and My Windows and as I was using Mac mini 2012 it was showing an error Windows cannot be installed to this disk. The selected disk has an MBR partition table. On EFI systems, Windows can only be installed to GPT disks So I was watching a fix on YouTube which asked to use diskpart and clean the drive then I realised my Mac os was cleaned. So I just continued to install windows and made a disk partition and left space for the macos


Could someone help me figure out on how to install Mac os back

Mac mini, macOS 14.6

Posted on Aug 13, 2024 10:35 AM

Reply
Question marked as Top-ranking reply

Posted on Aug 13, 2024 1:56 PM

  1. Backup Windows.
  2. Hold Option-Comand-R imediately on restart/power-on to enter internet recovery mode. Use macOS Recovery on an Intel-based Mac - Apple Support


The hard part isn't reinstalling MacOS... the hard part is not erasing Windows in the process (or then re-erasing MacOS when you reinstall windows). Your options are:

A. Reinstall windows using BootCamp Assistant. Install Windows 10 on your Mac with Boot Camp Assistant - Apple Support

B. Install MacOS and Windows on different drives. Since it appears you already have Windows on the inernal drive, get yourselve an external USB SSD to reinstall MacOS onto. Use an external storage device as a Mac startup disk - Apple Support

C. Use a 3rd party boot manager utility. (3rd party software not supported by Apple. Exercise left for reader.)




1 reply
Question marked as Top-ranking reply

Aug 13, 2024 1:56 PM in response to subrahmanyam179

  1. Backup Windows.
  2. Hold Option-Comand-R imediately on restart/power-on to enter internet recovery mode. Use macOS Recovery on an Intel-based Mac - Apple Support


The hard part isn't reinstalling MacOS... the hard part is not erasing Windows in the process (or then re-erasing MacOS when you reinstall windows). Your options are:

A. Reinstall windows using BootCamp Assistant. Install Windows 10 on your Mac with Boot Camp Assistant - Apple Support

B. Install MacOS and Windows on different drives. Since it appears you already have Windows on the inernal drive, get yourselve an external USB SSD to reinstall MacOS onto. Use an external storage device as a Mac startup disk - Apple Support

C. Use a 3rd party boot manager utility. (3rd party software not supported by Apple. Exercise left for reader.)




This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Erased MacOS while dual-booting windows

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