What is the hard disk drive/device partition naming convention in Linux? For example, [hd0,0], sd0, etc. What does it actually mean?What is the significance of this when i need to install multiple OSes on the same machine?How can we relate it to windows partitioning (example: C:\ drive or D:\ drive)?
Hard drive/device partition naming convention in Linux
linux;partition
The convention changes depending on what you're looking at; hd0,0 looks similar to GRUB, while sd0 is similar to entries in /dev, but neither matches what I normally see.In /dev:IDE drives start with hd, while SATA (and I believe any kind of serial device) start with sdDrives are lettered starting with a in cable order, so /dev/sda is the first serial drive, and /dev/hdb is the second IDE drivePartitions on a drive are numbered starting with 1, so /dev/sdb1 is the first partition on the second serial driveGRUB 1 doesn't have the distinction between drive types, it's always of the form (hdX, Y):X is the number of the drive, starting with 0, so sda is hd0, sdb is hd1, etc.Y is the number of the partition, starting with 0 (not 1 like /dev), so sda1 is (hd0, 0)I believe GRUB 2 uses a different syntax, but I don't know itIt's significant when you're installing multiple OSes if you want to put them on separate partitions -- you need to keep track of which OS is where. It's really significant anytime you're dealing with unmounted drives; you need to know that / is on /dev/sda1 and /home is on /dev/sda2 (for example)As far as I know, Windows disks start from disk 0, and partitions don't have any particular numbering. Drive letters are assigned however you like and not tied to a particular partition