====== Howto Change a Storage Controller in Linux ====== http://serverfault.com/questions/27428/how-to-add-one-module-to-initrd-using-mkinitrd http://www.mail-archive.com/fedora-package-announce@redhat.com/msg21104.html http://www.justlinux.com/forum/showthread.php?p=886204 ===== Scenario ===== * Server dies and needs to be replaced in a hurry. * Hard drive(s) has been moved to new computer hardware, but won't boot. ===== Centos/Fedora/Redhat ===== Boot the new computer from the appropriate install CD/DVD. - Choose **Rescue** mode - Skip networking - Mount the filesystem under ''/mnt/sysimage'' Adjust the following AHCI driver example for your needs and your kernel: chroot /mnt/sysimage cp /boot/initrd-2.26.27.24-78.2.53-fc9.x86_64.img /boot/initrd-2.26.27.24-78.2.53-fc9.x86_64.old mkinitrd --preload ahci -f /boot/initrd-2.26.27.24-78.2.53-fc9.x86_64.img 2.26.27.24-78.2.53-fc9.x86_64 Exit and reboot the system.