[CentOS] hard disk move to another server

Fabian Arrotin fabian.arrotin at arrfab.net
Tue Feb 20 19:42:56 UTC 2007


On Tue, 2007-02-20 at 20:00 +0100, dan1 wrote:
> Hello everyone.
> 
<snip>
> Does anyone know how I could upgrade easily this initrd file to contain the 
> proper driver, and even from another partition?
> Would it be possible to keep an old config-xx file and do an rpm upgrade 
> which would automatically recompile a proper initrd-xx file for that new 
> system?
> 

You can at least try to prepare a new initrd (name it differently and
create a different entry in grub.conf) with mkinitrd.
mkinitrd has a nice feature called --with=module so you can try to
mkinitrd --with=sata_via to include this module even if not 'already'
specified in /etc/modprobe.conf (don't forget also to change this after
the machine has correctly booted : 'alias scsi_hostadapter=')
I've never tested such hdd migration but it should work ...

-- 
Fabian Arrotin <fabian.arrotin at arrfab.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20070220/10979ac0/attachment.sig>


More information about the CentOS mailing list