User Tools

Site Tools


computing:linux:change_storage_controller

Howto Change a Storage Controller in Linux

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.

  1. Choose Rescue mode
  2. Skip networking
  3. 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.

computing/linux/change_storage_controller.txt · Last modified: 2011/12/12 14:55 by gcooper