The operating system (OS) on your computer, installed on your hard drive, controls the basic functions of your computer system. It's used to open and run programs, it provides the visual user interface you use to easily locate files and it enables easy use of hardware like speakers or built-in webcams. That said, there are situations where you may wish to delete the OS from a drive. Whether you're upgrading to a new operating system or creating an external or secondary drive, deleting an OS can be accomplished in a few ways, depending on the OS you're working with.
Backups and Preparations
Before you remove the operating system from a hard drive, there are a handful of steps you'll want to complete as you prepare for the task. First and foremost, be sure to back up any and all files you wish to keep. Store them externally, somewhere disconnected from the hard drive you're working with. While some methods of removing operating systems will preserve personal files, there's always a risk of files getting deleted.
Next, you'll want to acquire or prepare a piece of boot media – a USB drive or rewritable disc loaded with an OS installation program. Boot media can be created in a variety of ways. Load the free Ubuntu Linux installer onto your USB drive or disc if you lack access to other OS installation programs.
Remove Windows and Linux Installations
Once your boot media is ready, it's relatively simple to remove Windows or Linux operating systems from your hard drive. Insert your boot media, then either use the installation program or your computer's Start or Launcher menu to restart your computer. If you use the latter, press the key noted on your computer's startup screen to access the Boot Menu. Use the arrow keys to select your boot media, then press "Enter" to boot from it.
When the OS installer on your boot media finishes loading, follow the initial instructions until you're asked what to do with the OS currently on your hard drive. Select the "delete installation" option and continue to delete the current Windows or Linux OS. You'll then be able to replace it with a new OS, either with your boot media or a different OS installer.
Deleting OS From Secondary Drives
If you want to delete the OS present on a secondary or external hard drive, no boot media is required. The fastest and easiest method is by (after backing up any data you wish to keep) connecting the drive to your computer and right clicking its icon when it appears in Windows Explorer, or its Linux or Mac equivalents. Select the "Format" option from the menu and follow the steps in the window that appears, and your drive will be clear and ready for new use.
Formatting to Remove Mac OS
Due to the way in which Mac computers are built, it's generally not the best idea to delete Mac OS X from the computer entirely. Doing so may risk rendering the computer entirely inoperable, unless you have the ability and/or tools required to access and remove the computer's hard drive. Instead, you can remove your current version of Mac OS X by formatting it from the System Restore menu.
To access it, begin by turning off your Mac after backing up your data. Turn it on and wait until the start-up sound plays, then press and hold the "Command" and "R" keys at the same time. When the Apple logo appears, release the keys. The menu that appears will ask you to connect to the internet before opening the System Restore options. Once you've done so, select the "disk utility" option and continue. Choose "Startup Disk" in the next menu, then click the "Erase" tab. Select "Mac OS Extended (Journaled)," name your disk and click "Erase" to begin the format. This will format the hard drive and reset your Mac's operating system to the factory default version, allowing you to upgrade it as desired.
- Microsoft: How to Remove Linux and Install Windows on Your Computer
- PC World: Remove That Extra Operating System and the Dual Boot
- Digital Citizen: How to Uninstall Windows 10, Windows 8.1, Windows 7 or Any Other Version
- Tech-FAQ: How to Delete the Operating System From a Computer
- EaseUS: Delete OS From A Hard Drive
- How-To Geek: How to Wipe Your Mac and Reinstall macOS From Scratch