How to remove Ubuntu Boot Loader : XP and Vista

Posted: July 27, 2008 in Hardware, Software
Tags: ,

In case of you screw up your linux and wanna get rid Ubuntu Linux boot loader…. here is the remedy

Windows XP:

  • Set your BIOS to boot from CD or DVD drive
  • Put your Windows XP installation disc into your CD or DVD drive
  • Boot up your computer and start from CD
  • With your Windows CD. When asked, choose “repair” and launch fixmbr. This command replaces GRUB with Windows bootloader.
  • Reboot again and you have done.

Windows Vista :

  • Set your BIOS to boot from CD or DVD drive
  • Put your Windows Vista installation disc into your CD or DVD drive

  • Boot up your computer and start from CD
  • 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 /FixMbr, and then press ENTER.
  • Reboot your computer

Regain HDD Space (from ubuntu partition) using Disk Management (Preloaded with Vista or XP)

To start Disk Management:

  • Log on as administrator or as a member of the Administrators group.
  • Click Start, click Run, type compmgmt.msc, and then click OK. OR right click on my computer icon and choose Manage
  • In the console tree, click Disk Management. The Disk Management window appears. Your disks and volumes appear in a graphical view and list view.
  • Right click on the partition you want to remove and choose Delete

  • Then, you can Create new NTFS partition and assign letter for it.

I decide to remove root and swap partition, combine it and format it in NTFS

Complete. My ex-linux partition now become My Document partition.

Comments
  1. dennis says:

    the fixmbr command doesnt work for me: the ubuntu record still appears in the boot screen…what can i do to remove it, so the system will lod on to win xp directly??

  2. mshjohorean says:

    you may select direct load from system properties->advanced->startup and recovery, then select drop-down menu to booting.

    maybe it will help.

  3. rajend3 says:

    If I don’t need any files in Vista can I just use a system restore disk? Will Ubuntu be removed properly and the space be free?

  4. maor says:

    u great dude .. i installl ubonto today
    and this stupid bootloader ubonto dont stop load u r besttttt

  5. Jason says:

    THnaks, I needed this info and it helped. Very simple way of getting rid of Ubuntu and Grub. Here is another tip, you can use any XP boot CD to do this…not just the one that may or may not have come with your PC.

  6. Paul says:

    One problem:
    After installing the XP CD and choosing repair, it asks for a password – which it will not accept.
    Apparently this is a problem related to a program which at some point, modified the passwords in the registry. Microsoft’s solution is to download and create a 3.5″ setup floppy that will somehow fix the problem. Since I don’t have a floppy drive, I’m just gonna do a fresh install of the OS and toss out every Ubuntu Linux CD in my home. I know there are a lot of things going for Linux, but an OS that has this much trouble with wireless adapters just isn’t ready for consumer use IMHO.
    Thanks for the help though.

  7. drew4237 says:

    What are you talking about? I’ve never had a problem with Linux not working with my wireless adapter. I’ve always just installed it and everything working perfectly. Maybe it is because both of my laptops are asus? idk why that would matter but ive never had any problems with it.

    Thanks for this information. It is exactly what I have been looking for.

  8. JoshF81 says:

    What operating system do i click to repair?

  9. pete_p says:

    i sucessfully merged and split ntfs partitions with data on them with gparted live-cd.
    but do make a backup in case something does go wrong.

  10. oddbee says:

    This was perfect. I removed Linux smoothly with this.

  11. submachine0 says:

    wow, thank you dude this is exactly what i needed. i installed Ubuntu for someone else on their hard drive in my computer. like an idiot, i forgot that Grub would be installed as well. that reminds me that i need to put Grub on the other computer. anyways, thanks again, i hope this works.

    drew4237 – actually, a very popular wireless adapter included in many laptops and desktops (Broadcom 43xx) is infamous for causing problems. the 3rd party driver doesn’t always work. only the recent Ubuntu (since Intrepid, I believe) fixes this without a problem. any other distro requires you to use ndiswrapper and such to fix the issue, sometimes unsuccessfully.

  12. [...] to remove Ubuntu Boot Loader : XP and Vista http://expertester.wordpress.com/200…-xp-and-vista/ __________________ [...]

  13. aatkco says:

    Thanks so much it worked :)

  14. Mark says:

    Worked like a dream with my Dell 4300 laptop with XP, the Intel Matrix Storage drivers for ICH9M-E on the dell site, etc. Strongly recommend that system restore is enabled and a snapshot taken before others try this as I failed with a different approach and system restore saved my butt…

  15. Alex says:

    Thanks for the tips. Just removed Ubuntu from Win7 machine using your instructions. For others who are still having issues, you may need to run “bootsect /nt60 ALL” as well if the /FixMbr did not solve it for you.

  16. BZERK1 says:

    Ubuntu not working with wireless adapters? it supports alot of adapters without the need to pay for shareware to download the drivers! Ubuntu is superior in my opinion IF you know how to use it!

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s