[CentOS] kernel 2.6.9-42.0.8.EL error while booting - CentOS 4.4

Thu Feb 8 09:33:10 UTC 2007
Indunil Jayasooriya <indunil75 at gmail.com>

Thanks. I did it.

[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

this  time it worked.

now it shows new modules.  pls see below.

[root at gateway boot]# gunzip -cd initrd-2.6.9-42.0.8.EL.img |cpio -t
.
etc
etc/udev
etc/udev/udev.conf
init
lib
lib/libata.ko
lib/jbd.ko
lib/ext3.ko
lib/sd_mod.ko
lib/scsi_mod.ko
lib/ata_piix.ko
proc
loopfs
bin
bin/udevstart
bin/insmod
bin/udev
bin/hotplug
bin/nash
bin/modprobe
sbin
dev
dev/console
dev/null
dev/tty1
dev/systty
dev/tty2
dev/ram
dev/tty3
dev/tty4
sysroot
sys
2147 blocks


then I did the below steps.

[root at gateway etc]# cd /boot/

[root at gateway boot]# cp initrd-2.6.9-42.0.8.EL.img
initrd-2.6.9-42.0.8.EL.img.8feb2007

[root at gateway boot]# cd

[root at gateway ~]# cp initrd-2.6.9-42.0.8.EL.img /boot/
cp: overwrite `/boot/initrd-2.6.9-42.0.8.EL.img'? y

Now it has newly rebiult /boot/initrd-2.6.9-42.0.8.EL.img.

Now I only need to restart the Server. To do that, It takes some time as
users are getting emails .

After the reboot, I will let you know.

THNAK YOU VERY MUCH.


On 2/8/07, Feizhou <feizhou at graffiti.net> wrote:
>
> Indunil Jayasooriya wrote:
> > 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.
>
> No. You missed the '--' in with=ata_piix
>



-- 
Thank you
Indunil Jayasooriya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20070208/1222ef95/attachment-0005.html>