Uninstall Linux: Fix MBR from within Windows XP

Posted: 07/02/2009 in Software
Tags: , , , , ,

(serious folks can skip the bullshite and start reading from “just fix it” below)

As a gift to myself for putting up a blog (not using the word “having” for I fear this domain may cease to exist without your prior knowledge), I am unleashing the geek in me with this first post. Actually, the only reason I would continue to actively maintain this online “journal” would be solely for magnificently geeky purposes (software, hardware, geekwear etc). Do not expect gay (in the correct form of the term) stuff like images of my sexy fierce face, body and all that is me with daily write-ups documenting my trips to the toilet, refrigerator and all that shebang.

Without further delay like a second-hand DC-10 refuelling in Mumbai, let us depart.

Right, so you want to uninstall or “delete” Linux. If you want to delete anything else, there is always right-click (or ctrl-click for Macgays). Alright, let us stop being too funny.

A Master Boot Record is the first sector of your Hard Disk Drive (HDD) containing information on what software (Operating System; software to run many many software) to start upon the failure of yourself. Please look up Wikipedia for a worse explanation. In the event that someone or something overwrites this sector, ultimately leading to a modified MBR, and there is a need for it to be returned to its original state, almost everyone does the following:

  • Frantically search for the Windows XP Recovery CD
  • Frantically search for the Windows XP Recovery CD again after failing round 1
  • Boot the Windows XP Recovery CD
  • Stare at the black screen
  • Find a spare computer
  • Log on to the local hardware forum
  • Post about the problem on the local hardware forum
  • Post about the problem on all forums you can understand
  • Boot the Windows XP Recovery CD
  • Follow the answers to your nOob post
  • Go into the Recovery Console
  • Type fixmbr
  • Pray

You can save yourself from the horrors of the above method by reading on. A great search on the internet made a great revelation once when I was in your shoes (not really but let me just dumb down for you); a certain MbrFix. What this does is, yes, lets you restore MBR from within Windows!

“ZOMG”? Yeah, baby!

OK OK Now Let’s Just Fix It!

First, get the utility here.

Double-click on it and your browser will probaby pop up with a new tab, window, or it will just pop up itself. All you would need to do to be able to boot Windows again without having to deal with gibberish like “GRUB” or “LILO” would be to read whatever you have been popped with. For the benefit of the dee’dee’dees, here is some step-by-step custom spoonfeeding from my highness:

  • Move that downloaded thing to C:\WINBLOWS
  • Go to Start > Run
  • Type in cmd
  • Now you have a black box (and you are afraid)
  • Type in mbrfix /drive 0 fixmbr /yes

The above assumes that you are trying to restore the MBR on your first Hard Disk. Subsequent ones will be numbered from 1 onwards. Thank the geek who wrote that program and those that spread the word, like myself and a lot of other geeks and/or nerds before me.

You may now want to delete the partitions Linux used to keep for himself (by the way nobody knows the penguin’s gender except me). If you then want to extend a current partition to use up the freed space (and you are not on Windows Vista or 7), see this. Otherwise, it can be done with the disk management tool found somewhere deep inside Control Panel.

I am not sure whether all the information that I have provided you with is dependent on the version of Windows, like if you have “Home” instead of “Professional”. What nonsense, I have to go now (you can stay home and watch Porn if it is Saturday night).

  1. Mani says:

    sstop trying to be funny, it doesnt work

  2. George says:

    Finally, a solution to the Grub issue in netbooks!

  3. Ray Rashif says:

    For the record:

    Once there was a related result here which showed a GUI win app to take care of such things, thought I’d add it but I couldn’t find it anymore.

  4. Gary says:

    for the record this works so thanks Ray for explaining it……….cheers, Gary…on a saturday night..

  5. Alfonso Fernandez says:

    Thank you, thank you.

    You saved my life and my wife’s laptop. (Only after seeing this worked I enjoyed your jokes)

  6. Daniel says:

    Thank you so much! I was trying the recovery console solution to no avail. Man, was I frustrated. This little program solved my problem in a jiffy!

  7. Pranav says:

    it just saved my time too… thanks to you for the article and thanks to google to find it 🙂

  8. Me says:

    Thanks this works great!

  9. Adrian says:

    So I downloaded and ran this utility as instructed and it destroyed my mbr and left me messing around for two hours (searching for discs) before I was able to restore my MBR using a Windows Server 2008 DVD. Bit of a roundabout way, but I didn’t have any Windows 7 media to work with.

    Boot the installer.
    Select a language.
    On the screen where it requests a product key, press Shift+F10.
    In the command prompt, type: bootrec /fixmbr

  10. John says:

    This worked! Thanks for posting.

  11. Ayesh says:

    Nice writing!

    BTW: To recover ext partition, go to Computer Management in System Properties, and click on the Disk Manager item in left pane.

    But I personally use Easus partition manager
    I too thing the Penguin’s gender is Male.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s