INTRODUCTION
This step-by-step article describes how to partition and format a hard disk with Windows XP.Before you can install an operating system, you must first create a primary partition on the first physical hard disk (Disk 0) on your computer, and then format a file system on that partition. This partition is named the System partition. Alternatively, you can create a separate partition for the operating system on any physical hard disk. This is named the startup partition. The System partition on Disk 0 can also be used as a startup partition
How to partition and format your hard disk by using the Windows XP Setup program
1.Insert the Windows XP CD-ROM into your CD-ROM drive or DVD-ROM drive, or insert the first Windows XP Setup disk into the floppy disk drive, and then restart the computer.Note To start your computer from the Windows XP CD-ROM (or from the startup disk), your computer must be configured to start from the CD-ROM drive, the DVD-ROM drive, or the floppy disk drive. In some cases, you may have to modify your computer's BIOS settings to set this configuration. For information about how to configure your computer to start from the CD-ROM drive, the DVD-ROM drive, or the floppy disk drive, see the documentation that is included with your computer, or contact the computer manufacturer.
2.If you are starting the computer from the Windows XP CD-ROM, select any options that are required to start the computer from the CD-ROM drive if you are prompted to do this.Note If your hard disk controller requires a third-party original equipment manufacturer (OEM) driver, press F6 to specify the driver.For more information about how to use F6 to supply a third-party OEM device driver while the Windows Setup program is running, click the following article number to view the article in the Microsoft Knowledge Base:
314859 (http://support.microsoft.com/kb/314859/) Limited OEM driver support is available with F6 during Windows XP Setup If you are starting from the Windows XP Setup disks, insert each of the additional disks when you are prompted, and then press ENTER to continue after you insert each disk.
3.At the Welcome to Setup page, press ENTER.
4.Note If you are using the Setup disks (6 bootable disks), the setup will prompt you to instert the Windows XP CD.
5.Press F8 to accept the Windows XP Licensing Agreement.
6.If an existing Windows XP installation is detected, you are prompted to repair it. To bypass the repair, press ESC.
7.All the existing partitions and the unpartitioned spaces are listed for each physical hard disk. Use the ARROW keys to select the partition or the unpartitioned space where you want to create a new partition. Press D to delete an existing partition, or press C to create a new partition by using unpartitioned space. If you press D to delete an existing partition, you must then press L (or press ENTER, and then press L if it is the System partition) to confirm that you want to delete the partition. Repeat this step for each of the existing partitions that you want to use for the new partition. When all the partitions are deleted, select the remaining unpartitioned space, and then press C to create the new partition.Note If you want to create a partition where one or more partitions already exist, you must first delete the existing partition or partitions, and then create the new partition.
8.Type the size in megabytes (MB) that you want to use for the new partition, and then press ENTER, or just press ENTER to create the partition with the maximum size.
9.Repeat Steps 4 and 5 to create additional partitions if you want them.
10.If you want to install Windows XP, use the ARROW keys to select the partition where you want to install Windows XP, and then press ENTER. If you do not want to format the partition and install Windows XP, press F3 two times to quit the Windows Setup program, and then do not follow the remaining steps. In this case, you must use a different utility to format the partition.
11.Select the format option that you want to use for the partition, and then press ENTER. You have the following options:
•
Format the partition by using the NTFS file system (Quick)
•
Format the partition by using the FAT file system (Quick)
•
Format the partition by using the NTFS file system
•
Format the partition by using the FAT file system
•
Leave the current file system intact (no changes)The option to leave the current file system intact is not available if the selected partition is a new partition. The FAT file system option is not available if the selected partition is more than 32 gigabytes (GB). If the partition is larger than 2 GB, the Windows Setup program uses the FAT32 file system (you must press ENTER to confirm). If the partition is smaller than 2 GB, the Windows Setup program uses the FAT16 file system. Note If you deleted and created a new System partition, but you are installing Windows XP on a different partition, you will be prompted to select a file system for both the System and startup partitions.
12.After the Windows Setup program formats the partition, follow the instructions that appear on the screen to continue. After the Windows Setup program is completed, you can use the Disk Management tools in Windows XP to create or format more partitions.For additional information about how to use the Windows XP Disk Management tools to partition and format your hard disk, click the following article number to view the article in the Microsoft Knowledge
MORE INFORMATION
You can use the Microsoft Windows XP Setup program or the Fdisk and Format tools to partition and format System and startup partitions.For additional information about how to use Fdisk and Format to partition and format your hard disk, click the following article number to view the article in the Microsoft Knowledge Base:
255867 (http://support.microsoft.com/kb/255867/) How to use the Fdisk tool and the Format tool to partition or to repartition a hard disk If your computer is already running Windows XP, and you want to create partitions other than the System or the startup partitions, you can use the Windows XP Disk Management tools.For additional information about how to use the Windows XP Disk Management tools to partition and format your hard disk, click the following article number to view the article in the Microsoft Knowledge Base:
309000 (http://support.microsoft.com/kb/309000/) How to use Disk Management to configure basic disks in Windows XP
Important things to consider before you partition and format your hard disk
Have you prepared the hard disk by following the manufacturer's instructions?Set the jumpers and the cabling according to the role of the hard disk (for example, master or subordinate) and make any required BIOS (or CMOS) changes. See the documentation that came with your hard disk and motherboard, or contact the manufacturers.
•
What type of file system do you want to use?You can use either the FAT or NTFS file systems.For additional information about the differences between the FAT and NTFS file systems, click the following article numbers to view the articles in the Microsoft Knowledge •
Does the hard disk already contain data? If yes, have you backed up all your important data?If not, back up your data before you continue. When you partition and format a hard disk, all the data on that partition is permanently deleted. You can view current partition information without deleting your data.For additional information about how to use the backup utility or the Files and Settings Transfer Wizard, click the following article numbers to view the articles in the
Does the hard disk have a drive overlay or a disk management program?If your computer uses drive overlay software for large hard disk support, do not use the Windows XP Setup program to partition or to format the drive until you have verified Windows XP compatibility with the software manufacturer. If you do not know whether you have drive overlay software installed, contact the software manufacturer before you continue.
Do you have the floppy disks or the CD-ROMs that you need to reinstall your software?Make sure that you have the software so that you can reinstall your programs after you partition and format your drive. If you purchased an upgrade for a program, make sure that you have the full version of the original program. Many upgrades for programs require a compliance check before you can install the upgraded product. If you cannot find the original floppy disks or CD-ROMs, contact the software manufacturer before you continue.
Do you have updated device drivers backed up on storage other than the drive that you want to format and partition?If you have installed an updated device driver for your peripheral devices (for example, modems and printers), make sure that you back up the new driver for the device to a location other than the drive that you want to format and partition. Therefore, you can reinstall it after you install your operating system.
How to Use the Fdisk and Format Tools
Before you install your operating system, you must first create a primary partition on the hard disk (disk 1) on your computer, and then format a file system on that partition. The Fdisk tool is an MS-DOS-based tool that you can use to prepare (partition) a hard disk. You can use the Fdisk tool to create, change, delete, or display current partitions on the hard disk, and then each allocated space on the hard disk (primary partition, extended partition, or logical drive) is assigned a drive letter. Disk 1 may contain one extended partition, and a second hard disk may contain a primary or extended partition. An extended partition may contain one or more logical MS-DOS drives. After you use the Fdisk tool to partition your hard disk, use the Format tool to format those partitions with a file system. The file system File Allocation Table (FAT) allows the hard disk to accept, store, and retrieve data. Windows 95 OEM Service Release 2 (OSR2), Windows 98, Windows 98 Second Edition, Windows Millennium Edition (Me), and Windows 2000 support the FAT16 and FAT32 file systems. When you run the Fdisk tool on a hard disk that is larger than 512 megabytes (MB), you are prompted to choose one of the following file systems:
•
FAT16: This file system has a maximum of 2 gigabytes (GB) for each allocated space or drive letter. For example, if you use the FAT16 file system and have a 6-GB hard disk, you can have three drive letters (C, D, and E), each with 2 GB of allocated space.For additional information about the FAT16 file system, click the article number below to view the article in the Microsoft Knowledge Base:
FAT32: This file system supports drives that are up to 2 terabytes in size and stores files on smaller sections of the hard disk than the FAT16 file system does. This results in more free space on the hard disk. The FAT32 file system does not support drives that are smaller than 512 MB.For additional information about the FAT32 file system, click the article number below to view the article in the Microsoft Knowledge Base:
How to Partition a Master Hard Disk
To partition a master hard disk, run the fdisk command:
1.Insert the Startup disk in the floppy disk drive, restart your computer, and then use one of the following methods, depending on your operating system. For a Windows 98, Windows 98 Second Edition, or Windows Me Startup disk:
a. When the Microsoft Windows 98 Startup menu is displayed, select the Start computer without CD-ROM support menu option, and then press ENTER.
b. At a command prompt, type fdisk, and then press ENTER.
c. View step 2.For a Windows 95 Startup disk:
a. At a command prompt, type fdisk, and then press ENTER.
View step 2.
2.If your hard disk is larger than 512 MB, you receive the following message:
Your computer has a disk larger than 512 MB. This version of Windows includes improved support for large disks, resulting in more efficient use of disk space on large drives, and allowing disks over 2 GB to be formatted as a single drive. IMPORTANT: If you enable large disk support and create any new drives on this disk, you will not be able to access the new drive(s) using other operating systems, including some versions of Windows 95 and Windows NT, as well as earlier versions of Windows and MS-DOS. In addition, disk utilities that were not designated explicitly for the FAT32 file system will not be able to work with this disk. If you need to access this disk with other operating systems or older disk utilities, do not enable large drive support. Do you wish to enable large disk support? If you want to use the FAT32 file system, press Y and then press ENTER. If you want to use the FAT16 file system, press N, and then press ENTER.For additional information about the FAT32 and FAT16 file systems, click the article numbers below to view the articles in the Microsoft Knowledge Base:
How to Format a Hard Disk
1.Restart your computer with the Startup disk in the floppy disk drive. NOTE: If you are using a Windows 95 Startup disk, a command prompt is displayed and you can skip to step 2. If you are using a Windows 98, Windows 98 Second Edition, or Windows Me Startup disk, select the Start computer without CD-ROM support menu option when the Windows 98 Startup menu is displayed.
2.When a command prompt is displayed, type format c: /s, and then press ENTER. This command transfers the system files and should only be used when you format drive C (or your "active" drive). For all other partitions, type format drive: (where drive is the letter of the partition that you want to format). NOTE: If you receive a "Bad command" or "Bad file name" error message, you may need to extract the Format.com tool to your boot disk. To do this, type the following command at a command prompt, and then press ENTER:
extract ebd.cab format.comAfter the Format.com tool is extracted to your boot disk, type format c: /s t a command prompt to format your active partition, or type format drive: if you want to format a partition that is not your active partition.
3.When you successfully run the Format.com tool, you receive the following message:
WARNING, ALL DATA ON NON-REMOVABLE DISK DRIVE C: WILL BE LOST! Proceed with Format?
4.Press Y, and then press ENTER to format drive C.
5.After the format procedure is finished, you receive the following message:
Volume label (11 characters, ENTER for none)? NOTE: This is an optional feature that you can use to type a name for the drive. You can either type an 11-character name for the drive, or you can leave it blank by pressing ENTER.For information about how to repartition the extended partition and logical drives, view the "How to Repartition and Format the Extended Partition and Logical Drives of a Hard Disk" section in this article.