The command we use is the following, if you're remaking your current system:
mkinitrd -v -f initrd-$(uname -r).img $(uname -r) Don't know if this will help.... -- Robert P. Nix Mayo Foundation .~. RO-OE-5-55 200 First Street SW /V\ 507-284-0844 Rochester, MN 55905 /( )\ ----- ^^-^^ "In theory, theory and practice are the same, but in practice, theory and practice are different." On 9/9/09 2:29 PM, "Sue Sivets" <[email protected]> wrote: > I'm trying to add 2 new mini disks to Redhat 5.3, and I've now reached > the point where I'm going nowhere fast. The dasd are online, and > mounted, I've updated both fstab and modprobe.conf, and I've renamed the > initrd img file according to the RedHat Installation Guide. When I try > to run mkinitrd, I get an error message, and so far, I haven't been able > to figure why it's complaining.The mkinitrd command I entered is: > > mkinitrd -v /boot/initrd-2.6.18-128.el5.img 2.6.18-128.e15 > > The message I get back is: No modules available for kernel > "2.6.18-128.e15". I have no idea what modules it's looking for, or why > it can't find them. This is a brand new install, and I'm pretty sure no > one has logged on or tried to do anything yet. > > When I issue uname -a to find out the kernel version, I get: Linux > Red53.idp.com 2.6.18-128.el5 #1 SMP Wed Dec 17 11:45:02 EST 2008 s390x s3x > > Can anyone tell me what I'm missing, or not doing correctly? > Are there other commands to find out what version the kernel is? > If I just issue mkinitrd, like I do on Suse, I get the following: > usage: mkinitrd [--version] [--help] [-v] [-f] [--preload <module>] > [--force-ide-probe] [--force-scsi-probe | --omit-scsi-modules] > [--image-version] [--force-raid-probe | --omit-raid-modules] > [--with=<module>] [--force-lvm-probe | --omit-lvm-modules] > [--builtin=<module>] [--net-dev=<interface>] > [--without-usb] [--without-multipath] [--without-dmraid] > [--fstab=<fstab>] [--nocompress] <initrd-image> <kernel-version> > > (ex: mkinitrd /boot/initrd-2.2.5-15.img 2.2.5-15) > > How do I get the new dasd added to this RedHat system? > > Thanks to anyone who can help. > > Sue Sivets > > -- > Suzanne Sivets > Systems Programmer > Innovation Data Processing > 275 Paterson Ave > Little Falls, NJ 07424-1658 > 973-890-7300 > Fax 973-890-7147 > [email protected] > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
