Problem uninstalling Xubuntu from Windows XP


Recommended Posts

I decided to install Xubuntu 8.04 inside my Windows installation from the ISO file I downloaded [Wubi]. After having some fun, I decided to uninstall it, and this where the problem arises.

When I clicked the uninstall button in my Add/Remove Window in XP, nothing happens, there is no activity related to the uninstallation of Xubuntu. I had a similar problem a few days back, so I decided to remove all related files and mistakenly deleted ntldr file which resulted in a terrible mess.

Anyways, help me out guys!

Yeah, ntldr is a Windows file. Very important, and has nothing to do with Linux. Don't know why you deleted it, but I think you can pop in the XP CD and boot into "recovery console" and do a fixboot to have it repair itself.

Also, since Linux isn't a Windows app, you won't see it under the Windows "add/remove programs" button.

I'm not very familiar with wubi, but it is a virtual filesystem creator, so you don't have to repartition, and then Ubuntu gets "installed" onto some filesystem images that exist on your NTFS partition. I would think that merely removing these filesystem images would "remove" Ubuntu quite well. :yes:

If wubi installs GRUB as your boot loader, then you can also do a fixmbr at your XP CD boot "repair console" to set the Microsoft boot loader into the MBR.

That should be about it, really. Remove the filesystem images, and restore Microsoft boot from the recovery console (if wubi installed GRUB).

NTLDR is Missing:

  Quote
1. Insert the Windows XP bootable CD into the computer.

2. When prompted to press any key to boot from the CD, press any key.

3. Once in the Windows XP setup menu press the "R" key to repair Windows.

4. Log into your Windows installation by pressing the "1" key and pressing enter.

5. You will then be prompted for your administrator password, enter that password.

6. Copy the below two files to the root directory of the primary hard disk.

In the below example we are copying these files from the CD-ROM drive letter, which in this case is "e." This letter may be different on your computer.

copy e:\i386\ntldr c:\

copy e:\i386\ntdetect.com c:\

7. Once both of these files have been successfully copied, remove the CD from the computer and reboot.

Try that.

^^^ Why use a solution (logging in and copying files to a specific drive letter) that is more complex than it has to be?

http://support.microsoft.com/kb/315233 <== Perform "Resolution" item #1, and you are done. (Y)

There was a bug in earlier versions of Wubi which left its entry behind in Add/Remove, despite having uninstalled Ubuntu. You can delete the entry by editing the registry. Remove the Wubi entry at the following address:

HKeyLocalMachine\Software\Microsoft\Windows\CurrentVersion\Uninstall\

  markjensen said:
Yeah, ntldr is a Windows file. Very important, and has nothing to do with Linux. Don't know why you deleted it, but I think you can pop in the XP CD and boot into "recovery console" and do a fixboot to have it repair itself.

Also, since Linux isn't a Windows app, you won't see it under the Windows "add/remove programs" button.

I'm not very familiar with wubi, but it is a virtual filesystem creator, so you don't have to repartition, and then Ubuntu gets "installed" onto some filesystem images that exist on your NTFS partition. I would think that merely removing these filesystem images would "remove" Ubuntu quite well. :yes:

If wubi installs GRUB as your boot loader, then you can also do a fixmbr at your XP CD boot "repair console" to set the Microsoft boot loader into the MBR.

That should be about it, really. Remove the filesystem images, and restore Microsoft boot from the recovery console (if wubi installed GRUB).

Oh don't worry about the ntldr, I managed to download the file and place it in the C: using the Ubuntu LiveCD. Easy as that.

  Wilhelmus said:
NTLDR is Missing:

Try that.

I solved that. I just mentioned it in my post to demonstrate that I have done something about removing Xubuntu.

  Mr Fish said:
There was a bug in earlier versions of Wubi which left its entry behind in Add/Remove, despite having uninstalled Ubuntu. You can delete the entry by editing the registry. Remove the Wubi entry at the following address:

HKeyLocalMachine\Software\Microsoft\Windows\CurrentVersion\Uninstall\

All my Linux files are intact. So it is not the entry problem. Besides, I see it every time in the boot menu.

  • 3 weeks later...

Finally got the problem solved. Here is how I did it:

1) Microsoft Support [Click]

2) Backup your boot.ini

3) Edit your boot.ini

4) In the boot.ini file, delete the line c:/wubildr = "Xubuntu" or something similar to that. Click Ok and close. With that you have removed the boot entry and you will no longer be shown a choice of Xubuntu or Windows XP during boot.

5) Remove the related Xubuntu files manually by deleting them:

(i) C:/wubildr and wubildr.mbr

(ii) [The drive in which you installed Xubuntu]:/ubuntu,wubildr and wubildr.mbr

You re done.

To remove the entry in Add/Remove, use Mr Fish's method:

  Quote
There was a bug in earlier versions of Wubi which left its entry behind in Add/Remove, despite having uninstalled Ubuntu. You can delete the entry by editing the registry. Remove the Wubi entry at the following address:

HKeyLocalMachine\Software\Microsoft\Windows\CurrentVersion\Uninstall\

Thanks for your help guys!

  • 2 weeks later...
  Quote
Also, since Linux isn't a Windows app, you won't see it under the Windows "add/remove programs" button.

Yes it is, he used wubi, so yes, it IS a windows apps. It just require a reboot to use it, but it is in C:/Program Files/ and got an entry in add ans remove program.

^^^ Linux is not a Windows app.

wubi does, however, place a sort of entry to "uninstall" that resets the MBR and removes the imaged filesystem. So, I guess to the user it does appear this way.

In the end, reset the MBR and you are free to remove the image file.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Hmm, I'll give it a go
    • Is Samsung teasing a Galaxy Z Fold7 Ultra? An official press release suggests so by Sagar Naresh Bhavsar We are inching closer to the launch of this year's premium foldables from Samsung: the Galaxy Z Fold7 and the Galaxy Z Flip7. Recently, a certification revealed that the affordable Galaxy Z Flip7 FE, could also debut alongside the other two foldables. The device is expected to take on the standard Moto Razr 2025. While we were getting excited about the trio, Samsung has put out a press release to create some hype around the upcoming foldables. Interestingly, the company has put great emphasis on the "Ultra" branding, which it usually uses for its Galaxy S-series phone and previously for Note-series phones. So, does this mean, we are getting a Galaxy Z Fold7 Ultra? Time will only tell. As for the press release, it is titled "Meet the Next Chapter of Ultra" and the first line highlights how Samsung has been listening to fans that have demanded "bigger screens, better cameras and new ways to connect and create." To churn up up the hype, Samsung added, "That’s why Galaxy’s next chapter is to provide an experience that seamlessly blends artistry and engineering to elevate everyday interactions." The GIF inside the press-release reveals what looks like the Galaxy Z Fold7 (or the Galaxy Z Fold7 Ultra, if that exists). Rumors have indicated that this year's Galaxy Z Fold7 is getting taller and wider than last year's model, thanks to a bigger display. The Z Fold7 could also feature a titanium backplate to not only reduce its thickness and make it stronger but to shed some weight as well. The company then directs the attention to its AI features such as voice controls for finding the perfect eatery or shopping place, using powerful AI-powered camera features, and so on. We will get to know more about the devices in the coming weeks. By that time, let us know your thoughts, on whether you would like an Ultra foldable or want Samsung to tweak the existing model and keep the space less-crowded.
    • A couple of friends of mine have been building Gunpla for years and got me interested, so I asked and they recommended this as a fairly good quality, very affordable, starting point. https://www.amazon.co.uk/dp/B0BGN9K1MV It was fun to build, didn't take too long, and helped me decide if I wanted to go further with the hobby, which I did.  Still only got this one built, but that's only due to time availability!
    • I've had an original, a Lite, and an OLED and I have just one question for you.  How big are your hands? I got rid of all three because, simply put, they're sized for kids hands more than anything, especially the Lite.  The Switch 2 is a fair bit larger but I'm not agreeing to Ninty's new EULA for the thing.
    • Where does he say that he'll give 99% to Africa? I agree that he said that he'll give 99% of his wealth, and you quote him saying that the majority will go to Africa. The majority of 99% does not mean all of the 99%. It could mean that he'll give just above half of that.
  • Recent Achievements

    • Week One Done
      Leonard grant earned a badge
      Week One Done
    • One Month Later
      portacnb1 earned a badge
      One Month Later
    • Week One Done
      portacnb1 earned a badge
      Week One Done
    • First Post
      m10d earned a badge
      First Post
    • Conversation Starter
      DarkShrunken earned a badge
      Conversation Starter
  • Popular Contributors

    1. 1
      +primortal
      260
    2. 2
      snowy owl
      158
    3. 3
      +FloatingFatMan
      145
    4. 4
      ATLien_0
      140
    5. 5
      Xenon
      131
  • Tell a friend

    Love Neowin? Tell a friend!