From what I understand, hdx is naming convention for IDE (PATA) drive, sdx is for SCSI (SATA) drive.

Sometimes I see sd0 and sda, similary hd0/hda. What are their differences ? When would we use number in naming such as sd0 or hd0 ?

It seems that (hd0, x) is only used by GRUB, is that correct ?

  • 2
    each operating system uses its own convention; grub could be considered to be an operating system... – wurtel Dec 16 '15 at 10:44

hd0 - is a Linux grub2.gfg/grub.conf designation of hard drive 0, even it is sata

/dev/sd0s1 - usualy a name of first slice in FreeBSD OS on sata0

/dev/sda1 - a name of Linux partition on sata0

  • 1
    /dev/sda isn't necessarily sata0 ( if that designation can even be said to have meaning ).. it's just the first scsi compliant drive ( which sata drives kinda sorta are ) that finished being probed. It can often be a usb flash stick you had plugged in at boot as they tend to detect faster than hard disks, or the third sata drive on your second sata controller. – psusi Dec 17 '15 at 0:03
  • And in which case do we refer to as sd0 and not sda? – Kenny Dec 17 '15 at 14:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.