Ordering Of Disks In Laptop

Home » CentOS » Ordering Of Disks In Laptop
CentOS 2 Comments

I have a Lenovo laptop where I recently replaced the harddisk with a Intel 530 240 Gb SSD (SATA III) on which I then installed CentOS 6.5
which runs just fine albeit at SATA II speed. I then replaced the DVD-drive in the Ultrabay with an identical Intel SSD, the Ultrabay-adapter apparently uses a PATA-SATA bridge so this drive would only run at PATA speed.

Being a CentOS newbie, I am not sure why CentOS calls the first SSD sdb and the second one in the Ultrabay sda? It would seem to me that the first one, the one replacing the original harddisk, should be the main one and be called sda but clearly there is something I don’t understand. In the BIOS the SSD replacing the harddisk has a higher boot order priority then the SSD replacing the DVD-drive.

Suggestions?

Thanks.

2 thoughts on - Ordering Of Disks In Laptop

  • the kernel pays zero attention to the things you’ve mentioned. it enumerates the IO controllers in an arbitrary order, and assigns the devices in the order it finds them

    mount your volumes with labels rather than device names.

  • hi,

    if you worry about, which hdd is primary or secondary? use block id (blkid)
    in fstab configuration for avoiding boot order in multiple drives in attached in your laptop or desktop.

    regards,

    Murad