[lug] where to find initrd files for specific RH kernel?
hugh at math.byu.edu
Mon Aug 21 00:24:13 MDT 2006
It is generated via a postinstall scriptlet within the rpm package. I
believe the initrd in redhat contains the drivers for ext3 and the
underlying disk device (i.e. don't reboot unless you still have access
to the old kernel).
You can generate one using the mkinitrd command. On a RH3 AS box (don't
have any WS around), the scriptlet is:
#postinstall scriptlet (using /bin/sh):
[ -x /usr/sbin/module_upgrade ] && /usr/sbin/module_upgrade
[ -x /sbin/mkkerneldoth ] && /sbin/mkkerneldoth
[ -x /sbin/new-kernel-pkg ] && /sbin/new-kernel-pkg --mkinitrd --depmod
On Sun, 2006-08-20 at 21:29 -0700, Dan Julio wrote:
> Hey all,
> I have a Redhat WS 3.0 machine that I finally got
> around to updating kernels on today. Their up2date
> program downloaded the kernel 2.4.21-47 and a ton of
> other system files to bring the machine up-to-date.
> But it didn't seem to put a initrd-2.4.21-47.ELsmp.img
> file in /boot. There is one associated with the
> original 2.4.21-15 kernel. Can any Redhat gurus tell
> me how this initrd file is usually obtained?
> Thanks, Dan
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
More information about the LUG