Site hosted by Angelfire.com: Build your free website today!
Chapter 32: Formatting and Partitioning Disks

PreviousChapterContentsGlossaryNext

Partitioning a Disk Using Disk Management

When you buy a new computer or hard disk, you receive it ready for use--already partitioned (usually with one partition) and formatted. If you are adding new unformatted, unpartitioned disk drives, or if you want to create a computer system that can run one of several operating systems--such as switching between Windows XP and UNIX or Linux--you may need to partition a disk yourself. However, formatting destroys the data in the areas of the disk it partitions, so be sure to make a backup copy of all the information on your disk before formatting a disk or partition.

warning Most of the commands in this chapter are available only to users who have administrator user accounts--user accounts that give them permission to make changes to the system itself. Before working with partitions and drives, be sure to back up the important files on your system.

To partition a hard disk, you use the Disk Management tool, a tool straight from Windows 2000. To run Disk Management, choose Start, right-click My Computer, and select Manage from the menu that appears. When you see the Computer Management window, click the Disk Management item listed underneath the Storage heading. You then see the main Disk Management pane in the right side of the Computer Management window, as shown in Figure 32-4.
[figure]
Figure 32-4: The Disk Management pane of the Computer Management window

Many computer systems have only one hard disk and one CD-ROM (CD-R/RW, DVD, or what have you), which appear as Disk 0 and CD-ROM 0 in the left column of the lower pane. Figure 32-4 shows two hard disks, Disk 0 and Disk 1, and two removable storage drives, CD-ROM 0 and CD-ROM 1. Disk 0 is a 40GB drive that has three primary partitions and one logical partition; Disk 1 is an 8GB drive that has no space allocated.

note The Disk Management program replaces the Fdisk program that was part of previous versions of Windows.

Creating a New Partition

If you have unallocated space (which appears as an Unknown Partition in the Disk Management diagram), you can create a new partition in some or all of that space. For example, you could create a new partition for Windows on the 8GB drive in Figure 32-4. To create a new partition, right-click the part of the diagram that represents the unallocated space (unallocated space has a black stripe running along the top), and choose New Partition from the menu that appears. To create a new logical drive in an extended partition that contains free space (free space has a light green strip along the top), right-click the free space and choose New Logical Drive from the menu that appears. Either way, you see the New Partition Wizard.

The New Partition Wizard asks you to specify the following:

Figure 32-5 shows the final screen of the New Partition Wizard, summarizing your choices before Windows creates the partition. Formatting a new partition can take several minutes.
[figure]
Figure 32-5: Creating a new partition with the New Partition Wizard

Selecting the Active Partition

If you partition your disk among multiple operating systems, one of the partitions is the active partition, the partition from which your computer starts. If you run Windows only, the primary partition is always active. In Windows XP you can change this behavior manually by selecting another partition as active using the Disk Management pane in the Computer Management window. Right-click the disk or partition that you want to make active and select Mark Partition As Active from the menu that appears. You can only make this change to primary partitions. Extended partitions and logical drives cannot be made active. Only one partition is active at a time--and make sure it's a partition that contains a bootable operating system!

Deleting a Partition

You can delete a partition using the Disk Management pane of the Computer Management window. Right-click the partition and choose Delete Partition (for a primary or extended partition) or Delete Logical Drive (for a logical drive). If you want to delete an extended partition, you first have to delete all the logical drives in the partition.

warning When you delete a partition, all the files and folders on the partition are deleted for good--they don't go to the Recycle Bin. There's no way to get them back (unless you have a backup copy).

Repartitioning a Disk

Repartitioning a disk with Windows XP is unpleasant at best. Windows can only create and delete partitions--it can't move, resize, or copy them, and converting them requires using a DOS command. To rearrange the partitions on your system using only the Windows Disk Management program, you delete the partitions that are the wrong size or in the wrong location. Then create new partitions. Follow these steps:

  1. Back up all the files on the partitions that you need to delete.
  2. Open the Disk Management pane in the Computer Management window--choose Start, right-click My Computer, choose Manage, and click Disk Management under the Storage heading in the Computer Management window. You see the Disk Management pane shown in Figure 32-4.
  3. Delete the partitions that are in the wrong place or are the wrong size by right-clicking each one and choosing Delete Partition or Delete Logical Drive from the menu that appears.
  4. Create new ones by right-clicking the unallocated space (or free space in an extended partition) and choosing New Partition or New Logical Drive from the menu that appears.
  5. Reload the backed up data.

Third-party disk utilities, such as PartitionMagic, make this process safer and easier and permit many kinds of changes without backing up and reloading everything. PartitionMagic can move, copy, and resize partitions without deleting them (it's amazing, actually). Utilities such as Drive Image make it easy to create a copy of a partition so you can reload it later. If you plan to use multiple partitions, we recommend you look into third-party partitioning programs (see the section "Installing Multiple Versions of Windows with PartitionMagic" earlier in this chapter).

Converting Partitions to NTFS

Windows comes with a Convert command that can convert a FAT or FAT32 partition to NTFS (the Convert command can't convert anything to FAT or FAT32). To convert a partition to NTFS (after backing it up!), follow these steps:

  1. Choose Start | All Programs | Accessories | Command Prompt to open a Command Prompt window.
  2. Type convert n: /FS:NTFS and press ENTER, replacing n: with the drive letter of the partition you want to convert. If you want verbose mode, in which you see extra explanatory messages, type /v at the end of the command.

tip If you need to convert to a file system other than NTFS, try PartitionMagic. Be sure to get the latest version, since earlier versions don't support NTFS 5.0, which is new in Windows XP.

PreviousChapterContentsGlossaryNext