[root@gateway etc]# cd /boot/
[root@gateway boot]# mkinitrd --with=sd_mod --with=scsi_mod with=ata_piix --with=libata /root/initrd-2.6.9-42.0.8.EL.img 2.6.9-42.0.8.EL
usage: mkinitrd [--version] [-v] [-f] [--preload <module>]
[--omit-scsi-modules] [--omit-raid-modules] [--omit-lvm-modules]
[--with=<module>] [--image-version] [--fstab=<fstab>] [--nocompress]
[--builtin=<module>] [--nopivot] <initrd-image> <kernel-version>
(ex: mkinitrd /boot/initrd-2.2.5-15.img 2.2.5-15)
I think path is not set properly.
On 2/8/07, Feizhou <feizhou@xxxxxxxxxxxx> wrote:
Indunil Jayasooriya wrote:
> On 2/8/07, *Feizhou* <feizhou@xxxxxxxxxxxx
> <mailto:feizhou@xxxxxxxxxxxx>> wrote:
>
> You are missing
>
> lib/sd_mod.ko
> lib/scsi_mod.ko
> lib/ata_piix.ko
> lib/libata.ko
>
> Try: mkinitrd --with=sd_mod.ko --with=scsi_mod.ko --with=ata_piix.ko
> --with=libata.ko /root/initrd-2.6.9-42.0.8.EL.img 2.6.9-42.0.8.EL
>
>
>
> i tried it . i did the below . I did the below , First I changed to
> /boot directory.
>
> [ root@gateway ~]# cd /boot/
>
> [root@gateway boot]# mkinitrd --with=sd_mod.ko --with=scsi_mod.ko
> --with=ata_piix.ko --with= libata.ko /root/initrd-2.6.9-42.0.8.EL.img
> 2.6.9-42.0.8.EL
>
> it says the below
>
> No module sd_mod.ko found for kernel 2.6.9-42.0.8.EL, aborting.
oops, sorry, chop the '.ko' from all the module names.
--
Thank you
Indunil Jayasooriya
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos