How to uninstall linux in dual boot installed with windows xp

6,248

Solution 1

If you've installed Ubuntu Linux from within Windows using Wubi, you can just remove "Ubuntu" from Add/Remove Programs.

However, if your linux installation is on a different hard disk partition, you need to 1. use a partitioning software to remove the linux partition(s), and 2. restore the Windows boot loader.

  1. Windows has Disk Manager somewhere in the Control Panel to remove partitions.

  2. At least with Windows XP, you can restore the Windows boot loader by running the command fdisk /mbr, or from a Rescue CD with the commands fixboot and fixmbr.

Note that the linux boot loader depends on the linux parition, so if you remove the linux partition without touching the boot loader, you won't be able to boot your computer without a rescue CD.

Solution 2

  1. Boot up in Windows xp.

  2. Start>>control panel>>administrative tools>>computer management

  3. Go to disk management under “storage”

  4. Select your hard disk and then the linux partition.

  5. Delete the linux partition this will delete linux and grub.

  6. Now reboot your laptop with windows 98 start up disc or floppy and type the command “fixmbr” .

  7. Above command will repair ur bootloader and rewrite ntldr which will replace corrupted grub.

8.Thats it done now boot your laptop or desktop normally it will be booted by default in windows xp.

Share:
6,248

Related videos on Youtube

Gabriel Solomon
Author by

Gabriel Solomon

PHP&MySQL developer

Updated on September 17, 2022

Comments

  • Gabriel Solomon
    Gabriel Solomon almost 2 years

    I have Windows XP installed in dualboot with Ubuntu, how can i remove the ubuntu installation and go back to only XP