Changes

Jump to: navigation, search

Allocating a Windows Disk Partition to Fedora Linux

54 bytes added, 20:01, 27 October 2016
m
Text replacement - "<table border="0" cellspacing="0">" to "<table border="0" cellspacing="0" width="100%">"
<hr>
<htmlet>fedora</htmlet>
One of the most common configuration requirements for a new Fedora Linux installation involves reducing the size of the pre-existing Windows partition on the disk drive and using the resulting space to install Fedora Linux. This so called "dual boot" configuration allows the user to have both operating systems installed on the disk drive with the option to boot one or the other when the system is powered on. Performing this type of installation was covered in the [[Installing Fedora Linux on a Windows System (Dual booting)]] chapter of this book.
== Deleting the Windows Partition from the Disk ==
The first step in freeing up the Windows partition for use by Linux is to delete it. before Before doing so, however, it is imperative that any data you need to keep is backed up from both the Windows and Fedora partitions. having Having done that, it is safe to proceed with this chapter.
Fedora Linux ships with a tool called ''GParted'' which is a graphical disk partitioning tool. Since GParted is not typically installed by default, it may be necessary to install it before proceeding with this tutorial. If GParted is not installed, it may be installed from a terminal window (Applications->System Tools->Terminal) using the following commands:
The Windows partition can be identified by the filesystem type. In this case the filesystem is of type NTFS (which corresponds to sda1). A FAT filesystem also indicates a Windows partition. The ext3 partition is our current Linux partition. We are now going to delete the Windows partition, but first need to unmount the partition. To do so, right click on the partition, either in the list or in the graphical representation of the partitions and select ''unmount''. Enter your the root password if prompted to do so.
The next step is to delete the partition. Once again, right click on the partition in the list and select ''Delete''. The delete task will be listed as ''Pending''. To commit the change , click on ''Apply'' in the ''GParted'' toolbar.
Once the deletion is complete the former Windows Partition will be listed as ''unallocated''. This is now ready for us to use as a Linux partition.
== Formatting the Unallocated Disk Partition ==
<googlehtmlet>ADSDAQBOX_FLOWadsdaqbox_flow</googlehtmlet>
The next step is to format the partition so that it can be used by Linux. By default Fedora Linux uses the ext3 filesystem format. This is a powerful filesystem format which supports features such as disk journaling which is useful for restoring damaged data.
To format the unallocated partition , select it by clicking on it in the list and click on the ''New'' toolbar button. The following ''Create a new partition'' dialog will appear:
[[Image:fedora_linux_gparted_create_new_partition.jpg]]
</pre>
Delete this section from the file. Also check to see the ''default='' value to make sure the default is not set to the partition which was just deleted. Once the changes have been made to the file, save it.
== Mounting the New Partition ==
/dev/sda1 7.7G 146M 7.2G 2% /vol1
</pre>
 
<htmlet>fedora</htmlet>

Navigation menu