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

    • Kids game on consoles or phones. Maintaining a Windows PC or updating a driver is way beyond a typical young person's skill set.
    • Here are some of the ways you can use Safari's new look on Apple iOS 26 by Aditya Tiwari iPhone's latest software update brings a ton of new features this year and is currently available in beta on supported iPhone models. Its fresh coat of the controversial Liquid Glass is also coming to the Safari web browser, alongside new iPhone wallpapers and a revamped Photos app. In this article, let's talk about the new way you can customize the Safari browser on your iPhone. A major highlight among new Safari features for iOS 26 is the new Compact mode for the Tab Bar. It serves as the default layout on the new iPhone update, available alongside the two other layouts from previous years. Use the new Compact Tab Bar layout in Safari You can follow these steps to customize Tab Bar layouts in Safari: Go to the Settings app on iOS 26. Open the Apps section from the bottom of the screen and scroll down or search to find Safari. You will find the three layout options under the Tabs section: Compact, Bottom, and Top. Tap on Compact to make it default, if it's not already selected. Each Safari layout offers its own set of perks and downsides. The new Compact Mode on Safari does what its name says. Its translucent interface uses much less screen real estate compared to the Bottom and Top layouts. You can find the Back button on the left side of the pill-shaped address bar that doubles up as a search bar. Next to it is a three-dot menu button to access features such as Share, All Tabs, Bookmarks, New Tab, and more. Use Bottom and Top layouts for quicker access to Safari options Bottom and Top layouts are almost the same, except that the latter places the address bar at the top of the screen. While the Top layout might be inconvenient when using an iPhone with one hand, some users may prefer to have their address bar in this position, perhaps for a more symmetrical view. After all, it's original and the only Safari layout available until iOS 15. Apple has given the Liquid Design treatment to both the Bottom and Top layouts, featuring a translucent, floating Tab Bar interface that offers a sneak peek of what's behind. Alongside the options for Bookmarks, Share, and All Tabs, you can find the Forward button to go to the next page in the browser. This is not the case with the Compact mode, but iOS already lets you swipe from the right edge of the screen to go forward. It appears that Apple has made it difficult to use Safari with one hand. It has shifted the New Tab and Tab Groups menu buttons to the top-left corner of the All Tabs page on iOS 26. This is where the Compact mode stands out, as these options are easily accessible. Alternatively, when on the All Tabs page, you can press the tabs pill at the bottom of the screen to access the Tab Groups menu. One thing you'll notice is that the Compact and Bottom tab layouts shrink into a small pill when you scroll down a web page. The pill is translucent, like the Tab Bar, and changes colors according to its background, providing more screen real estate on your iPhone. However, in the Top layout, the address bar collapses into a pill at the top of the screen. You can scroll up on the screen or tap the pill to get back to the whole UI. Apart from that, the Safari 26 beta version for iOS 26 and iPad 26 brings several under-the-hood features to the table. For instance, Apple has added Screen Time support to WKWebView, which powers the browsing experience for in-app browsers. Safari users on iOS, iPadOS, and macOS can also report issues when they have trouble with a web page, accessible via the Page menu on the left of the address bar in all three layouts. The new Safari features and changes are currently being tested through the Apple Developer Program. These features are expected to be available to the public when Apple releases the iOS 26 update later this year. We'll continue to update this article as more beta releases arrive. If you plan to install iOS 26 developer beta, keep in mind that these releases can be unstable, and make sure to back up your data beforehand.
    • I experienced this in the 80s and 90s and I believe it ultimately set me back. My “computer lab” in grade school and then again in high school in the 90’s had all macs. Then I hit the workforce. Windows and Office were foreign to me. I can see Apple excelling in the creative space but not in the mainstream office. This isn’t a knock on Apple, but more a reality that’s concerning in the context of this article. ….just my experience and opinion
    • Is this the non-subscription version? Can I move the license to a a new PC later on?
  • Recent Achievements

    • Week One Done
      DXB APPS earned a badge
      Week One Done
    • One Month Later
      DecaffKnight94 earned a badge
      One Month Later
    • Dedicated
      S.P earned a badge
      Dedicated
    • One Month Later
      adxnksd42031 earned a badge
      One Month Later
    • Rising Star
      aphanic went up a rank
      Rising Star
  • Popular Contributors

    1. 1
      +primortal
      663
    2. 2
      ATLien_0
      259
    3. 3
      Michael Scrip
      234
    4. 4
      Steven P.
      157
    5. 5
      +FloatingFatMan
      151
  • Tell a friend

    Love Neowin? Tell a friend!