Download (direct link):
* Set quotas
* Set mount points
The following sections examine each action in turn.
Partitioning a basic disk
Those of you who are familiar with partitioning disks in earlier versions of Windows will see no earth-shattering differences with Windows XP Professional, but do take note that, as with Windows 2000, you can use either Windows XP setup (during installation) or the Disk Management snap-in (after installation) to partition disks. Windows XP adds a new command-line utility, DISKPART, which you can use from a script or batch file to create extra partitions when rolling out Windows XP in a scripted or cloned installation. (You can forget about FDISK, praise be.)
Creating a partition in Disk Management (DISKMGMT.MSC) is simplicity itself:
* On a primary partition, right-click an area of unallocated space in the graphical display and choose New Partition.
* On an extended partition, right-click an area of free space and choose New Logical Drive.
Remember Know the following two key terms for the exam. These may be the same, but they don't have to be; the boot partition could live on a second primary partition, for example, or on a logical drive on an extended partition.
* The system partition is the partition containing hardware-specific files and the one from which Windows XP starts the boot process.
* The boot partition is the partition containing the operating system files themselves (usually, the WINDOWS folder).
Warning The terminology is perverse:
* The computer boots from the system partition.
* The operating system is on the boot partition.
Here are the basic rules of partitioning:
* Any basic disk must have at least one partition.
* Partitions come in two types:
* Primary: You can set this as the active system partition.
* Extended: Cannot be the active system partition, but can contain multiple logical drives, each of which you format separately.
* A hard disk may have no more than one extended partition.
* A hard disk may have no more than four partitions total. These can be three primary plus one extended, or four primary.
* Microsoft recommends using a separate partition for each operating system in a multiple-boot setup.
* You must create a primary partition first, then (if desired) an extended partition, and then any logical drives on the extended partition.
Extending a partition
A handy advance that Microsoft has made since Windows 2000 is the ability to extend a partition on a basic disk. Here are the facts to remember for the test:
* Two new command-line utilities let you extend a partition: FSUTIL and DISKPART, both of which use the EXTEND qualifier.
* You can only extend a partition if it uses NTFS.
* You can extend any partition, even the boot or system partition, without restarting the PC.
* The partition to be extended must have a contiguous chunk of unallocated space immediately after it.
* You cannot span multiple disks when you extend a partition; it must stay on the same disk.
Promoting a basic disk to a dynamic disk
Warning Windows XP sets up your disks as basic disks by default. So, usually, when you want to set up a dynamic disk, you'll be upgrading, or promoting, a basic disk. You can promote a basic disk to a dynamic disk without losing data, but watch out: Going in the reverse direction (reverting to a basic disk) wipes out all the data on the disk!
Promoting a basic disk to a dynamic disk is simple, as Lab 7-1 explains. You can also use the new command-line tool DISKPART to promote a disk, which would be handy, for example, if you wanted to promote disks as part of a scripted Windows XP upgrade deployment.
Lab 7-1: Promoting a Basic Disk to a Dynamic Disk
1. Back up the disk that you want to promote.
You may not need this backup, but better safe than sorry.
2. Log on as Administrator or the equivalent.
3. Right-click My Computer and choose Manage.
The Computer Management console appears.
4. Click the Disk Management icon in the tree pane (on the left; see Figure 7-1).
Figure 7-1: The Disk Management snap-in offers a tree view (upper right) or a graphical view (lower right).
5. In the lower-right window frame, right-click the box containing the disk icon and the words 'Disk 0' or 'Disk 1' or whatever number it may be.
Don't right-click any of the partition boxes that appear to the right.
6. Select the Convert To Dynamic Disk menu option.
You won't see this option on removable disk devices because such devices can only be basic disks in Windows XP Professional.
7. Confirm your choice of which disk to promote by checking the correct box next to the disk name.
Windows then displays various warning messages that you should read but (if you're like me) probably won't.
8. Finish with the upgrade wizard and reboot.
Warning The option to upgrade a basic disk to a dynamic disk may appear on a portable PC, but Microsoft doesn't support Windows XP dynamic disks on portable computers. The reason is simple: Dynamic disks only convey benefits when you have more than one hard drive in a computer, and most notebook PCs have only one hard drive. Also, if a notebook PC uses one hard drive internally, and a second hard drive in a docking station, the two drives' LDM databases could easily get out of sync. FYI, Windows XP doesn't support dynamic disks on removable (such as Zip) or detachable (for example, USB) drives, either.