From Fedora Project Wiki

(Remainder of repair instructions)
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
At the Fedora Project, we strive to provide an operating system with the latest, best features that's usable by everyone.  Our [[Statistics | 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.
At the Fedora Project, we strive to provide an operating system with the latest, best features that's usable by everyone.  Our [[Statistics | 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 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.
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<!-- remove --> 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.
These instructions should work equally well with most other Linux distributions.


{{Anchor|Backing_up_data}}
{{Anchor|Backing_up_data}}
{{admon/warning | These instructions may destroy data! | If you have data from Fedora that you want to keep, before your proceed you should back it up.  Write your data to CD, DVD, or an external hard disk or other storage device.  ''Make sure the external device is readable by a Windows computer.''
{{admon/warning | These instructions may destroy data! | If you have data from Fedora ''or'' Windows that you want to keep, back it up before you proceed.  Write your data to CD, DVD, or an external hard disk or other storage device.  If you are backing up data from Fedora to be used in Windows later, ''make sure the external device is readable by a Windows computer.''


# Right-click the device icon on your desktop or in your graphical ''Computer'' browser.
# Right-click the device icon on your desktop or in your graphical ''Computer'' browser.
# Choose ''Properties''.
# Choose ''Properties''.
# Make sure the file system is ''msdos'', ''fat'', ''vfat'', or ''ntfs''.}}
# Make sure the file system is ''msdos'', ''fat'', ''vfat'', or ''ntfs''.


As with all operating systems, including proprietary ones like Windows, Fedora is provided as-is with no warranties, guarantees, or assumptions of liability.  However, we do work hard to provide good instructions, and we believe those on this page should work for most people.}}
== My system only has Fedora, and I want to remove it and restore Windows. ==
{{Anchor|Linux-only_system}}
{{Anchor|Linux-only_system}}
== My system only has Fedora, and I want to remove it and restore Windows. ==


This situation is easy to fix:
This situation is easy to fix:
Line 39: Line 41:
# 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.
# 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''.
# After Windows has started, from the ''Start'' menu, select ''Control Panel''.
# Select ''Performance and Maintenance''.
# Select ''Performance and Maintenance'', then ''Administrative Tools'', then ''Computer Management''.
# Select ''Administrative Tools''.
# Select ''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.
# 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''.
# 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''.
Line 55: Line 55:
# 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 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.  Your existing Windows partition should not be removed or harmed.
# At the prompt, enter ''fixmbr'' to repair the master boot record of your disk.  Your existing Windows partition should not be removed or harmed.
#* In Windows Vista & 7, select ''command prompt'', go to C: and type ''Bootrec /fixmbr'' and press enter.
# Enter ''exit'' to exit the Recovery Console and restart your machine.
# 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.
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. ==
== My system is a dual-boot with Windows XP and Linux, and I want to destroy both and return to a Windows-only system. ==
{{Anchor|Dual-boot_remove_all}}
This is essentially the same case as that of the [[#Linux-only_system | 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 | 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. ==
{{Anchor|Boot-Camp_remove_linux}}
# Open the Boot Camp Assistant in /Applications/Utilities.
# Select "Create or remove a Windows partition" and click "Next".
# If your computer has a single internal disk, click Restore.
# 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.==
{{Anchor|Dual-boot_restore_OS_X}}
# Open the Disk Utility in /Applications/Utilities
# Select the entry on the left for the disk volume containing Linux.
# Click the "Partition" tab on the right side of the dialog.
# Select the Linux partition and click the minus button below the partition layout diagram.
# 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. ==
{{Anchor|Linux-only_restore_OS_X}}
This situation is easy to fix:
# Back up your data [[#Backing_up_data | as shown above]], if necessary.
# Shut down your Fedora system.
# 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.
# 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 [[Communicate | 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.


This is essentially the same case as that of the [[#Linux-only_system | Linux-only system]] aboveSimply follow those instructions to remove all operating systems and start from scratch.
Alternately, you can consider using the [[#Linux-only_system | instructions for a simple Windows re-installation]] to simply install your system from scratchNote that procedure also removes any other operating systems from your system.


{{admon/warning | All data will be lost! | Note that if you follow the instructions for the [[#Linux-only_system | Linux-only system]] above, you will lose all data on your system, including all your Windows programs and data.  Only proceed to those steps if you understand and agree to that data loss.}}
[[Category:How to]]

Latest revision as of 09:10, 11 February 2012

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.

These instructions may destroy data!
If you have data from Fedora or Windows that you want to keep, back it up before you proceed. Write your data to CD, DVD, or an external hard disk or other storage device. If you are backing up data from Fedora to be used in Windows later, make sure the external device is readable by a Windows computer.
  1. Right-click the device icon on your desktop or in your graphical Computer browser.
  2. Choose Properties.
  3. Make sure the file system is msdos, fat, vfat, or ntfs.
As with all operating systems, including proprietary ones like Windows, Fedora is provided as-is with no warranties, guarantees, or assumptions of liability. However, we do work hard to provide good instructions, and we believe those on this page should work for most people.

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.

Locate and check Windows installation disc
Before you begin this procedure, locate your Windows installation disc. Make sure it is readable and you can boot from it successfully before you undertake this procedure.
  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 <N>, where <N> 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.
    • In Windows Vista & 7, select command prompt, go to C: and type Bootrec /fixmbr and press enter.
  19. 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.