How to remove Linux and install Windows
Updated: 07/13/2023 by Computer Hope
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.
- Boot from a bootable floppy diskette or bootable CD containing the fdisk.exe and debug files.
- 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.
- 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.
- 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.
- Finally, for Windows 95 and Windows 98 users, run the setup program for your operating system.