If you have a dual-boot computer system with Linux and Windows operating systems, you probably know that when you start your computer, it shows Linux boot loader at startup which contains Linux and Windows boot entries. If you select Windows from the OS list, it starts Windows and if you select Linux, it boots into Linux distro.
Imagine a situation when you want to remove/uninstall Linux from your system and want to use only Windows operating system, how will you do it?
Many times people directly delete or format the hard disk partitions which contain Linux operating system but it doesn't completely remove Linux. The Linux boot loader still appears at system startup but since you deleted Linux partitions, the boot loader gets corrupted and your system becomes unbootable.
If you are also facing this problem or if you have faced this problem in past and could not get a working solution, then this tutorial will definitely help you.
This tutorial will help you in completely removing or uninstalling Linux operating system and its boot loader from a dual-boot computer:
STEP 1: Remove Linux Boot Loader from Startup
Before deleting or formatting Linux partitions, you'll need to remove Linux boot loader from system startup.
You'll need to boot using Windows setup disc. You can use setup disc of any Windows version such as Windows 98, Windows 2000, Windows XP, Windows Vista, Windows 7 or later.
Using Windows Vista, Windows Server 2008, Windows 7, Windows 8 or later DVD:
Boot using setup disc and DO NOT click on "Install now" button. Look for a link "Repair your computer" present in bottom-left corner of the window, click on it.
It'll open a new window, do not change anything and click on Next button. Now setup will show "System Recovery Options" screen where you can perform startup repair, system restore, etc. Click on "Command Prompt" link given at the bottom of the list.
It'll open Command Prompt window, now run following command:
bootsect /nt60 SYS /mbr
Exit from Command prompt and restart your system.
Using Windows 2000, Windows XP or Windows Server 2003 CD:
Boot using setup disc and enter into "Recovery Console" by pressing "R" key, select your Windows installation and enter Administrator password. If you don't have any password, press Enter key. Now run following command:
Press "Y" to confirm and type Exit to exit from recovery console.
Using Windows 98 CD:
Boot into Command Prompt and run following command:
Exit from command prompt by typing Exit and press Enter.
Above steps will remove the Linux boot loader from startup and you'll directly boot into Windows operating system.
STEP 2: Delete or Format Linux Partitions
Now you can safely delete or format hard disk partitions which contained Linux operating system. You can delete/format them using "Disk Management" tool in Windows as mentioned in following tutorial:
Other similar articles that may interest you
- Add “Desktop Shortcuts” Cascading Menu in My Computer Context Menu in Windows 7 and Later
- How to Change Email Storage Location in Windows Live Mail (WLM)?
- Download Windows 7 Free Public Beta
- PC Decrapifier: Remove Unwanted Programs from Branded PCs
- [Guide] How to Take Ownership (Permission) of a Registry Key in Windows?
- Microsoft Talks About Windows 8 Metro UI and Desktop, Two Interfaces in One OS