Re: SDA and HDA

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



Matt wrote:
The only problems with switching after install is:

1) you need to be sure the initrd has the (proper) SATA kernel module(s)
in it.  If necessary, you'll have to use mkinitrd to re-create the
initrd file to include the proper driver modules.

2) /etc/fstab needs to be fixed, either to use LABEL= (rather than
/dev/hdaN) and your file systems (including swap) need to have file
sytem labels.  (LVM volumes won't be a problem.)

I changed it in bios to sata mode.  Now after boot up it calls it sda
instead of hda and disk I/O is much faster.

I see in this file:

# cat /boot/grub/device.map
# this device map was generated by anaconda
(hd0)     /dev/hda

Should I change this too sda?  It works and boots the way it is but
just wandering?
No - I believe grub just refers to hd as hard drive and this does not relate to /dev/sda or /dev/hda
Here is fstab:

# cat /etc/fstab
/dev/VolGroup00/LogVol00 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
/dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0

Matt
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

begin:vcard
fn:Rob Kampen
n:Kampen;Rob
email;internet:rkampen@xxxxxxxxxxxxxxxxx
tel;work:407-896-9556 x6344
tel;fax:407-896-7607
tel;home:407-876-4854
tel;cell:407-341-3815
version:2.1
end:vcard

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux