Welcome to the Linux Foundation Forum!

Drives and partitions quastion

If anyone can help me, it would be great...

using the command fdisk -l should list my hard drives and their partitions.

if the drive is:

1) /dev/sda* > it's a SATA drive

2) /dev/hda* > it's an IDE drive

This is as far as I understood from my readings...

So, checking the boot config file grub.cfg, I cant find anything with /dev/sda*, and all the roots are /dev/hd0, while using fdisk -l to list my disks, I cant find anything mentioning any hd0 or anything related to hd*, they are all sda..

how can this happen?

I have only one HDD attached...

Comments

  • Vandal wrote:
    If anyone can help me, it would be great...

    using the command fdisk -l should list my hard drives and their partitions.

    if the drive is:
    1) /dev/sda* > it's a SATA drive
    2) /dev/hda* > it's an IDE drive

    This is as far as I understood from my readings...

    So, checking the boot config file grub.cfg, I cant find anything with /dev/sda*, and all the roots are /dev/hd0, while using fdisk -l to list my disks, I cant find anything mentioning any hd0 or anything related to hd*, they are all sda..

    how can this happen?

    I have only one HDD attached...

    Can you give us what the computer does put out when you type in fdisk -l?
  • mfillpot
    mfillpot Posts: 2,177
    Due to a library update in recent linux distros, IDE hard drives are no longer represented as hd## they appear as sd##.

    By your example I am intrigued by the contents of your files and the reason for the inquiry.
    Can you explain if you are having issues and what those issues are and post the output of fdisk -l and your grub configuration file?

Categories

Upcoming Training