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

    • Maybe you don't realize this...but everything you said agreed with me. Yes, many tech outlets reported on Ryzen 9000 issues prior to 24H2, which I already addressed, and as I already said, that issue only existed for a few short months. Ryzen 9000 was released the same quarter of 2024 as 24H2. So again...months, not years. I also already said 24H2 showed some minor improvements on older Ryzen CPU. The article you posted agrees with me, and even says the improvements were only 3-5%, which is even more harsh a statement than what I said. If you want to fuss on the 3-5% numbers, then yes, I will grant you that was an issue for an extended amount of time. In my opinion, that is such a small amount it isn't worth fussing over, but you are welcome to a different option. However, if that was your point, then you didn't make that point in good faith, because you highlighted Ryzen 9000 so much, which had a FAR bigger and FAR shorter issue, it's really a very different conversation.
    • The vast majority of users do not care which iOS version they're using. They don't even know or bother updating to the latest version, unless they see the prompt. The version numbers is more for the power users and I don't think Apple renamed their OS for them.
    • No operating system works well with programs that modify its interface. There will always be bugs, whether it's MacOS or Linux. Windows too, you'll only suffer from bugs using this crap software.
    • KDE brings UI improvements, bug fixes and more to Plasma 6.4 as stable release draws near by David Uzondu With less than a month to the release of Plasma 6.4, the KDE dev team has shared what it has been working on in the latest issue of its weekly roundup. The update shows a heavy focus on user interface polish and a whole slew of bug fixes as the June 17 release date gets closer. The team has pushed a number of UI refinements for the upcoming version. On the System Settings page for Wi-Fi, the network list can now be fully navigated with a keyboard. KDE also disabled the ability to drag and drop displays on top of one another in the monitor settings. This was done because it could create unsupported arrangements that triggered a cascade of strange bugs throughout the system. Waking up a sleeping computer by pressing the power button no longer causes the bizarre logout screen to appear after you unlock it, which is a relief. Alignment issues in the settings page for the Digital Clock widget were also resolved. The list of bug fixes for 6.4 is extensive. The development team has fixed the most common crash affecting the System Monitor and squashed another one related to a divide-by-zero error. For users with multiple monitors, a long-awaited fix has landed that prevents windows from disappearing when the screen they are on gets disconnected. Even the humble Sticky Notes widget received attention; it will no longer freeze the Plasma shell if you place it on a very thick panel. Discover, the software center, also had a bug patched that caused it to crash if closed too quickly after launch. Here's the full list of improvements: Putting a Sticky Note widget on a very thick panel can no longer cause Plasma to freeze; now, you can use a thick panel with a sticky note on it as a notes sidebar. Fixed the most common System Monitor crash. Fixed another crash in System Monitor, this time a divide-by-zero. Fixed a case where xdg-desktop-portal-kde could crash after you choose a video source to start streaming. Fixed a bug that caused Discover to crash if you close it immediately after it launched. Fixed multiple subtle bugs with the screen chooser widget and OSD that caused it to do the wrong thing on rotated screens or when mirroring screens. Fixed a bug that caused the System Settings’ search field not to be focused properly when pressing Ctrl+F while any UI elements in a settings page already had focus. Fixed the root cause of multiple issues involving windows disappearing when you disconnect the screen they’re on. Clicking a button on a desktop widget that opens a menu no longer inappropriately makes the widget enter Widget Edit Mode. Files with a # or ? character in their name or full path are no longer unexpectedly missing from the history lists in Kicker/Kickoff/etc launchers. Fixed a bug that caused the screen chooser window to sometimes not appear as expected when OBS was launched. Fixed a bug that caused tiled windows on a multi-screen setup to lose their tiling settings when the system went to sleep and woke up again. The "Move window to [activity]" feature now works properly when invoked from the Task Manager widget. Fixed a bug in the Kicker Application Menu that caused keyboard navigation not to work if the popup opened with an item under the pointer. In the Overview effect’s grid view, dragging windows tiled on one virtual desktop over to a different virtual desktop now keeps them tiled as expected. The focus may be on the imminent 6.4 release, but work on what comes next never really stops. Looking ahead, development on Plasma 6.5 is already well underway. Just last week, the KDE team brought several performance improvements to Plasma 6.5.0. This week, the team fixed a nagging bug that sometimes caused the Networks widget to think a hotspot was still enabled after disconnecting from Wi-Fi. On the features side, the System Settings' Fonts page now prevents you from breaking your system entirely by setting fonts below 4pt. In addition to that, switching time spans in the Info Center’s energy page now features smooth graph animations. Performance-wise, kwriteconfig should also be faster, allowing changes you made to the keyboard layout using the tool to reflect immediately.
  • Recent Achievements

    • Week One Done
      abortretryfail earned a badge
      Week One Done
    • First Post
      Mr bot earned a badge
      First Post
    • First Post
      Bkl211 earned a badge
      First Post
    • One Year In
      Mido gaber earned a badge
      One Year In
    • One Year In
      Vladimir Migunov earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      495
    2. 2
      +FloatingFatMan
      252
    3. 3
      snowy owl
      252
    4. 4
      ATLien_0
      228
    5. 5
      +Edouard
      191
  • Tell a friend

    Love Neowin? Tell a friend!