Rod Butcher wrote:
Hello sluggers, if I want to change the name of a drive & partition from
say hda1 to sda1, what do I need to do in addition to updating
/etc/fstab ? If I just change fstab and try to boot a kernel using
libata to access SATA drives, it can't find /dev/sda.
thanks
Rod
Hi Rod,
You can't just "change it" for the sake of changing it. The device name is (for the
most part) assigned by the driver that controls that device. Once upon a time, SATA drives fell
under the /dev/hd* model. If your kernel has that set of drivers, then you are stuck with
/dev/hda, /dev/hda1, etc. I've heard (but not confirmed) the latest 2.6 SATA drivers do live
under /dev/sd* instead of /dev/hd*. You'll need to confirm the your kernel actually supports it.
Try booting your kernel into single user mode, and looking at dmesg to see how it
maps the drives. You might even manage a `fdisk -l`
smime.p7s
Description: S/MIME Cryptographic Signature
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html