hey adding to what is written ..... after you make the new initrd file change your this
kernel /vmlinuz-version ro root=/dev/hda7
line to
kernel /vmlinuz-version ro root=LABEL=/
this will definitly work
On Thu, 11 Aug 2005 Tetsuo Handa wrote :
>Hello,
>
> > i have two versions of kernel one is compiled and the
> > other is not.also i have initrd for the uncompiled
> > version of the kernel.now how do i make an initrd for
> > the compiled version? i don't want to overwrite the
> > existing initrd(uncompiled version).
>You needn't to worry overwriting existing initrd,
>for two versions of kernels MUST use different version names.
>
>The linux2.4.21-4.EL ( which you got from RPM )
>uses /boot/vmlinuz-2.4.21-4.EL and /boot/initrd-2.4.21-4.EL and
>/lib/modules/2.4.21-4.EL/ directory for kernel modules.
>The linux2.4.21-4.ELcustom ( which you will get by compilation )
>uses /boot/vmlinuz-2.4.21-4.ELcustom and /boot/initrd-2.4.21-4.ELcustom and
>/lib/modules/2.4.21-4.ELcustom/ directory for kernel modules.
>
>If you ignore this rule, you will get error messages like
> > depmod:unresolved symbols.....
> > insmod failed
> > modprobe failed
>
>--
>Kernelnewbies: Help each other learn about the Linux kernel.
>Archive: http://mail.nl.linux.org/kernelnewbies/
>FAQ: http://kernelnewbies.org/faq/
>