Difference between revisions of "Partitioning the Hard Drive/9.2"

From PC-BSD Wiki
Jump to: navigation, search
(Shrinking a Drive in Windows 7)
(43 intermediate revisions by 4 users not shown)
Line 1: Line 1:
__TOC__
+
<translate>
{{NavHeader|back=Laptops|forward=Obtaining PC-BSD}}
+
PC-BSD does not come with a built-in partition manager as the installer assumes that the drive is already prepared for an installation. If you are not planning to install PC-BSD onto the entire hard drive, you will need to use a third-party application in order to prepare a primary partition to install PC-BSD into.
+
  
'''NOTE:''' ''' ''PC-BSD will not install into a secondary or logical partition, it must be a primary partition.'' '''
+
<!--T:1-->
 +
<noinclude>{{NavHeader|back=Laptops|forward=Obtaining PC-BSD®}}</noinclude>
  
''' ''Before creating or editing your hard drive's partitions, make sure that you first back up your valuable data to an external media such as a removable USB drive!'' '''
+
<!--T:2-->
 +
PC-BSD® does not include its own built-in partition manager. {{note|width=28%|align=right|icon64=PC-BSD® will not install into a secondary or logical partition, it must be a ''primary'' partition.}} The installer assumes that the drive is already prepared for an installation. If you are not planning to install PC-BSD® onto the entire hard drive, you will need to use a third-party application in order to prepare a primary partition to use as the destination for your PC-BSD® install. This section demonstrates how to create free space within Windows 7 and how to use Parted Magic to create a primary partition from the free space.
 +
{{danger|icon64=''' ''Before creating or editing your hard drive's partitions, make sure that you first back up your valuable data to an external media such as a removable USB drive, then remove the drive during this operation. Data stored on the hard drives attached to the computer have the chance for damage or loss. Extreme care must be taken but this will not eliminate the unforeseen from happening. It is always best to back up first or your valuable data will be at risk.'''''}}
  
===Shrinking a Drive in Windows 7===
+
=== Shrinking a Drive in Windows 7 === <!--T:3-->
  
 +
<!--T:4-->
 
If you are currently running Windows 7, it is using the entire hard drive. This means that you will need to first shrink the drive in order to make room to create a new partition. Shrinking is an operation that retains the current data on the partition, while reducing the size of the partition.
 
If you are currently running Windows 7, it is using the entire hard drive. This means that you will need to first shrink the drive in order to make room to create a new partition. Shrinking is an operation that retains the current data on the partition, while reducing the size of the partition.
  
To shrink the drive, go to Start menu -> right-click Computer -> Manage -> Storage -> Disk Management. Figure 2.5a shows an example of a system running Windows 7. In this example, Windows has created three partitions: a 16GB recovery partition, a 100MB system partition, and a 450GB data partition.
+
<!--T:5-->
 +
To shrink the drive, go to ''Start menu'' ➜ right-click ''Computer'' ➜ ''Manage'' ➜ ''Storage'' ➜ ''Disk Management''. Figure 2.3a shows an example of a system running Windows 7. In this example, Windows has created three partitions: a 16GB recovery partition, a 100MB system partition, and a 450GB data partition.
  
'''Figure 2.5a: Viewing Disk Layout in Disk Management'''
+
<!--T:6-->
 +
<div style="overflow: hidden">[[File:Shrink.jpeg|thumb|385px|'''Figure 2.3a: Viewing Disk Layout in Disk Management''']][[File:Shrink2.jpeg|left|thumb|385px|'''Figure 2.3c: Disk Now Has Free Space''']]</div>
 +
{{warning|icon64=''' ''if you plan to dual-boot with Windows, it is important that you do not choose to install PC-BSD® into any of these three partitions when you get to the [[Disk Selection Screen]] of the installer.'' ''' It is a good idea to write down the sizes of the partitions so that you will recognize them when the PC-BSD® installer displays your current partitions.}}
  
[[File:Shrink.jpeg]]
+
<!--T:7-->
 +
[[File:Shrink1.jpeg|thumb|393px|'''Figure 2.3b: Available Shrink Space''']]
  
'''NOTE:''' ''' ''if you plan to dual-boot with Windows, it is important that you do not choose to install PC-BSD into any of these three partitions when you get to the [[Disk Selection Screen]].'' ''' It is a good idea to write down the sizes of the partitions so that you will recognize them when the PC-BSD installer displays your current partitions.
+
<!--T:8-->
 +
Since the three Windows partitions are using the entire disk, the data partition needs to be shrunk in order to create space to install PC-BSD® into. To shrink the data partition, right-click the partition, in this example it is called ''Acer (C:)'', and select "Shrink Volume". Wait a moment as it queries the volume for available shrink space; the results will be displayed as seen in the example in Figure 2.3b.
  
Since the three Windows partitions are using the entire disk, the data partition needs to be shrunk in order to create space to install PC-BSD into. To shrink the data partition, right-click the partition--in this example it is called Acer (C:)--and select Shrink Volume. Wait a moment as it queries the volume for available shrink space; the results will be displayed as seen in the example in Figure 2.5b.
+
<!--T:9-->
 +
In this example, 321089MB of space is available. To divide the partition between Windows and PC-BSD®, change that number to 230000 and click the "Shrink" button. When finished, the newly created free space will be displayed, as seen in Figure 2.3c.
  
'''Figure 2.5b: Available Shrink Space'''
+
<!--T:10-->
 +
You can now format the newly created free space using a utility such as Parted Magic, as described in the next section.
  
[[File:Shrink1.jpeg]]
+
<!--T:11-->
 +
{{note|width=48.5%|icon64=while the Disk Management utility in Windows 7 indicates that it will let you format a primary partition, in reality it will only create an extended partition which will not allow you to install PC-BSD®. This means that you still need another utility such as Parted Magic.}}
  
In this example, 321089MB of space is available. Since I wish to divide the partition between Windows and PC-BSD, I'll change that number to 230000 and click the Shrink button. When finished, the newly created free space will be displayed, as seen in Figure 2.5c.
+
=== Using Parted Magic to Create a Primary Partition === <!--T:12-->
  
'''Figure 2.5c: Disk Now Has Free Space'''
+
<!--T:13-->
 +
{{citelink|url=http://partedmagic.com/|txt=Parted Magic}} is a graphical, easy-to-use partition editor that is packaged on a live CD. It can be used to shrink an existing partition and to create a primary partition from existing free space.
  
[[File:Shrink2.jpeg]]
+
<!--T:14-->
 +
[[File:Pmagic.png|thumb|400px|'''Figure 2.3d: Formatting the Unallocated Space into a Primary Partition''']]
  
You can now format the newly created free space using a utility such as [[Partitioning_the_Hard_Drive#Using_PartedMagic_to_Create_a_Primary_Partition | Parted Magic]].
+
<!--T:15-->
 +
To use Parted Magic, download the latest ''.iso.zip'' file, unzip it, and burn it to CD. Boot the system with the CD and let it boot into "Default settings (Runs from RAM)". Wait for it to boot into the graphical screen, then select the "Partition Editor" desktop icon.
  
'''NOTE:''' While the Disk Management utility in Windows 7 indicates that it will let you format a primary partition, in reality it will only create an extended partition which will not allow you to install PC-BSD. This means that you still need another utility such as Parted Magic.
+
<!--T:16-->
 +
Figure 2.3d shows the same Windows 7 system in Partition Editor. The 225.05GB partition is the Windows data partition (which was displayed as drive C within Windows 7) and the 224.61GB of unallocated space was created using the Windows Disk Management utility. The "Create new Partition" screen was opened by right-clicking on the unallocated space and selecting "New" from the menu.
  
===Using Parted Magic to Create a Primary Partition===
+
<!--T:17-->
 +
When creating your partition from unallocated space, make sure that "Primary Partition" is selected. The filesystem type does not matter as the PC-BSD® installer will reformat it. It is a good idea to write down the size and filesystem type so that you will recognize the partition that you will be installing PC-BSD® into. Once you have made your selections, click the "Add" button. Note that the partition will not actually be created until you click the "Apply" button to apply your changes. A popup menu will prompt you to make sure that you have selected the correct partition, as formatting a partition destroys all data on that portion of the disk. Once the operation is complete you can reboot and start the PC-BSD® installation.
  
[http://partedmagic.com/ Parted Magic] is a graphical, easy-to-use partition editor that is packaged on a live CD. It can be used to shrink an existing partition (for example on a Linux or BSD system) and to create a primary partition from existing free space.
+
<!--T:18-->
 
+
<noinclude>
To use Parted Magic, download the latest .iso.zip file, unzip it, and burn it to CD. Boot the system with the CD and let it boot into "Default settings (Runs from RAM)". Wait for it to boot into the graphical screen, then select the Partition Editor desktop icon.
+
{{refheading}}
 
+
[[category:handbook]]
Figure 2.5d shows the same Windows 7 system in Partition Editor. The 225.05GB partition is the Windows data partition (which was displayed as drive C within Windows 7) and the 224.61GB of unallocated space was created using the Windows Disk Management utility. The Create new Partition screen was opened by right-clicking on the unallocated space and selecting New from the menu.
+
[[category:Pre-Installation Tasks]]
 
+
[[category:Partitioning the Hard Drive]]
'''Figure 2.5d: Formatting the Unallocated Space into a Primary Partition'''
+
</noinclude>
 
+
</translate>
[[File:Pmagic.png]]
+
<languages />
 
+
When creating your partition from unallocated space, make sure that "Primary Partition" is selected. The file system type does not matter as the PC-BSD installer will reformat it. It is a good idea to write down the size and file system type so that you will recognize the partition that you will be installing PC-BSD into. Once you have made your selections, click the Add button. Note that the partition will not actually be created until you click the Apply button to apply your changes. A popup menu will prompt you to make sure that you have selected the correct partition as formatting a partition destroys all data on that portion of the disk. Once the operation is complete, you can reboot and start the PC-BSD installation.
+

Revision as of 01:08, 21 April 2013

(Sorry for the inconvenience)

Contents

PC-BSD® does not include its own built-in partition manager.

NOTE: PC-BSD® will not install into a secondary or logical partition, it must be a primary partition.
The installer assumes that the drive is already prepared for an installation. If you are not planning to install PC-BSD® onto the entire hard drive, you will need to use a third-party application in order to prepare a primary partition to use as the destination for your PC-BSD® install. This section demonstrates how to create free space within Windows 7 and how to use Parted Magic to create a primary partition from the free space.
DANGER! Before creating or editing your hard drive's partitions, make sure that you first back up your valuable data to an external media such as a removable USB drive, then remove the drive during this operation. Data stored on the hard drives attached to the computer have the chance for damage or loss. Extreme care must be taken but this will not eliminate the unforeseen from happening. It is always best to back up first or your valuable data will be at risk.

Shrinking a Drive in Windows 7

If you are currently running Windows 7, it is using the entire hard drive. This means that you will need to first shrink the drive in order to make room to create a new partition. Shrinking is an operation that retains the current data on the partition, while reducing the size of the partition.

To shrink the drive, go to Start menu ➜ right-click ComputerManageStorageDisk Management. Figure 2.3a shows an example of a system running Windows 7. In this example, Windows has created three partitions: a 16GB recovery partition, a 100MB system partition, and a 450GB data partition.

Figure 2.3a: Viewing Disk Layout in Disk Management
Figure 2.3c: Disk Now Has Free Space
WARNING if you plan to dual-boot with Windows, it is important that you do not choose to install PC-BSD® into any of these three partitions when you get to the Disk Selection Screen of the installer. It is a good idea to write down the sizes of the partitions so that you will recognize them when the PC-BSD® installer displays your current partitions.
Figure 2.3b: Available Shrink Space

Since the three Windows partitions are using the entire disk, the data partition needs to be shrunk in order to create space to install PC-BSD® into. To shrink the data partition, right-click the partition, in this example it is called Acer (C:), and select "Shrink Volume". Wait a moment as it queries the volume for available shrink space; the results will be displayed as seen in the example in Figure 2.3b.

In this example, 321089MB of space is available. To divide the partition between Windows and PC-BSD®, change that number to 230000 and click the "Shrink" button. When finished, the newly created free space will be displayed, as seen in Figure 2.3c.

You can now format the newly created free space using a utility such as Parted Magic, as described in the next section.

NOTE: While the Disk Management utility in Windows 7 indicates that it will let you format a primary partition, in reality it will only create an extended partition which will not allow you to install PC-BSD®. This means that you still need another utility such as Parted Magic.

Using Parted Magic to Create a Primary Partition

Parted Magic[1] is a graphical, easy-to-use partition editor that is packaged on a live CD. It can be used to shrink an existing partition and to create a primary partition from existing free space.

Figure 2.3d: Formatting the Unallocated Space into a Primary Partition

To use Parted Magic, download the latest .iso.zip file, unzip it, and burn it to CD. Boot the system with the CD and let it boot into "Default settings (Runs from RAM)". Wait for it to boot into the graphical screen, then select the "Partition Editor" desktop icon.

Figure 2.3d shows the same Windows 7 system in Partition Editor. The 225.05GB partition is the Windows data partition (which was displayed as drive C within Windows 7) and the 224.61GB of unallocated space was created using the Windows Disk Management utility. The "Create new Partition" screen was opened by right-clicking on the unallocated space and selecting "New" from the menu.

When creating your partition from unallocated space, make sure that "Primary Partition" is selected. The filesystem type does not matter as the PC-BSD® installer will reformat it. It is a good idea to write down the size and filesystem type so that you will recognize the partition that you will be installing PC-BSD® into. Once you have made your selections, click the "Add" button. Note that the partition will not actually be created until you click the "Apply" button to apply your changes. A popup menu will prompt you to make sure that you have selected the correct partition, as formatting a partition destroys all data on that portion of the disk. Once the operation is complete you can reboot and start the PC-BSD® installation.


References


  1. http://partedmagic.com/
Other languages:German 26% • ‎English 100% • ‎French 11%
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox