i removed .ko from all and then gave the below error. [root at gateway etc]# cd /boot/ [root at 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 at graffiti.net> wrote: > > Indunil Jayasooriya wrote: > > On 2/8/07, *Feizhou* <feizhou at graffiti.net > > <mailto:feizhou at graffiti.net>> 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 at gateway ~]# cd /boot/ > > > > [root at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070208/ae8fa6bb/attachment-0005.html>