Linux.com

Home Linux Community Forums Linux Distributions Ubuntu Drives and partitions quastion

Drives and partitions quastion

Link to this post 23 Sep 10

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...

Link to this post 24 Sep 10

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?

Link to this post 24 Sep 10

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?

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board