How to uninstall Fedora

At the Fedora Project, we strive to provide an operating system with the latest, best features that's usable by everyone. Our millions of users agree that we've got what it takes. Everyone from schoolchildren to housewives to students to scientists are using Fedora all over the world to compute with stability and security. And the work that the Fedora Project continues to do in hundreds of upstream communities has helped other distributions become popular too.

But Linux isn't everyone's cup of tea. Because we respect your personal choices and the freedom to choose, even if that choice is for something other than freedom itself, this page explains how to uninstall Fedora from your system. How you proceed depends somewhat on how you set Linux up on your system.

These instructions should work equally well with most other Linux distributions.

My system only has Fedora, and I want to remove it and restore Windows.
This situation is easy to fix:


 * 1) Back up your data  as shown above, if necessary.
 * 2) Shut down your Fedora system.
 * 3) Boot from your Windows installation disc, which should have been provided with your system manufacturer.  Sometimes this disc is called a "system restore disc."  If you do not have such a disc, you may need to contact your system's manufacturer.
 * 4) Follow the instructions for system restoration that were provided with your system.  If you did not receive these in printed form, you may find them on the system restore disc.  If not, visit the manufacturer's web site.

Some system restoration media, like a Windows installation disc, gives you choices for partitioning your hard disk. If you are presented with any choices for disk partitioning during the restoration or Windows installation process:


 * 1) Remove all existing partitions.
 * 2) Make a single partition taking up the full size of your hard disk
 * 3) Install Windows on the new, single partition.

Often when you use a manufacturer's system restoration disc, the restoration process handles this procedure for you.

My system is a dual-boot with Windows XP and Linux, and I want to remove Linux and keep Windows.

 * 1) Back up your data  as shown above, if necessary.
 * 2) Shut down your Fedora system.
 * 3) 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.
 * 4) After Windows has started, from the Start menu, select Control Panel.
 * 5) Select Performance and Maintenance, then Administrative Tools, then Computer Management.
 * 6) 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.
 * 7) 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.
 * 8) From the Start menu, choose Run....
 * 9) Enter the command diskpart.  A command window opens.
 * 10) Enter list volume to show the volumes on your system.  Each volume is numbered.  Find the volume that represents your C: drive.
 * 11) Enter select volume , where  is the number of the volume for your C: drive.
 * 12) 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.
 * 13) From the Start menu, choose the Shut down command and shut down the system.
 * 14) Insert the Windows installation CD and restart your system.  Pay attention to the boot screens.
 * 15) The screen shows Press any key to boot from CD.  Hit a key to boot from the CD.  Allow the Windows installer to load.
 * 16) 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.
 * 17) At the prompt to log in to the Windows installation, enter the number shown, followed by the Administrator password for your Windows installation.
 * 18) At the prompt, enter fixmbr to repair the master boot record of your disk.  Your existing Windows partition should not be removed or harmed.
 * 19) * In Windows Vista & 7, select command prompt, go to C: and type Bootrec /fixmbr and press enter.
 * 20) Enter exit to exit the Recovery Console and restart your machine.

Your machine has now been restored to a Windows-only system, with your C: drive re-expanded to fill your hard disk.

My system is a dual-boot with Windows XP and Linux, and I want to destroy both and return to a Windows-only system.
This is essentially the same case as that of the Linux-only system above. Simply follow those instructions to remove all operating systems and start from scratch. You will lose all data on your system, including all your Fedora and Windows programs and data. Follow the procedures for backing up data shown above.

My system is using Boot Camp with OS X and Linux, and I want to remove Linux and Keep OS X.

 * 1) Open the Boot Camp Assistant in /Applications/Utilities.
 * 2) Select "Create or remove a Windows partition" and click "Next".
 * 3) If your computer has a single internal disk, click Restore.
 * 4) If your computer has multiple internal disks, select the Linux disk, and then select “Restore to a single Mac OS partition”.  Click Continue.

My system was manually dual-booted with OS X and Linux, and I want to remove Linux and Keep OS X.

 * 1) Open the Disk Utility in /Applications/Utilities
 * 2) Select the entry on the left for the disk volume containing Linux.
 * 3) Click the "Partition" tab on the right side of the dialog.
 * 4) Select the Linux partition and click the minus button below the partition layout diagram.
 * 5) Resize your OS X partition to include the newly freed space.

My system only has Fedora, and I want to remove it and restore OS X.
This situation is easy to fix:


 * 1) Back up your data  as shown above, if necessary.
 * 2) Shut down your Fedora system.
 * 3) Boot from your OS X installation disc, which should have been provided with your system manufacturer.  If your Mac included two disks, use Install Disk 1.  If you do not have such a disc, you may need to contact Apple.
 * 4) Follow the instructions in the installer for installing OS X.

Often when you use a manufacturer's system restoration disc, the restoration process handles this procedure for you.

I have a triple-boot or other highly customized setup and I want to remove Fedora.
These instructions cannot adequately cover every possible configuration, given Fedora's extreme flexibility. You should refer to the available help facilities and ask questions about your specific setup. Remember to be friendly, and provide as much relevant information as possible, so that others can help you effectively.

Alternately, you can consider using the instructions for a simple Windows re-installation to simply install your system from scratch. Note that procedure also removes any other operating systems from your system.