Using FDisk Utility

Google
 

Wal-Mart.com USA, LLC

Computing & Technology Resource Navigation

Portals
 (Our 3 areas of our site)
 

Archives

Contact Us

Download my LCARS-EXT version 2.0  SysMetrix skin!

TechDictionary.com

Test your Internet connection speed at Speedtest.net

 

NOTE: FDISK is a DOS utility, which is used to partition sectors on a hard disk. This is a useful tool for managing large amounts of disk space; however, this process will delete all data stored on the hard disk.

Partition information

Partitioning a hard drive defines areas of the disk for the operating system to use as volumes. To DOS, a volume is an area of the disk denoted as a drive letter (for example, drive C is volume C, drive D is volume D, and so forth).

A hard drive must be partitioned even if it contains a single volume. All system hard drives (IDE, SCSI, and others) can handle up to 24 partitions either spread out on a single drive or on many drives within the system. This means that a system can have up to 24 different drive letters according to DOS. The limiting factor is the availability of alphabetic letters.

Each partition must have an assigned letter. Since 26 letters are in the alphabet, and A: and B: are reserved for floppy drives, and a system can include additional drives such as CD ROM drives and internal Zip drives, this leaves the remainder of the letters available for partition usage.

If using Windows 95 OSR2 or Higher, it is possible to partition using the FAT32 file system. This will enable smaller clusters and will allow partition sizes up to 2 terabytes (TB) (2,000GB). Earlier versions of Windows require using FAT16, which uses 32-KB clusters and limits partition sizes to 2 GB.

FDISK, General Information

FDISK only shows two DOS partitions: the primary partition and the extended partition. The extended partition is divided into logical DOS volumes, each a separate partition. The minimum partition size is one megabyte (MB). DOS versions earlier than 4.01 are limited to partitions of 32 MB or smaller. DOS 5.x, 6.x, and Windows 95 OSR1 have partition limits of 2 GB max. With DOS 7.x, Windows 95 OSR2, Windows 98 , Windows 98 Second Edition,  and Windows XP the max partition size is up to 2TB (2TB = 2048GB = 2,097,152MB = 2,147,483,648KB = 2,199,023,255,552 bytes).

DOS rules/limitations for partitioning a hard drive

The minimum size for a partition is 1 MB.

NOTE: It is recommended that the Primary Partition size is at least 2 GB to accommodate Windows.

  • The maximum size for a partition on Windows 95 or older versions of Windows is 2GB.

  • Windows 95 OSR2, Windows 98, Windows 98 Second Edition, and Windows XP have no restrictions in partition size up to 2 TB.

  • The minimum number of partitions on a hard drive is one.

  • The first partition is always called the Primary Partition.

  • The second partition is called the Extended Partition.

  • All other partitions are created as Logical drives within the Extended Partition.

  • The Extended Partition must contain at least one active logical drive.

How to start the FDISK utility

FDISK can be run from the DOS prompt:

  • To run FDISK from the DOS prompt, at the DOS prompt, type, FDISK, then press ENTER.

The FDISK options screen

The following choices appear at the FDISK options screen:

  • Create DOS partition of Logical DOS drive.

  • Set active partition.

  • Delete partition or Logical DOS drive.

  • Display partition information.

  • A fifth option will appear if there is more than one hard drive installed on the controller.

 

Displaying DOS partition information

  • At the FDISK options screen, type, 4, then press ENTER. If the hard drive has any existing partitions, they will be displayed. Example: Partition Status, Type, Volume label, System Usage

NOTE: The volume label and disk space (in megabytes). One megabyte = 1048576 bytes (1024 kilobytes)

  • If an extended DOS partition is on the hard drive, a message will appear stating, "The Extended DOS Partition contains logical drives, do you want to display the logical drive information (Y/N)?" Press Y and ENTER to view the logical drive information.

  • Press ESC to return to the FDISK options screen.

Deleting partitions

NOTE: On some older PCs, multiple partitions may be required due the capacity of the hard drive. On these models, use the steps in the following sections to delete the logical drive(s) first, then delete the extended DOS partition, followed by the primary partition.

Deleting Logical drive partitions

  • At the main FDISK options screen, type 3, then press ENTER. The following options will appear:

  • Delete Primary DOS Partition.

  • Delete Extended DOS Partition.

  • Delete Logical DOS Drive(s) in the Extended DOS Partition.

  • Delete Non-DOS Partition.

  • Type 3, and press ENTER to select [3], "Delete Logical DOS Drive(s) in the Extended Partition."

  • Logical drive information and a warning message will be displayed stating that the data in a deleted logical DOS drive will be lost. Type the drive letter to delete (as shown in the information area on the display screen), then press ENTER.

  • Type the volume label exactly as shown on the displayed Partition information on the screen, then press ENTER.

  • A message will be displayed, "Are you sure? (Y/N)." Type Y, and press ENTER.

  • Repeat Steps 1 through 4 for each logical drive to delete.

  • Press ESC to return to the FDISK options screen.

NOTE: If all logical drives are deleted, a message will be displayed stating that no logical drives are defined. Press ESC to return to the FDISK options screen.

Deleting the Extended DOS Partition

NOTE: All Logical drives in the Extended Partition must be deleted before you will be allowed to delete the Extended DOS Partition.

  • At the main FDISK options screen, type, 3, then press ENTER.

  • The following options will appear:

  • Delete Primary DOS Partition.

  • Delete Extended DOS Partition.

  • Delete Logical DOS drive(s) in the Extended DOS Partition.

  • Delete Non-DOS Partition.

  • Type, 2, and press ENTER to select [2], "Delete Extended DOS Partition."

  • Extended DOS Partition information and a warning message will be displayed stating, "the data in the extended DOS partition will be deleted. Do you wish to continue? (Y/N)." Type, Y, and press ENTER.

  • The Extended DOS Partition is deleted. Press ESC to return to the FDISK options screen.

Deleting the Primary DOS Partition

NOTE: The Extended DOS Partition must be deleted before you will be allowed to delete the Primary DOS Partition.

  • At the main FDISK options screen, type, 3, then press ENTER.

  • The following options will appear:

  • Delete Primary DOS Partition.

  • Delete Extended DOS Partition.

  • Delete Logical DOS drive(s) in the Extended DOS Partition.

  • Delete Non-DOS Partition.

  • Type, 1, and press ENTER to select [1], "Delete Primary DOS Partition."

  • The Primary DOS Partition information and a warning message will appear stating that the data in the primary DOS partition will be deleted. Press ENTER to select the primary partition displayed.

  • Type the volume label exactly as shown on the displayed partition information on the screen, then press ENTER.

  • A message will appear, "Are you sure? (Y/N)." Type, Y, and press ENTER.

  • The Primary DOS Partition is deleted. Press ESC to return to the FDISK options screen.

Creating the Primary DOS Partition using defaults

  • At the FDISK options screen, type, 1, then press ENTER.

  • The following options will appear:

  • Create Primary DOS Partition.

  • Create Extended DOS Partition.

  • Create Logical DOS drive(s) in the Extended DOS Partition.

  • Type, 1, and press ENTER to select [1], "Create Primary DOS Partition."

  • A message will appear asking for a decision to use the maximum available size for a primary DOS partition and to make the partition active. Press ENTER to select Yes. The primary DOS partition is created.

NOTE: If using DOS or Windows 95 OSR1, the primary DOS partition is limited to a maximum of 2048MB.
With DOS 7.x, Windows 95 OSR2, Windows 98 , Windows 98 Second Edition,  and Windows XP the max partition size is up to 2TB (2TB = 2048GB = 2,097,152MB = 2,147,483,648KB = 2,199,023,255,552 bytes).

  • Press ESC to return to the FDISK options screen.

Creating the Extended DOS Partition using defaults

NOTE: The Primary DOS Partition must be created before you will be allowed to create the extended DOS partition. An extended DOS partition is not required for systems that have one partition.

At the FDISK options screen, type, 1, then press ENTER.

  • The following options will appear:

  • Create Primary DOS Partition.

  • Create Extended DOS Partition.

  • Create Logical DOS drive(s) in the Extended DOS Partition.

  • Type, 2, and press ENTER to select [2], "Create Extended DOS Partition."

  • Partition information will be displayed. Press ENTER to accept the default partition size shown. The extended DOS partition is created.

  • Press ESC. A message will appear, "No logical drives are defined."

  • Press ENTER to assign all the space in the extended DOS partition to a logical drive.

  • Press ESC to return to the FDISK options screen.

Creating the Primary DOS Partition

  • At the FDISK options screen, type, 1, then press ENTER.

  • The following options will appear:

  • Create Primary DOS Partition.

  • Create Extended DOS Partition.

  • Create Logical DOS drive(s) in the extended DOS partition.

  • Type, 1, and press ENTER to select [1], "Create Primary DOS Partition."

  • A message will appear asking for a decision to use the maximum available size for a primary DOS partition and to make the partition active. Type, N, and press ENTER.

  • The total disk space available on the hard drive and the maximum space available for the primary DOS partition will appear.

  • Type the percent (%) of disk space to use for the primary DOS partition. Example: 50%, then press ENTER.

NOTE: The recommended primary partition size is at least 2 GB to accommodate Windows.

  • The primary DOS partition information will appear. Press ESC to return to the FDISK options screen.

Creating the Extended DOS Partition

  • At the FDISK options screen, type, 1, then press ENTER.

  • The following options will appear:

  • Create Primary DOS Partition.

  • Create Extended DOS Partition.

  • Create Logical DOS drive(s) in the Extended DOS Partition.

  • Type, 2, and press ENTER to select [2], "Create Extended DOS Partition."

  • Partition information will appear. Press ENTER to accept the default partition size shown. The extended DOS partition is created.

  • Press ESC. A message will appear, "No logical drives are defined."

  • To create multiple Logical drives in the extended DOS partition, decide on the number and sizes of drives to create. Example: If 1225 MB is available in the extended DOS partition, it is possible to create two logical drives using 50 percent of the space available, or approximately 612 MB, for each. You may also choose to create three logical drives using 33 percent of the space available, or approximately 408 MB, for each.

  • Once you have decided on the number of logical drives to create, type the percentage (%) of disk space to use for the first logical drive, then press ENTER (for example, 50%, 33%, or 90%).

  • A logical drive (with a drive letter) will be created using the percentage of space selected, and you will be prompted to enter the percentage to use for the next logical drive. Repeat Step 6 and 7 until all space has been allocated to Logical drives.

  • Press ESC to return to the FDISK options screen.

Activating the primary DOS partition

  • At the main FDISK options screen, type, 2, then press ENTER.

  • Type, 1, and press ENTER to make the primary DOS partition active.

  • Press ESC to return to the FDISK options screen.

Rewrite the Master Boot Record

NOTE: The Master Boot Record (/MBR) parameter causes FDISK to rewrite the Master Boot Sector code area, leaving the partition tables intact. This parameter should only be used if a problem is suspected (such as a boot sector virus) with the Master Partition Boot Sector (Cylinder 0, Head 0, Sector 1) of a hard disk. At the DOS prompt, type, FDISK /MBR, then press ENTER. FDISK rewrites the boot sector code leaving the partition tables intact.


Home | About Us! | Terms of Use | Portals (Site Map) | Webmail
Questions, problems, suggestions & or comments regarding this web site should be directed to webmaster @ pcoperative.com
Copyright © 2010 PC Operative. All rights reserved.
Online Since September 30, 2004 Last modified: 01/28/11.
Who links to my website?