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

Re: kernel rebuild and grub.conf



On Mon, 2003-06-30 at 12:38, shane c branch wrote:

> 
> hmmm. Okay, I tried the command, and got the following error:
> 
> # mkinitrd /boot/initrd-2.4.21.img 2.4.21
> no module ips found for kernel 2.4.21
> 
> although I did use the modules_install line when i did the build:
>  # make dep clean; make bzImage modules modules_install
> 

That most likely means that something in /etc/modules.conf is calling
for the 'ips' module (I can't recall what that's for).  Perhaps you
forgot to build that module when you configured your 2.4.21 kernel?
The mkinitrd script looks at several places like fstab and modules.conf
to try and figure out what modules you need.

Also note that there is a nice script called /sbin/new-kernel-pkg that
will automatically make the initrd and create GRUB or LILO entries for
you.  I haven't tried this with vanilla kernels, but I think it should
work.  This script is called as part of the 'make install' process if
you use a Red Hat patched kernel-source package.

--Jeremy

-- 
/=====================================================================\
| Jeremy Portzer       jeremyp pobox com       trilug.org/~jeremy     |
| GPG Fingerprint: 712D 77C7 AB2D 2130 989F  E135 6F9F F7BC CC1A 7B92 |
\=====================================================================/

Attachment: signature.asc
Description: This is a digitally signed message part


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