Page 1 of 1

[SOLVED] how to build initrd in cauldron?

PostPosted: Aug 4th, '12, 04:24
by mmix
Hi, i am trying to install new linux kernel (3.6.0 rc1).

configuration & build kernel image & modules was fine,
but dunno how to build initrd..

this link doesnt help me much..
https://wiki.mageia.org/en/How_to_compi ... tom_kernel

in lfs(linux from scratch)/clfs, i use noinitrd, so i dont have to build initrd.

Re: how to build initrd in cauldron?

PostPosted: Aug 4th, '12, 10:44
by doktor5000
Did you try a make install && make modules_install?
Apart from that, booting without initrd is not really supported.

Re: how to build initrd in cauldron?

PostPosted: Aug 4th, '12, 11:12
by mmix
Code: Select all
make install


i didn´t that command, maybe i am old-style.
always do cp bzImage,system.map, config files manually, except that make modules_install.

it works fine, thanks!

Re: how to build initrd in cauldron?

PostPosted: Aug 4th, '12, 13:29
by doktor5000
Then please mark the thread as [SOLVED], thanks.

Re: [SOLVED] how to build initrd in cauldron?

PostPosted: Aug 5th, '12, 01:38
by mmix
BTW, for the record,

Nvidia 304.30/22 doesn´t compiled for kernel 3.6.0-rc1.

Re: [SOLVED] how to build initrd in cauldron?

PostPosted: Aug 5th, '12, 10:40
by doktor5000
mmix wrote:BTW, for the record,

Nvidia 304.30/22 doesn´t compiled for kernel 3.6.0-rc1.

Code: Select all
make KERNELRELEASE=3.6.0-rc1 module SYSSRC=/lib/modules/3.6.0-rc1/build.........(bad exit status: 2)

Error! Bad return status for module build on kernel: 3.6.0-rc1 (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/nvidia/304.30/build/ for more information.
-> error.
ERROR: Failed to install the kernel module through DKMS. No kernel module was installed; please try installing again without DKMS, or check the DKMS logs for more information.
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at http://www.nvidia.com.



Yes, as the mageia nvidia package has some patches, and some could also be needed for newer kernels.
Did you consult above mentioned log files for the real error?

Re: [SOLVED] how to build initrd in cauldron?

PostPosted: Aug 5th, '12, 15:04
by mmix
no, i didn´t.