ghacks Technology News

How to remove the Linux bootloader

A friend of mine installed Linux next to Windows XP a few weeks ago and did not like it that much and decided to get rid of it. The problem that he faced was that the Linux bootloader was still showing up when he started his system. He was not able to figure out what to do about it and asked me if I knew a way to remove the Linux bootloader from his system so that Windows XP would start immediately.

I actually knew several methods on how to fix the MBR (Master Boot Record) to get rid of the Linux bootloader. There was however only one way that would safely fix the MBR and remove the Linux bootloader from it. I’m saying safely because it can happen that methods such as Fdisk /mbr would require a reactivation of the Windows operating system.

MBR Fix is a small command line freeware for Windows that makes it possible to fix the Master Boot Record from the command line of your operating system. Just download the tool, open the command line and type

MbrFix /drive 0 fixmbr /yes

to fix the MBR and remove the Linux bootloader.

Enjoyed the article?: Then sign-up for our free newsletter or RSS feed to kick off your day with the latest technology news and tips, or share the article with your friends and contacts on Facebook or Twitter.

Related Articles:

How to Repair the Vista Bootloader
Get to know Linux: Grub2
Linux Command Line Fu
Remove Stored .Net User Names and Passwords
The different ways to execute a Linux application



About the Author:Martin Brinkmann is a journalist from Germany who founded Ghacks Technology News Back in 2005. He is passionate about all things tech and knows the Internet and computers like the back of his hand. You can follow Martin on Facebook or Twitter.

Author: , Monday August 6, 2007 -
Tags:, , , ,


Responses so far:

  1. Faust-C says:

    You do the reverse of what me and my people do, we remove the windows bootloader. But then linux isnt for everyone…

  2. Martin says:

    Some like it this way, others like it another way. The friend is an avid gamer and that’s probably the main reason for his decision.

  3. Jonathan says:

    I normally use ‘fixmbr’ or ‘fixboot’ in recovery mode (an option you have when boot with a Windows XP Install Disc.

  4. i think you can do it from linux too. if i am not mistaken, it is
    # lilo -u (as root)
    if you are using lilo that is.

  5. schizo says:

    When one dual boots ubuntu and windows ubuntu appears in the boot order as the first option is there some way of making XP the first?

    thanks

  6. unixostamer says:

    @schizo
    edit ur grub.conf file. just cut windows part n put it before ubuntu part. thats all

  7. MrCool says:

    I was fooling around with installing Ubuntu onto my laptop, so I could practice WiFi things, when I decided that Ubuntu isn’t as good as SuSe, so I deleted the partition and forgot about the boot loader…so I kept getting the Error 22. I used this sweet ass program, and BAM, I am back in business like it never happened! By far the best program that I have used in a long time, wish I would have had this sooner
    Thanks!!

  8. Aleksander says:

    Greetz from Poland,
    foud this software in Goggle and it work also for me.

    My PC is Windows7. I run this soft normaly from command line in Win7 but get error nr:5 with: “dening acces” :( but come to conclusion – after a while – that can run MbrFix in Safe mode by pressing F8 at the start up of operation system and I am back in buissnes with removing Grub loader from linux from MBR at my HDD. THANX for that soft!!!!

Leave a Reply   Follow Ghacks   Subscribe To Comment Rss

Subscribe without commenting

© 2005-2012 Ghacks.net. All Rights Reserved. Privacy Policy - About Us