Results 1 to 2 of 2

Thread: Why do IDE drives show up as sda and sdb?

  1. #1
    Join Date
    Jul 2006
    Beans
    12

    Why do IDE drives show up as sda and sdb?

    I've got two IDE drives in my machine, and they're showing up as /dev/sda and /dev/sdb instead of /dev/hda and /dev/hdc as I would have expected. Can anyone explain why this would be?

    Thanks for the help.

    Ubuntu 8.04.

    fdisk -l:
    Disk /dev/sda: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x000c2fba

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 14311 114953076 83 Linux
    /dev/sda2 14312 14593 2265165 5 Extended
    /dev/sda5 14312 14593 2265133+ 82 Linux swap / Solaris

    Disk /dev/sdb: 320.0 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x0003335e

    Device Boot Start End Blocks Id System
    /dev/sdb1 1 25496 204796588+ 83 Linux
    /dev/sdb2 25497 38913 107772052+ 83 Linux


    menu.lst:
    default 0
    timeout 3
    hiddenmenu

    title Ubuntu 8.04.1, kernel 2.6.24-21-generic
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=74a73227-e424-4bd9-8693-728c7878a122 ro quiet splash
    initrd /boot/initrd.img-2.6.24-21-generic

    fstab:
    proc /proc proc defaults 0 0
    # /dev/hda1
    UUID=74a73227-e424-4bd9-8693-728c7878a122 / ext3 defaults,errors=remount-ro 0 1
    # /dev/hda5
    UUID=78de36e8-1ab5-46bb-9671-42dbbf78623b none swap sw 0 0
    /dev/hdd /media/cdrom0 udf,iso9660 user,noauto 0 0
    /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
    /dev/hdc2 /media/d2 auto rw,user,noauto 0
    quiet

  2. #2
    Join Date
    Jun 2006
    Beans
    7,419
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Why do IDE drives show up as sda and sdb?

    the reason they show up as 'sda' is because ubuntu has swtiched to the libata scsi storage driver for all disks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •