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

PreviousChapterContentsGlossaryNext

What Are Partitions, File Systems, NTFS, and Drive Letters?

Partitions and file systems determine how and where Windows stores information on your disk. Drive letters refer to the various disks on your computer. Before you can decide which file system to use on your partitions, you need to know the differences among FAT, FAT32, and NTFS.

What Is a Partition?

A partition is a section of a hard disk. Every hard disk must be partitioned before Windows can use it. Normally, a disk is set up as a single large partition spanning the entire disk, but in some circumstances using more than one partition makes sense. When you partition a disk, you allocate a fixed amount of space to each partition.

tip If your disks contain only one partition each, you can use the terms "disk drive" and "partition" interchangeably.

Types of Partitions

Each partition on a disk is set up for a type of operating system. The partitions used by DOS and Windows have historically been called primary partition and extended partition. One disk drive can store either four primary partitions, or three primary partitions and one extended partition. An extended partition can contain many logical drives, which are also partitions--extended partitions provide a way to have more than four partitions on a disk. An extended partition can also contain free space, which isn't allocated to a logical drive. Disks can also contain unallocated space, which doesn't belong to any partition. Other operating systems, such as Linux and OS/2, have their own types of partitions.

When you are running Windows XP, it also designates partitions as system, boot, and active:

The system and boot partitions can be the same partition, or they can be different. If they are different, the computer reads the files from the system partition first when it starts up, then switches to the boot partition to load Windows XP.

You can see what partitions your hard disks contain, what types of partitions they are, and which are your system and boot partitions, by using the Disk Management program.

note Windows also refers to partitions as volumes. Volumes can be disk partitions or they can be on storage media other than hard disks, such as tape drives.

Partitions for Multiple Operating Systems

If you run more than one operating system on your computer, you can create a partition for each operating system and then start the computer from either of the partitions, depending on which operating system you want to use. With Windows Me/9x, using multiple partitions to switch between different Windows versions was hard, because they all started from the primary partition. (PartitionMagic, a program you can purchase separately, enables you to install more than one version of Windows.) Windows NT and 2000 included the NT Boot manager, which made dual-boot systems easier to set up.

Windows XP has partitioning built in, and its installation program can create a separate partition for it, leaving other versions of Windows alone. However, PartitionMagic is still useful for moving and resizing partitions.

Installing Multiple Versions of Windows with PartitionMagic

PartitionMagic is a program from PowerQuest Corporation (http://www.powerquest.com/partitionmagic) that allows one hard disk to include more than one primary partition. Each primary partition can contain a different version of Windows--for example, you can have one partition for Windows 98SE, one for Windows 2000, and one for Windows XP. PartitionMagic, using a small utility called BootMagic, enables you to switch among the primary partitions, using one and optionally hiding the rest.

The Windows XP installation program can set up a separate partition for Windows XP, and the Windows Disk Management window can create and delete partitions, but it still can't do everything that we use PartitionMagic for, such as expanding, shrinking, copying, and moving partitions.

We like to use PartitionMagic to set up three partitions: one primary NTFS partition (which appears as drive C) for Windows XP; one extended partition (drive D) for data; and an extra, hidden primary NTFS partition for a duplicate copy of Windows XP. We use drive C for Windows and programs, and we use drive D for data--all documents, spreadsheets, e-mail, and other files that we create or edit. The hidden partition is a copy of drive C, made right after we install all the programs we usually use. Over the months, our working Windows partition (drive C) slowly fills up with junk, and Windows slows down and becomes less reliable. When Windows starts hanging, crashing, or acting funny, we copy the hidden partition to drive C using PartitionMagic, so we have a clean copy of Windows and our programs, without affecting our data. We developed this system over years of using earlier versions of Windows--we hope the Windows XP will prove to be so much more reliable that we rarely use the hidden copy of the primary partition.

Because all of our data is stored separately on drive D, backups can be smaller and faster, including only data and not programs.

Another way to keep a clean copy of your Windows partition is by using Drive Image, which can make a copy of an entire partition onto a Zip disk, Jaz disk, or writable CD-ROM. More information is available at http://www.powerquest.com/driveimage.

What Is a File System?

A file system is the information that keeps track of which files and folders are stored where in a partition, and what disk space is free. The Windows file system includes a FAT (File Allocation Table) or Master File Table, which stores information about each sector, or physical block of storage space, on the disk.

Windows XP supports three different file systems: FAT, FAT32, and NTFS.

What Are FAT, FAT32, and NTFS?

FAT (or FAT16) dates back to DOS 3.0, and FAT32 was introduced with the OSR2 update to Windows 95. NTFS (NT file system) is a more mature version of FAT32 that was originally designed for use with Windows NT and Windows 2000 for server applications. Each partition on a hard disk and each removable disk must be formatted with FAT, FAT32, or NTFS, but it's possible (and often desirable) to have some disks with one format and some with the other format on the same system.

Here are some facts about each of the file systems:

Both FAT32 and NTFS are designed for large partitions and disks and offer no significant benefits when used on smaller disks. However, with XP's rather significant system requirements it will be unlikely to see a system available with less than 10GB of hard drive space, making FAT16 largely useless.

NTFS 5.0 offers all of the advantages of FAT32 as well as the following:

note NTFS 5.0 was introduced with Windows 2000. The original NTFS that was used by Windows NT does not have the same features as NTFS 5.0. Partitions made with Windows NT need to be converted for Windows XP to use them. Windows XP automatically converts Windows 2000 to the slightly updated version of NTFS that it uses. Older versions of some partitioning utilities (like PartitionMagic) don't work with Windows XP NTFS partitions: be sure to get the latest versions.

note NTFS offers one big benefit to Windows XP Home Edition users: it supports password-protection of files and folders. If you have a network administrator at your workplace, consult with her before deciding which file system to use for your partitions.

Why Divide Your Hard Disk into Partitions?

Most often, you allocate all the space on a hard disk to one partition, which Windows treats as a single logical disk drive using a single drive letter (drive C for the first hard disk). You can also allocate some of the space to the primary partition and some to an extended partition, which can, in turn, be subdivided into multiple logical disks.

As a general rule, a single partition is all you ever need. However, here are circumstances where more than one partition will be useful:

tip Don't slice your disk into too many partitions--we rarely use more than three. Unlike folders, when you create a partition, you must decide in advance how much disk space to devote to that partition. You are bound to run out of space in one partition while you still have plenty of space in another.

What Are Drive Letters?

Every partition, logical drive, and removable disk available to Windows has a drive letter. Drive A is the floppy disk drive, and drive B is reserved for a second floppy disk. Hard disk partitions are assigned letters in order. Drive C is usually the primary partition on your first hard disk. If logical drives are in an extended partition, they are assigned letters next. Then,if you have more than one hard disk, the partitions on those disks are assigned letters. Finally, each removable disk, such as a CD-ROM or Zip disk, is assigned a letter, with the order of the letters being arbitrary. Any remaining letters can be used for network drives.

On a typical system, the floppy disk is A, the hard disk is C, and the CD-ROM is D.

Windows XP has an annoying habit of reassigning drive letters, so that the drive that contains the Windows XP program itself may not be C, and hard disk drive letters may follow CD-ROM drive letters. You can reassign drive letters if necessary.

What Are the Properties of Disk Drives and Partitions?

Windows stores a set of properties for each installed disk drive and partition, and allows you to manage them from one program, Disk Management. Even though the option is not visible in the Windows XP Home Edition, the Disk Management utility is still there. To use the Disk Management program, you display the Computer Management window by right-clicking My Computer and selecting Manage. In the Computer Management window that appears, click the Disk Management item under the Storage heading. The Computer Management window with Disk Management selected, as shown in Figure 32-1, includes everything that you ever wanted to know about hard disks in an easy-to-read format.
[figure]
Figure 32-1: Viewing information about drives and partitions

Properties of Partitions (Volumes), Floppy Drives, CD-ROM Drives, and DVD Drives

The top part of the Disk Management pane (or the right half of the Computer Management window), lists the volumes (partitions and volumes stored on other devices) on your computer. It lists all disks, drives, and partitions that are loaded, mounted, and recognized by Windows XP. It doesn't include removable storage like floppies, CDs, or DVDs. The columns that run across the top of the volume list are

The last items here are for the seriously nerdy, system administrator types among you:

Each item on your system with a drive letter--each hard disk partition, floppy disk, and removable disk--also has properties. You can display these properties from a Windows Explorer window (for example, open Start | My Computer); right-click the drive, and choose Properties from the menu that appears. From the Disk Management pane of the Computer Management window, right-click the partition and choose Properties. Figure 32-2 shows the Properties dialog box for a partition (the dialog boxes for floppy and removable disks look similar).
[figure]
Figure 32-2: Properties of a partition

Table 32-1 lists the settings on the General and Tools tabs of the Properties dialog box for a partition. The Tools tab doesn't appear for disks you can't write on, such as CD-ROM drives. If you use a local area network (LAN) and are using Windows XP Professional, the Sharing tab appears. If you have turned off Simple File Sharing, the Security and Quota tabs appear. The Hardware tab lists disk drives. If you have installed a hard-disk housekeeping program like Norton Utilities, additional tabs may appear.

Tab Setting Description
General Label Specifies the name of the disk, which you can edit.
General Type Specifies whether this disk is a local disk (disk connected to your own computer), network disk (hard disk connected to a computer you can access over a network), floppy disk, CD-ROM drive, DVD drive, or removable disk drive.
General File system Specifies the file system used on the disk. For hard disks, the types are FAT, FAT32, or NTFS. For CD-ROMs, the file system is CDFS.
General Used space Specifies how much disk space is occupied by files (including files in the Recycle Bin).
General Free space Specifies how much disk space is available for use.
General Capacity Specifies the total capacity of the disk drive; a pie chart shows how much is in use. Click the Disk Cleanup button to look for and delete unneeded files.
Tools Error-checking Click the Check Now button to run ScanDisk on this disk drive.
Tools Defragmentation Click the Defragment Now button to run Disk Defragmenter on this disk drive.
Tools Backup Click Backup Now to run the Microsoft Backup Utility.
Hardware All disk drives Displays a list of all drives installed on the system, including hard disks, floppy disks, CD-ROMs, and DVDs.
Hardware Device Properties Shows the manufacturer, location, and status for the selected drive and offers the Troubleshoot button for device-specific troubleshooting, and the Properties button for the drive's properties.
Table 1: Settings on the General, Tools, and Hardware Tabs of the Properties Dialog Box for Partitions

Properties of Hard Disk Drives

The bottom half of the Disk Management pane lists the hard disk, CD-ROM, CD-R/RW, and DVD drives on your computer. To the right of each disk name is a diagram of the partitions that are stored on that drive. You see the same partitions that appear in the volume list, in the approximate positions where they are stored on the drives (the sizes of the partitions aren't accurately depicted, though). This diagram includes hidden partitions (partitions with file systems that Windows XP can't read), even though you cannot access them or their files.

The Properties dialog box for a disk drive (shown in Figure 32-3) usually includes four tabs--General, Disk Policies, Volumes, and Driver. To display the dialog box from the Disk Management pane of the Computer Management window, right-click a disk drive from the list in the lower part of the window and choose Properties from the menu that appears. Or, choose Start | My Computer, right-click any drive or partition, select Properties from the menu that appears (you see the properties of that partition), click the Hardware tab, select the drive you are interested in, and click the Properties button. Table 32-2 lists the properties of a hard disk drive.
[figure]
Figure 32-3: The properties of a hard disk drive

Tab Setting Description
General Device type Set to "Disk drives" by Windows.
General Manufacturer Manufacturer of the disk drive, if known.
General Location How the drive is physically connected to the computer.
General Device status Current status of the disk drive. Click the Troubleshoot button to run the Troubleshooting Wizard.
General Device usage Whether the drive is enabled.
Policies Enable write caching on the disk When selected, enables the write cache, which on some drives improves performance.
Volumes Disk Disk number Windows assigns to the drive. The first disk attached to the first disk controller is disk 0. Floppy disk, CD-ROM, and DVD drives don't have disk numbers.
Volumes Type Drive's Type value, typically Basic. Other types are Dynamic, CDRom, Removable (for Zip, Jaz, and similar disks), and DVD.
Volumes Status What the drive is doing now, usually Online (working. Other statuses are Offline (not working), Online (Errors) (something is wrong), Foreign, Unreadable, Unrecognized, and No Media (no disk in the drive).
Volumes Partition Style How the disk is partitioned, usually MBR (Master Boot Record). Other styles are GPT (GUID Partition Table).
Volumes Capacity Total space available.
Volumes Unallocated Space Space not allocated to an existing volume partition.
Volumes Reserved Space Amount of space allocated to other uses other than storing data.
Volumes Volumes List of volumes stored on the drive (click the Populate button to tell Windows to gather and display the information). Click the Properties button to see the Properties dialog box for the selected volume.
Driver Provider/Date/Version/Digital Signer Source and date of the driver used for this disk drive; many drivers come with Windows XP. Click the Driver Details to see details about the installed device driver. Click the Update driver to run the Update Device Driver Wizard to look for a more recent driver for your disk drive; the Wizard can look on the Windows CD (or floppies) or can connect to the Internet to look for a driver. Click the Roll Back Driver button to reinstall the previous version of the driver (if something fails after you update the driver, returning to the previous version can restore original functionality). Click the Uninstall button to remove the driver from the system, rendering the device unusable.
Table 2: Properties of a Hard Disk Drive

PreviousChapterContentsGlossaryNext