>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.>
I'm talking about 2.6.8 and up - they default to libata which refers to SATA drives as SCSI and hence sda1 etc. so to load this kernel which wants sda*, on a system built for 2.6.7 i.e. hda*, what do I change apart from fstab ?
I can bootup 2.6.10 compiled to inhibit libata, and it accepts hda* fine.. I'm using it as I speak... but this is deprecated.
So.. to bootup 2.6.10 using (the recommended) libata, I believe the question is how do I rename my partitions to sda* ?
Changing the grub files and fstab didn't work.
I've asked this question before but still no luck. man fstab didn't help me.. I'll RTFM if I can find what FM to RT.
cheers
Rod
-----------------------------------------------------------
Brought to you by a thunderbird, penguin, gnu and a camel


Keith Hopkins wrote:
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`


--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to