If you want to remove ubuntu then some people may ask “why not just delete Ubuntu partitions?”. No we can’t do like this because Ubuntu installs a boot loader called GRUB into the Master Boot Record (MBR), if you delete Ubuntu partitions all the data will be deleted but not GRUB! So when your restart your PC, GRUB will look for Ubuntu , when it does not find Ubuntu it show some error and you cannot even boot into windows. So here I’m going to show you two ways to safely remove Linux.
First (Using MbrFix)
- Download mbfix from here.
- Extract all files in mbrfix.zip to C:.
- Open Command Prompt (start->run-> type cmd -> OK).
- Type cd and press enter.
- Then type mbrfix /drive 0 fixmbr /yes and press enter.
- Now you can delete Ubuntu partitions (/, swap etc) using Easeus Partition Manager or Windows Disk Management or other partition editor.
- Restart your PC.
This will overwrite GRUB with Windows boot loader . So you will see Windows boot loader instead of GRUB.
Second (Using Windows CD)
XP Users:
- Boot your PC with Windows XP CD and select Repair.
- Then select the OS, once you are there you’ll have a command line.
- Type Administrator password. If Admin password is blank, just press Enter.
- Type fixmbr, and then press Enter.
- Restart PC.
- Delete Ubuntu Partitions.
Vista Users:
- Boot PC with Windows Vista installation disc.
- Select a language, a time, a currency, a keyboard or an input method, and then click Next.
- Click Repair your computer.
- Click the operating system that you want to repair, and then click Next.
- In the System Recovery Options dialog box, click Command Prompt.
- Type Bootrec.exe, and then press Enter.
- Delete Ubuntu Partitions.
This will also overwrite GRUB with Windows boot loader.
Leave a Reply