Hard Drives and Operating Systems

an article added by: Raymond P. at 12112007



In: Categories » » PC components » Hard Drives and Operating Systems

  


For it to store and retrieve data on a hard drive, and keep track of multiple partitions and multiple drives, significant portions of OSs have to be dedicated to managing hard drives. A partition is a portion of a hard drive recognized by the OS as a separate and complete entity; it is not the divider between these portions as the name suggests.

File Systems

The OS has to have a method of storing and organizing files on a drive. There are different file systems used by Windows and DOS to serve that purpose:

File Allocation Table (FAT): Better known today as FAT16 for its 16-bit file storage, this is the original DOS and Windows file system. Its storage efficiency is the lowest of all file systems in use and it is highly susceptible to fragmentation (portions of files spread out all over the drive resulting in slow performance and additional wear). Additionally, FAT16 limits file names to eight characters plus a three-character extension. The maximum partition size for FAT16 is 4GB. FAT16 is the only file system accessible in all versions of Windows and DOS, and is the only file system usable by the original version of Windows 95 and older. It is also the file system for floppy disks.

FAT32: FAT32 stores files more efficiently than FAT16 and has support for long filenames. FAT32 drives can be read by every version of Windows since the second version of Windows 95 (except for NT 4.0), and is the default file system for 98 and Me. The maximum partition size for FAT32 is very large, although there is a 32GB limit in Windows XP.

NTFS: The original version of NTFS was introduced with Windows NT. A newer version was introduced in Windows 2000, and it is the default file system for 2000 and XP. NTFS is somewhat resistant to fragmentation and allows for many of Windows 2000 and XP's security features not available in FAT16 or 32. The maximum size for an NTFS partition is two terabytes (TB), which is 240 bytes, or 2048GB. Windows 9x and DOS cannot use NTFS.

To select a file system for a hard drive, you have to format the drive. When installing Windows 9x, you can use the DOS program FDISK, covered later in this tutorial. When installing 2000 or XP, the OS setup program provides this service. You'll be shown a graphical display of all the hard drives installed on the system, and you'll be given your choice for installation of the OS. You'll also have the choice of file systems, and NTFS will be recommended.

Partitions and Drive Letters

Here are definitions of the terms used in this area:

Active partition: This is the partition that needs to contain the OS's boot files because the BIOS looks to this partition for them. You can, however, designate any partition as the active partition; if it is the wrong one, the computer won't be able to boot from the hard drive.

Basic disk: A physical disk that is accessible by any version of Windows.

Dynamic disk: A disk used in 2000 or XP that can use special features such as logical disk volumes that span more than one physical disk.

Extended partition: A partition that can exist only on a drive containing the master boot record. An extended partition does not get a drive letter. To use an extended partition, you must create one or more logical drives on it; logical drives are assigned drive letters. There can be only one extended partition on a physical disk and you cannot install an OS on an extended partition. The only reason to create an extended partition is if you want to have more than four partitions on a physical hard drive.

Logical drive: A partition created on an extended partition. A logical drive can be assigned a drive letter.

Master boot record (MBR): The area on a hard disk that contains boot files; this is the first sector on the disk.

Physical disk: A hard drive.

Primary partition: A partition that functions as a physically separate disk. You can create up to four primary partitions on a physical disk that contains the MBR, or three if you create an extended partition also. Primary partitions normally are assigned a drive letter by the OS.

Volume: Any area on a hard drive that has a drive letter assigned to it.

The most important thing to know here is that you must designate a partition as active in order to boot from it. However, the other items are likely to come up at some time or another.

Drive Letters

In a PC, physical disks are designated a number starting from 0. Primary partitions, logical drives, optical drives, and network drives are assigned drive letters between C and Z (a network drive is a folder or drive on another computer on a network that can be accessed as if it were a local partition on the hard drive). A and B are reserved for floppy drives. The order of automatic letter assignment is as follows:

The first primary partition on drive 0 gets C.

Subsequent primary partitions on any drive get D, and so on.

Logical drives get the next available letters.

Optical drives get the next available letters.

Network drives get any available letters.

Note This lettering system can cause the following complications: suppose drive 0 has one primary and one extended partition with one logical drive. Drive 1 has one primary partition. Because primary partitions come first, the primary partition on drive 0 is C, the primary partition on drive 1 is D, and the logical drive on drive 0 is E. Furthermore, if you add a second hard drive to a system with a logical drive on drive 0, the new primary partition takes the drive letter formerly held by the logical drive.

legal notice

Our website is not responsible for the information contained by this article. Web-articles is a free articles resource.
Suggestion: If you need fresh, daily updated content for your website, feel free to use our service. Click here for more information.

Useful tools and features

Hard Drives and Operating Systems  
If you like this article (tutorial), please link to it from your web page using the information above.

related articles

1. Hard disk drives are so named because they contain hard magnetic disks
BIOS Memory Settings Some BIOS setup programs have settings for memory. Normally, most of these settings are to be left alone. In fact, manuals for Award BIOSs warn the technician never to alter the memory settings on the Chipset Features Setup page unless data is being lost. Data loss from memory is extraordinarily rare, so we also recommend leaving these settings alone unless directed to change them by support technicians from the computer/motherboard manufacturer or the BIOS manufacturer. One memory setting you can chan...

2. OS Hard Drive Control and Configuration
OS Hard Drive Control and Configuration There are several Windows and DOS programs and commands to use to control and configure hard drives. When you are dealing with the only hard drive on a system, you are limited to what you can do in Windows. The reason for this is that Windows files are in use. In many cases, major changes won't be made until the computer is rebooted. The following sections are overviews of the programs. FDISK FDISK is a program that runs in DOS, and is useful mainly in 9x. Very old versions ...

3. Hard Drive Removal and Installation
Hard Drive Removal and Installation It is usually not difficult to remove a hard drive from a desktop or tower computer for testing, virus scanning, data transfer, or disposal. The biggest problems you might run into are accessing the screws or having enough room to slide the drive out of the back of the cage. There are a number of steps to follow to install a new or replacement drive, but it usually isn't difficult either. Hard Drive Removal The first step in removing a hard drive is, with all the cables and powe...

4. Hard Drive BIOS Settings
Hard Drive BIOS Settings As long as it has such a setting, it is best to set the BIOS to Auto, so that it detects the hard drive settings itself. Manually entering these settings might slightly reduce the time it takes for a computer to boot, but it won't be significant enough to make it worthwhile. Some motherboards auto-detect the drive the first time and set the parameters so that they don't have to detect the drives each time. The other option is often called User, meaning that the user sets the parameters. If you feel you need...

5. Hard drives are a common culprit in PC problems
Troubleshooting Hard Drives Hard drives are a common culprit in PC problems. These problems can range from easily correctable to disastrous. As mentioned earlier in this tutorial, making sure S.M.A.R.T. drives are enabled in the BIOS will be helpful to catch some of these problems sooner than they otherwise would be caught. This section covers some common hard drive problems and solutions. Operating System Is Missing One of the most obvious signs of a hard drive problem is an error message early in the boot process s...

6. There are several different types of removable storage devices
Removable Storage Devices There are several different types of removable storage devices. We discussed removable full-sized hard drives in the section on RAID. There are additional uses for these. One is for drives containing data only (no OS or programs) that can be easily switched from machine to machine, although networks usually do that job. Another use is as an easy way to switch OSs on a single computer, a job usually done by setting up the different OSs on different partitions. USB and FireWire (IEEE 1394) Drives...

7. CD drives are called optical drives because microscopic pits
CD/DVD Drive Overview Compact Disc (CD) and Digital Versatile Disc (DVD, formerly Digital Video Disc) drives are called optical drives because microscopic pits embedded into the discs are read by measuring reflected laser light. Read-Only Memory (CD-ROM) drives became popular around 1994 and represented a major improvement over floppies for program installation. They can also be used to read from CD data discs. Eventually came CD-R drives, which allowed discs to be burned (recorded) once only. There weren't too many of these ...