User Tools

Site Tools


computing:linux:change_storage_controller

This is an old revision of the document!


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
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.1323726861.txt.gz · Last modified: 2011/12/12 14:54 by gcooper