OS Hard Drive Control and Configuration

an article added by: Raymond P. at 12112007


In: Categories » » PC components » 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 of FDISK aren't compatible with FAT32; if you run into this problem, it shouldn't be difficult to obtain a newer version from a Windows 98 or Me boot disk. No version of FDISK is compatible with NTFS. FDISK allows you to view partition information, create or delete a partition or logical drive, and set a partition to active status. FDISK is available on all 9x boot floppies, and in 95 and 98 by booting to DOS from the hard drive. When you get the command prompt, type FDISK. The first thing you'll see, unless you have a tiny hard drive, is a message asking if you want to enable support for large disks (larger than 504MB). Always answer yes (Y) to this prompt. The main menu then appears. You should usually start by viewing partition information by selecting number 4 from the menu. If you are installing a new hard drive, partition the drive as desired. Unless you have a compelling reason to have multiple partitions, such as setting up a dual- or multiple-boot system, create a single partition.

Note Partitioning with FDISK effectively deletes all data on the drive. If you are working with a used drive, make sure that the data is either backed up or unneeded before doing anything with FDISK other than viewing partition information or setting the partition as active.

FORMAT

Once you have completed partitioning with FDISK, your drive is not yet usable. The drive must be formatted with a file system. You do this with the FORMAT command. From the DOS command prompt, type FORMAT. For a list of switches, type FORMAT /?. Here is the syntax to use when formatting the C drive as FAT32:

FORMAT C: /FS:FAT32

After you press <Enter>, drive C, as shown in FDISK's partition information, will be formatted as a FAT32 partition. This will take some time, but when it is done, the partition will be usable. If you have set it active, you can install Windows on it. If you haven't set it to active, you can always run FDISK again and do so.

Note Any time you format a partition you necessarily delete all data on it. There are, however, programs such as Norton Unformat that can sometimes retrieve data from a formatted drive.

CONVERT (2000 and XP Only)

CONVERT is a command available in 2000 and XP that is used to convert a partition from FAT or FAT32 to NTFS. This is done in Windows at a command prompt. This cannot be undone in Windows without formatting the drive and deleting the data, although third-party software such as PartitionMagic® can be used to convert the file system back to FAT or FAT32 while preserving the data. The syntax to convert drive C to NTFS is as follows:

CONVERT C: /FS:NTFS


Press <Enter> and if the drive is in use, the conversion will occur at the next reboot; otherwise, it will start immediately.

My Computer
My Computer is available in all versions of Windows. If you select a partition and right-click it, you can perform a few tasks, which vary a bit from version to version. If you select Format from the menu that appears, you can format a partition. Naturally, you won't want to do this on a drive that you want to continue using, as this will delete all data on it. If you select Properties from the menu, the General tab shows you a pie chart showing used and free space on the drive. If you see a check box to enable DMA support, select it. DMA is a system that increases performance by reducing the amount of work done by the processor). If the drive doesn't support DMA, the box will be cleared at the next reboot. The Tools tab gives you access to error checking (ScanDisk), backup, and defrag programs.

Disk Management (2000 and XP Only)

All available disk-related tasks can be done in Disk Management. You can get there through Administrative Tools in Control Panel, and opening Disk Management from Computer Management, or by right-clicking My Computer, selecting Manage from the menu that appears, and opening Disk Management from Computer Management. This will show you a graphical depiction of all disks and partitions on your system. Note that by right-clicking a drive, you have access to certain commands.

Hard Drives and Motherboards

All standard PC motherboards today come with two EIDE channels, primary and secondary, as evidenced by connectors on the board. Each channel can handle two EIDE devices, one as the master and one as the slave. In this context, the terms master and slave really don't mean much, as everything a master drive can do, a slave drive can do also, although traditionally, the hard drive with the OS/boot files is installed as the primary master. This is not a rule, however. If the BIOS is set to detect any device as a boot device, then any one of the four can have the OS. The only restriction is that each channel cannot have more than one master and one slave drive. EIDE devices that can be connected to the EIDE connectors include hard drives, optical drives (CD and DVD), and Zip drives. Additional EIDE drives can be added to motherboards by using an EIDE expansion card (one manufacturer is Promise Technology, Inc. at promise.com). To use SCSI devices, a SCSI controller expansion card must be installed.

As we said before, many newer boards come with SATA connectors as well. With this interface, there is no such thing as master and slave, and only one device can be attached to each SATA connector.

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

Link to this article from your page    Send this article to you or to a friend
If you like this article (tutorial), please link to it from your web page using the information above.

related articles

1. Hard Drives and Operating Systems
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 Wi...

2. 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...

3. 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...

4. 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...

5. 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...

6. 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 ...

7. Maintenance of Optical Disc Drives and Discs
The same cleaning kits you use to clean lenses in audio/video optical disc players can be used to clean lenses in computer drives. It is also helpful to spray the inside of the disc drawer with Blow Off or a similar air spray. Do not use any chemicals or solvents anywhere near a drive unless it is designed for it. Cleaning doesn't need to be done often unless the computer is exposed to dust, tobacco smoke, or other pollutants. Diagnosing Optical Disc Problems The list of problems that can occur with optical drives i...

8. Video is the single most important feature of a PC
Video, Sound, Modems, and Network Adapters Video Overview Video is the single most important feature of a PC. Even in the two situations that don't require video, servers and blind people's computers, video is still essential. In the case of servers that aren't regularly accessed by users, you still need video on occasion for configuration, repair, and other operations. Blind people use screen readers and keyboards to use their computers, but screen readers don't work until the OS boots. Consequently, repairs and other ope...

9. Video adapters are available in AGP and PCI
Video Adapter Interfaces Video adapters are available in AGP, PCI, and other older interfaces. Accelerated Graphics Port (AGP) AGP represents an advancement over previous video interfaces. It allows for more efficient transfer of data between the chipset and the graphics controller. There have been three different connectors used for AGP. These are designed so that only the correct card can be inserted into a given slot. Each connector represents a different standard that includes a different signal voltage and o...

10. Older network adapters came in myriad types
Selecting a Network Adapter Older network adapters came in myriad types, but today's cards are mostly Ethernet cards. Ethernet is a network standard that almost exclusively uses Cat 5/Cat 5e UTP (unshielded twisted pair) cables with RJ-45 connectors. RJ-45 connectors are very similar to standard RJ14 modular telephone plugs, but are twice as wide and have eight wires. Many of today's motherboards come with built-in Ethernet adapters. Ethernet transmission speeds have increased from 10 to 100 to 1000 Mbps. Older cards worked at a fi...