Food

How to Get Rid of a Dual Boot and Keep One OS

By Hayride Live · Updated · 5 min read

Time: 1 hour. Cost level: Free. Difficulty: Moderate.

To remove a dual boot, you must delete the partition holding the second operating system, then repair the primary system’s bootloader so it starts directly into your main drive. This process requires using Windows Disk Management or macOS Disk Utility to erase the secondary volume, followed by running a system repair command to fix the startup sequence.

Backup Your Data

Before touching any partitions, back up all important files from both operating systems to an external hard drive or cloud storage. Deleting a partition is permanent and will erase everything on that drive instantly. If you are unsure which files belong to the secondary OS, copy them now. Do not proceed until you have verified your backup is complete and accessible from your primary computer.

Identify the Secondary Drive

You need to know exactly which drive holds the extra operating system. Boot into your primary operating system first. In Windows, open the Start menu, type “Disk Management,” and select “Create and format hard disk partitions.” Look for a partition labeled “Healthy” with no drive letter or one assigned to the OS you want to remove (often labeled EFI System Partition or Recovery). Note the drive number (e.g., Disk 1) and the size of the partition. In macOS, open “Disk Utility” from the Applications > Utilities folder. Identify the volume name of the second OS (e.g., “Macintosh HD – Data” or a custom name like “Linux”) and its size. Confirm this is the correct drive before deleting anything.

Delete the Partition in Windows

If your primary system is Windows and you are removing Linux or a second Windows install, follow these steps:

  1. Right-click the Start button and select “Disk Management.”
  2. Locate the partition corresponding to the secondary OS. It may be a large blue bar (Primary Partition) or a small red bar (Recovery Partition).
  3. Right-click the secondary partition and select “Delete Volume.” Confirm the warning that all data will be lost.
  4. The space will turn black and be labeled “Unallocated.” Right-click the unallocated space and select “New Simple Volume” to merge it back into your main C: drive, or leave it as free space for future use.

Delete the Partition in macOS

If your primary system is macOS and you are removing Windows (Boot Camp) or another Mac OS installation:

  1. Open “Disk Utility” from the Applications > Utilities folder.
  2. Select the volume of the secondary OS from the sidebar on the left.
  3. Click the “Erase” button at the top of the window.
  4. Name the volume “Free Space” or leave it blank, ensure the format is set to “Mac OS Extended (Journaled)” or “APFS” depending on your setup, and click “Erase.”
  5. Once finished, the space will appear as unallocated in the diagram at the bottom. Click “Partition” in the toolbar, select the main macOS volume, and click “+” to expand it into the freed space.

Repair the Bootloader

After deleting the partition, your computer may still try to load the missing OS or show a boot menu. You must fix the startup configuration.

For Windows Users:

  1. Open the Start menu, type “cmd,” right-click “Command Prompt,” and select “Run as administrator.”
  2. Type bcdedit /enum and press Enter. Look for entries referencing the deleted OS (often named “Windows Boot Manager” or similar).
  3. Type bcdedit /deletevalue {identifier} description to remove the reference, replacing {identifier} with the code shown in the enum list. Alternatively, run bootrec /fixmbr and bootrec /rebuildbcd to reset the master boot record.
  4. Restart the computer to verify it boots directly into Windows.

For macOS Users:

  1. Restart the Mac while holding the Option (Alt) key immediately after the chime.
  2. Select the main macOS volume from the boot manager screen.
  3. Hold the Option key again during the next restart to ensure only the primary drive appears. If the secondary drive persists, use Disk Utility to repartition the drive to overwrite the old boot sector.

Verify the Cleanup

Check that your primary drive has the expected amount of free space. Open File Explorer on Windows or Finder on macOS to confirm the secondary partition is gone. Run a quick system check to ensure all applications launch correctly. If the computer fails to start, you may need to perform a system restore from a backup created in step one.

Troubleshooting Common Issues

Symptom Cause Fix
Computer shows a black screen with white text on startup Bootloader still points to deleted partition Run bcdedit commands in Windows or reinstall GRUB in Linux
Secondary drive appears as “Raw” or unformatted Partition table corruption Use Disk Management or Disk Utility to format the drive
Boot menu lists two identical OS names Redundant boot entries Use msconfig (Windows) or rEFInd (macOS/Linux) to hide duplicate entries
Cannot delete partition because it is “in use” System file protection active Disable pagefile or hibernation temporarily via Command Prompt

Storage Space Reference

When merging partitions, ensure you have enough contiguous free space. A typical Windows installation requires 20 GB minimum, but 50 GB is recommended for updates. macOS typically needs 30-40 GB for the system and applications. Linux distributions vary widely; Ubuntu requires about 25 GB, while minimal installs can fit in 10 GB. Always leave 10-15% of any drive unallocated for system performance and temporary files.

Preventing Future Dual Boot Conflicts

If you plan to dual boot again, install the secondary OS last. This ensures its bootloader does not overwrite the primary system’s boot configuration. Use a separate physical drive for the secondary OS whenever possible to avoid partition conflicts. When installing, choose the “Custom” installation option and select the specific drive or partition manually. Never allow the installer to automatically format the entire disk unless you intend to wipe all data.

Checking Drive Health

After removing the dual boot, check the health of your remaining drive. In Windows, open Command Prompt as admin and type chkdsk C: /f to scan for errors. In macOS, use Disk Utility’s “First Aid” feature. These tools verify that the deletion process did not corrupt the file system structure. If errors are found, follow the on-screen prompts to repair them before continuing normal use.

What to Know About Secure Boot

Some modern computers use Secure Boot, which verifies the digital signature of the operating system. Removing a dual boot may temporarily disable Secure Boot if the secondary OS was used to manage keys. After cleanup, enter your BIOS/UEFI settings (usually by pressing F2, Del, or Esc during startup) and ensure Secure Boot is enabled if required by your primary OS. This setting enhances security against malware and unauthorized boot loaders.

Spotted a mistake? Tell us and we will correct it. How we write and check articles.