Removing Ubuntu without losing Windows XP

1,794

Solution 1

This solution will seem to be worked until you reboot your computer. Do not try it.

--> I realised that; that will probably remove grub and Windows will not be able to understand nor rewrite mbr data for "sure".

That means you will lose both OS.

Open your XP.

write diskmgmt.msc to "Run"

Find your linux partition and delete it.

Right click on C: partition. And select the option helps you include the empty space in your disk.

Hope This Helps. Tried on Windows 7.

Solution 2

I think the fastest way is to use fixmbr from the Windows recovery console, as in this example.

After you manage to use Windows boot loader, just run Windows, and go to My Computer -> Managenent -> Disk Utility and format the linux partition to any file system you want (probably NTFS).

Good luck!

Solution 3

I had the same problem, I uninstalled Ubuntu back in the time where I didn't like it, and it damaged badly my Windows 7. Luckily, I had the repair disk.

In your case, you should just use a partition manager and delete the Ubuntu files (from Windows -- there is a default partition manager in the admin tools).

Thanks, mjchopperboy, hoping your XP will survive.

Share:
1,794

Related videos on Youtube

user1380281
Author by

user1380281

Updated on September 18, 2022

Comments

  • user1380281
    user1380281 over 1 year

    I'm trying to add a button to the WordPress Visual Editor that will bring up a dialog box which will let the user select some options, and then click a button to insert some content based on those options.

    I've been able to bring up the dialog box by putting this in my functions:

        <?php
        function fp_plugin_function_callback() { ?>
        <p><select name="my_dialog_options">
    <option value="1">First option</option>
    <option value="2">Second option</option>
    <option value="3">Third option</option>
    </select></p>
                <p><input type="submit" class="button-primary" value="Go" /></p>        
        <?php }
    
        add_action('wp_ajax_fp_plugin_function', 'fp_plugin_function_callback');
        ?>
    

    And with this javascript:

       (function() {
        tinymce.create('tinymce.plugins.fp_split_content', {
            init : function(ed, url) {
                ed.addButton('fp_split_content', {
                    title : 'Insert Split Content',
                    image : url+'/images/split.png',
                    onclick : function() {
                        ed.windowManager.open({
                            file: ajaxurl + '?action=fp_plugin_function',
                            width : 400 + parseInt(ed.getLang('highlight.delta_width', 0)),
                            height : 400 + parseInt(ed.getLang('highlight.delta_height', 0))
                            });
                        var content = ed.selection.getContent({format : 'html'});
                            ed.execCommand('mceInsertContent', false, content);
                    }
                });
            },
            createControl : function(n, cm) {
                return null;
            }
        });
        tinymce.PluginManager.add('fp_split_content', tinymce.plugins.fp_split_content);
    })();
    

    What I can't find the answer to is how to get the options selected by the user into the visual editor.

    • Ashu
      Ashu almost 12 years
      How did you install it? wubi or dual boot
    • mikewhatever
      mikewhatever almost 12 years
      If Ubuntu is on a DVD, just remove the DVD. Nothing else to be done there.
  • Mitch
    Mitch almost 12 years
    touché, That can be done too. I just have spent more time with acronis and windows.