Linux Hard Disk Partitions Vs Windows Partitions – Linux System Admin Training – Learn Ubuntu

Windows Hard Disk Partitions and Drive Letters

Partitions on Windows hard disks are referred to with drive letters.

A Windows hard disk can have more than one partition on it.

Windows refers to Primary partitions and Logical partitions (that are in an Extended partition) with drive letters.

Windows refers to Logical partitions as “Logical drives”.

The first partition on the first Windows hard is assigned C: and the next partition, on the same hard disk – or on a different hard disk is D:, and so on.

So, a single Windows hard disk can have multiple drive letters referring to partitions on it, such as C: (for the first partition) and D: (for the second partition).

On a Windows system with a single hard disk and a single partition on the disk, the partition is referred to as C: and then drive D: is typically a CD or DVD drive.

If the Windows hard disk has two partitions, these will usually have the drive letters of C: and D: and then drive E: will usually be a CD or DVD drive.

Linux Hard Disk Partitions Don’t Use Drive Letters – They Use Device Names

Linux does not use drive letters to refer to any partitions on a its hard disk.

Linux uses a naming convention (a.k.a. naming scheme) of xxyn to refer to partitions on hard disks.

This naming convention provides much more information than simply using a drive letter. It indicates the drive type, drive position and partition number.

The xx part of the xxyn naming convention is used to specify the hard disk type. In place of xx, the letters hd are used for an IDE hard disk or CD-ROM drive, sd for SCSI, ed for ESDI and xd for an XT hard disk.

For the y part of xxyn, a letter is used for the “position” of the drive. The letter a is for the first drive, b for the second and so on.

For the n part of xxyn, a number is used to represent the partition on the drive.

The numbers 1 through 4 are used for Primary and Extended partitions. Logical partitions can only be created in an Extended partition and a hard disk can only have one Extended partition. The first Logical drive (partition) that is located in an Extended partition is always 5, even if the Extended partition in which it is created does not have the number 4.

The first Primary partition on the first IDE hard disk is referred to as hda1.

So, on a Linux system with a “standard” IDE drive, the first partition is referred to as hda1 and the second partition on the same drive is hda2. The first partition on the second IDE drive is hdb1.

If a Linux system has a SCSI drive, then the first partition on the drive is referred to as sda1 and the second partition on the same drive is sda2. The first partition on the second SCSI drive is sdb1.

If Windows is installed on the first partition of the first hard disk in a system, then Linux still refers to this partition as hda1 (rather than drive C:).

If there is a second partition on the first IDE hard disk, it is referred to as hda2, the third is hda3 and so on.

The Linux concepts regarding partitions covered here apply to: SUSE, Debian, Red Hat, Fedora, Ubuntu, Slackware, openSUSE – and ALL other Linux distributions.

By the way…do you want to learn exactly how office-ball to use Linux and run Linux commands for Linux System Administration and get real, practical Linux training experience by running hundreds of examples of Linux commands?

Just click to download my free new Linux commands training course book and Linux audio podcast (.mp3) files here: Linux Commands Training Mini-Course []

Clyde Boom says “Learn how to use Linux commands with easy, self-paced Linux training materials that show you how to run hundreds of examples of the essential Linux System Administration commands – and get that new and better job, promotion, raise – or keep your current job!”

You can get your instant access to my free Linux commands training course at: []


Article Source:

Leave a Reply

Your email address will not be published. Required fields are marked *