I Have dual boot and want to Uninstall Fedora and Keep Windows XP.
- Shut down your Fedora system.
- Restart your system. During the boot delay time, hit the Up and Down arrow keys to select your Windows operating system, and hit Enter to boot from it.
- After Windows has started, from the Start menu, select Control Panel.
- Select Performance and Maintenance, then Administrative Tools, then Computer Management.
- In the left pane of the Computer Management window, under Storage, select Disk Management. On the right side, a graphical representation of your disk appears with bars representing each partition. The first partition is usually labeled NTFS and appears as your C: drive.
- Remove other partitions belonging to your Linux system. Do not try to remove the C: drive partition. When you have finished, the rest of the disk is labeled as unallocated.
- From the Start menu, choose Run....
- Enter the command diskpart. A command window opens.
- Enter list volume to show the volumes on your system. Each volume is numbered. Find the volume that represents your C: drive.
- Enter select volume <N>, where <N> is the number of the volume for your C: drive.
- Choose extend to extend the volume to fill the remainder of your disk where your Linux system previously existed. The diskpart utility confirms that the volume has been successfully extended.
- From the Start menu, choose the Shut down command and shut down the system.
- Insert the Windows installation CD and restart your system. Pay attention to the boot screens.
- The screen shows Press any key to boot from CD. Hit a key to boot from the CD. Allow the Windows installer to load.
- At the options menu, hit R to use the Recovery Console. The Recovery Console locates your existing Windows installation at C:\WINDOWS and assigns it with a number, usually 1.
- At the prompt to log in to the Windows installation, enter the number shown, followed by the Administrator password for your Windows installation.
- At the prompt, enter fixmbr to repair the master boot record of your disk. It resets your master boot record and next time you will not prompt to choose OS. By default it will start your Windows XP.
- Enter exit to exit the Recovery Console and restart your machine.