[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

A question about hard disk names with recent kernels



Hi,

Previously my hard disks were named hda, sda and sdb. Now they are named
sda, sdb and sdc. Is this due to the UUID naming scheme used
in /etc/fstab, /etc/initramfs-tools/conf.d/resume
and /etc/udev/rules.d/70-persistent-cd.rules.

dmesg also shows this difference. Where does it originate??
It is somewhat confusing that the names have changed, /dev/hd? are ATA
disks while /dev/sd? are SATA disks??

grub also gets confused:
Setting up grub-pc (1.98+20100602-2) ...
/usr/sbin/grub-probe: error: cannot stat `/dev/hda'.
Generating grub.cfg ...
...

What about the (now commented out) fstab entry giving the usblash the
name sdc??
# /dev/sdc   /mnt/usbflash   vfat    defaults,noauto,user  0  0

(haven't rebooted with this kernel latelty, don't know if the names are
the same)
/sbin/blkid in 2.6.32-2-686
/dev/hda1: LABEL="PRESARIO_RP" UUID="693D-1E3B" TYPE="vfat"
/dev/hda3: UUID="aec662ba-91d0-4201-9bd1-a2e9028cbd41" TYPE="ext3"
/dev/hda2: LABEL="PRESARIO" UUID="F0FC6717FC66D77E" TYPE="ntfs"
/dev/hda5: UUID="40a9427a-a676-4ee7-9b8d-817d0be571d1" TYPE="ext3"
/dev/hda6: UUID="fb87eb32-ec18-40c1-93fc-f63f60f39964" TYPE="ext3"
/dev/hda7: UUID="e55cca07-9f99-4df7-bbb1-ac3235d8f600" TYPE="ext3"
/dev/hda8: UUID="10b5957c-8391-4e2a-8d84-a4580990903a" TYPE="swap"
/dev/sda1: UUID="3d8bdf26-796b-454b-a993-a664e6cdce63" TYPE="ext4"
/dev/sdb1: UUID="4019FBEB70921E10" TYPE="ntfs"                   
/dev/sdb2: UUID="49edfb8e-87db-447e-bea3-5a6b101ffdd8" SEC_TYPE="ext2"
TYPE="ext3"

/sbin/blkid in 2.6.32-5-686
/dev/sda1: LABEL="PRESARIO_RP" UUID="693D-1E3B" TYPE="vfat"
/dev/sda3: UUID="aec662ba-91d0-4201-9bd1-a2e9028cbd41" TYPE="ext3"
/dev/sda2: LABEL="PRESARIO" UUID="F0FC6717FC66D77E" TYPE="ntfs"
/dev/sda5: UUID="40a9427a-a676-4ee7-9b8d-817d0be571d1" TYPE="ext3"
/dev/sda6: UUID="fb87eb32-ec18-40c1-93fc-f63f60f39964" TYPE="ext3"
/dev/sda7: UUID="e55cca07-9f99-4df7-bbb1-ac3235d8f600" TYPE="ext3"
/dev/sda8: UUID="10b5957c-8391-4e2a-8d84-a4580990903a" TYPE="swap"
/dev/sdb1: UUID="3d8bdf26-796b-454b-a993-a664e6cdce63" TYPE="ext4"
/dev/sdc1: UUID="4019FBEB70921E10" TYPE="ntfs"                   
/dev/sdc2: UUID="49edfb8e-87db-447e-bea3-5a6b101ffdd8" SEC_TYPE="ext2"
TYPE="ext3"


Reply to: