(Big warning about the "remove all OS" option) |
(First part of procedure, next fixing MBR) |
||
Line 32: | Line 32: | ||
{{Anchor|Dual-boot_remove_Linux}} | {{Anchor|Dual-boot_remove_Linux}} | ||
== My system is a dual-boot with Windows XP and Linux, and I want to remove Linux and keep Windows. == | == My system is a dual-boot with Windows XP and Linux, and I want to remove Linux and keep Windows. == | ||
{{admon/important | 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.}} | |||
# Back up your data [[#Backing_up_data | as shown above]], if necessary. | # Back up your data [[#Backing_up_data | as shown above]], if necessary. | ||
# Shut down your Fedora system. | # 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''. | |||
# 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. | |||
# 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. | |||
{{Anchor|Dual-boot_remove_all}} | {{Anchor|Dual-boot_remove_all}} | ||
== 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. == | ||
Revision as of 14:06, 14 March 2009
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 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:
- Back up your data as shown above, if necessary.
- Shut down your Fedora system.
- 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.
- 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:
- Remove all existing partitions.
- Make a single partition taking up the full size of your hard disk
- 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.
- Back up your data as shown above, if necessary.
- 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.
- 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.
- 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.
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.