How to remove Linux and install Windows

Updated: 07/13/2023 by Computer Hope
Tux the Linux penguin.

Users who have installed Linux may find it difficult to install Microsoft Windows afterward due to how Linux utilizes different partition information. This condition can cause errors during the install or first setup of Windows. The following steps show you how to completely remove Linux from the hard drive and install Windows.

  1. Boot from a bootable floppy diskette or bootable CD containing the fdisk.exe and debug files.
  2. Once at the MS-DOS prompt, you must delete all the partitions using the fdisk command. Sometimes, you may be unable to delete all the partitions. If this occurs, erase all the hard drive information using the debug routine found on our debug page.
  3. Recreate a primary partition using fdisk. If you are installing Windows 2000, Windows XP, or later versions, run the setup from the installation CD (compact disc) or DVD (digital versatile disc) and create the partitions through the setup program.
  4. If you are installing Windows 95 or Windows 98, after the partition is created and set as the active partition, format the partition using the format command.
  5. Finally, for Windows 95 and Windows 98 users, run the setup program for your operating system.