Re: kernel 2.6.9-42.0.8.EL error while booting - CentOS 4.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Thanks. I did it.

[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

this  time it worked.

now it shows new modules.  pls see below.

[root@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@gateway etc]# cd /boot/

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

[root@gateway boot]# cd

[root@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@xxxxxxxxxxxx> wrote:
Indunil Jayasooriya wrote:
> i removed .ko from all and then gave the below error.
>
> [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.

No. You missed the '--' in with=ata_piix



--
Thank you
Indunil Jayasooriya
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux