Windows Vista: The Complete Reference (Complete Reference Series)

Hard disks can be partitioned -divided into one or more logical sections-using Disk Management or a compatible program. (Most disks have only one partition.) Both hard disks and removable disks must be formatted with a file system , the information that keeps track of which files are stored where on the disk. Windows Vista supports three file systems: FAT (File Allocation Table, the file system used in DOS and Windows 95), FAT32 (the file system introduced with Windows 95 OSR2 and used in Windows 98,98SE, and Me), and NTFS 5.0 (New Technology File System, the latest version of the file system designed for Windows NT/2000).

On computers with Windows preinstalled , the hard disk has already been partitioned (usually into a single large partition) and formatted. However, if you install an additional hard disk or replace the original hard disk, you have to format and perhaps partition the new disk. Some disks (both hard disks and removable disks) come preformatted and some don't. Whether or not a disk is preformatted, you can reformat it to remove any existing files and make it a "clean" empty disk.

Each disk drive, including CD drives, DVD drives, and other removable media like USB thumb drives or external hard drives , has a drive letter assigned to it by Windows, but you can change these letters, or assign drive letters to folders, if you must. You can also check how much free space is on any disk and look at the properties of a disk.

This chapter describes how to partition and format hard disks; how to decide whether to use FAT, FAT32, or NTFS (and how to convert partitions to NTFS); how to assign drive letters to disk drives; how to check for free space; and how to control the way in which Windows uses DVDs and CD-ROMs. It also covers how to format and copy floppy disks.

Partitions, File Systems, and Drive Letters

Partitions and file systems determine how and where Windows stores information on your hard disk. Drive letters refers 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.

Hard Disk Partitions

A partition is a section of a hard disk. Normally, a disk is set up as a single large partition spanning the entire disk, but sometimes 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. Neither CDs nor DVDs can contain multiple partitions.

Types of Partitions

The partitions used by Windows have historically been called primary partitions and extended partitions. 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 Apple Macintosh OS X, have their own types of partitions.

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

Note  

We find it confusing that your computer boots off the system partition, while the operating system is stored in the boot partition. Just remember that the names are backward.

The system and boot partitions can be the same partition, or they can be different. If you have one hard disk with one partition, it's both the boot and system partition. 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 Vista.

You can see what partitions your hard disks contain, what types of partitions they are, and which are your system, active, and boot partitions, by using the Disk Management program (see "Displaying Information about Drives and Partitions" later in this chapter).

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.

The Master Boot Record(MBR)

When your computer starts up, the computer's BIOS (Basic Input/Output System, which is stored on ROM chips on the system board) performs various self-tests. Then it searches for the very first sector on your hard disk(s)-cylinder 0, head 0, sector 1 of the first hard disk-which contains the master boot record (MBR).

The MBR tells the computer where your active partition is stored. The computer reads the first sector of the active partition (the boot sector) to look for a boot loader , a program that begins loading an operating system (like Windows or UNIX). For Windows Vista, the boot loader is stored in the Ntldr file. When your computer runs Ntldr, it begins to load the Windows Vista program from the boot partition.

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 the partition that contains the operating system you want to use (see "Creating Dual-boot Installations" in Appendix A). With Windows Me/9x, using multiple partitions to switch between different Windows versions was hard, because they all started from the same primary partition. (Norton 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 (see the sidebar "Managing Partitions with Norton PartitionMagic").

Managing Partitions with Norton PartitionMagic

Norton PartitionMagic is a program from Symantec (http://www. symantec .com/home_homeoffice/products/overview.jsp?pcid=sp&pvid=pm80) that enables you to create, resize, move, and delete all types of partitions. The Windows Vista setup program can set up a separate partition for Windows Vista, 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. Also, PartitionMagic can move and resize partitions without losing the data stored in the partitions: Windows Vista loses your files when you make changes to partitions.

Because all of our data is stored separately on drive D:, backups can be smaller and faster, including only data and not programs. Backing up is easy when all you have to do is specify all files on D:.

However, because application compatibility problems arose during Vista beta testing, you should confirm application compatibility with Symantec prior to purchasing PartitionMagic.

 

Windows Vista has partitioning built in, and its setup program can create a separate partition for it, leaving other versions of Windows alone. It can display a list of the installed operating systems (each in its own boot partition). However, PartitionMagic is still useful for moving and resizing partitions.

The NTFS 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.

NTFS is a more mature version of FAT32 that was originally designed for use with Windows NT and Windows 2000 for server applications. Partition size can be from 520 MB to 2 terabytes (larger sizes are possible, but not recommended). Files are limited only to the size of the partition. Windows Vista uses NTFS 5.0 (it was called 5.1 during product testing), a very slight upgrade from the version used in Windows 2000. Recommended for systems with security needs, large hard disks, and LAN connections.

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. Both FAT32 and NTFS are designed for large partitions and disks and offer no significant benefits when used on smaller disks. However, with Windows Vista's rather significant system requirements, it will be unlikely to see a system available with less than 10GB of hard drive space, making FAT largely useless.

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

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:

We recommend that you set up two partitions: one primary NTFS partition (which appears as drive C:) for Windows Vista and one primary or extended partition (drive D:) for data. Use drive C: for Windows and programs, and use drive D: for data-all documents, spreadsheets, e-mail, and other files that you create or edit. You can configure Windows to store your Documents And Settings folder on D: . You can also configure your programs (where possible) to store their program configuration files on D:-for example, Microsoft Word's template files and or Mozilla's bookmark files.

Keeping all your data and personal configuration settings in a separate partition has several advantages:

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.

Partition and Drive Letters

Every partition, logical drive, and removable disk available to Windows has a drive letter. Whether your computer has floppy drives or not, drives A: and B: are reserved for floppy disk drives. Hard disk partitions and drives for removable disks (such as CD-ROMs, CD-R/W drives, and USB thumbdrives) and external hard drives are assigned letters starting with C:. Any remaining letters can be used for network drives.

Note  

Windows Vista has an annoying habit of assigning drive letters in the order in which drives and partitions are added to the system, so that the drive containing Windows Vista itself may not be C:, and hard disk drive letters may follow CD-ROM drive letters. You can reassign drive letters if necessary (see "Choosing Your Own Drive Letters" later in this chapter).

Displaying Information about Drives and Partitions

Windows Vista stores a set of properties for each installed disk drive and partition, and allows you to manage those properties from the Computer window. This windows includes drop-down menus and icons for each of your drives and partitions. You can also look at the properties of individual drives and partitions by right-clicking the drive and choosing Properties.

The Computer Window

Click Start Computer. In the Computer window that appears (see Figure 34-1), you have the following options just below the menu bar to get a better view of your drives and partitions:

Figure 34-1: Viewing information about drives and partitions.

The Computer window lists all disks, drives, and partitions that are loaded, mounted, and recognized by Windows Vista. You have the following options for working with your drive information:

Properties of Drives and Partitions

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 the Computer window (choose Start Computer); right-click the drive and choose Properties from the menu that appears. Figure 34-2 shows the Properties dialog box for a partition (the dialog boxes for other kinds of disk drives look similar, but may have different tabs).

Figure 34-2: Properties of a partition.

The tabs that appear on the Properties dialog box for a disk drive or partition include the following:

If you have installed a hard-disk housekeeping program like Norton Utilities, additional tabs may appear.

Категории