This is a guide on how to check if a partition is primary in centos or not? Use the following command:
# parted /dev/sda print
Alternative:
# cfdisk /dev/sda
As shown above, the field under “Part Type” would suggest if that partition is Primary/Secondary.
To exit out of the cfdisk menu, use your arrow keys and move the selection to “Quit” and hit Enter in your keyboard.
Source: Link
As always stay Happy! Happy Blogging! 🙂
ΞXΤЯ3МΞ