[CentOS] Re: hard disk move to another server

Tue Feb 27 22:32:40 UTC 2007
Will McDonald <wmcdonald at gmail.com>

On 27/02/07, Will McDonald <wmcdonald at gmail.com> wrote:
> mkinitrd initrd-2.6.9-42.0.2.EL.sata_nv.img 2.6.9-42.0.2.EL
>
> Then add a new Grub entry to try booting with that initrd? If that
> doesn't help, there's a bunch of stuff in the list archives, just try
> browsing through anything with a mention of mkinitrd in it.

Just quickly testing this, it doesn't appear to include the module
unless it's explicitly preloaded with...

mkinitrd --preload sata_nv -v wmcd.img 2.6.9-42.0.2.EL

Compare...

[root at stella boot]# mkinitrd --preload sata_nv -v wmcd.img
2.6.9-42.0.2.EL | grep ata
Looking for deps of module sata_nv       libata scsi_mod
Looking for deps of module libata        scsi_mod
Using modules:  ./kernel/drivers/scsi/scsi_mod.ko
./kernel/drivers/scsi/libata.ko ./kernel/drivers/scsi/sata_nv.ko
./kernel/drivers/md/dm-mod.ko ./kernel/fs/jbd/jbd.ko
./kernel/fs/ext3/ext3.ko ./kernel/drivers/md/dm-mirror.ko
./kernel/drivers/md/dm-zero.ko ./kernel/drivers/md/dm-snapshot.ko
copy from /lib/modules/2.6.9-42.0.2.EL/./kernel/drivers/scsi/libata.ko(elf32-i386)
to /tmp/initrd.r10911/lib/libata.ko(elf32-i386)
copy from /lib/modules/2.6.9-42.0.2.EL/./kernel/drivers/scsi/sata_nv.ko(elf32-i386)
to /tmp/initrd.r10911/lib/sata_nv.ko(elf32-i386)
Loading module libata
Loading module sata_nv

With...

[root at stella boot]# mkinitrd -v wmcd.img 2.6.9-42.0.2.EL | grep ata

Will.