[Fedora-livecd-list] mkinitrd failing

Darko Ilic darko.ilic at gmail.com
Wed Dec 28 02:43:11 UTC 2005


On Monday 26 December 2005 14:20, tony wrote:
> My kernel rpm is called 2.6.14EPIAIX-1, when it installs it
> makes /lib/modules/2.6.14EPIAIX
>
> /home/tony/tmp/livecd-build_no14/system/lib/modules/2.6.14EPIAIX-1 is
> not a directory.

Hi there,

I think you have made a mistake while you were building rpm for your custom 
kernel.

Modules should be placed in /lib/modules/{kernel_version}-{kernel_release} 
(for example /lib/modules/2.6.14-1.1635_FC5) and not 
in /lib/modules/{kernel_version} like in your case. 

Kadischi resolves kernel version (2.6.14EPIAIX) and release number (1) out of 
the rpm database. It expects to find your modules 
in /lib/modules/2.6.14EPIAIX-1 and they are not there.

The best thing to do would be rebuilding kernel rpm with these problems fixed, 
but if you want a fast&dirty way out, you can try to hardcode kernel version 
variable in livecd-mkinitrd.sh (line 105: kernel="2.6.14EPIAIX").

Good luck :)

-- 
Darko Ilic




More information about the livecd mailing list