[SOLVED] how to build initrd in cauldron?

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] how to build initrd in cauldron?

Postby mmix » Aug 4th, '12, 04:24

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.
Last edited by mmix on Aug 5th, '12, 01:05, edited 1 time in total.
mmix
 
Posts: 110
Joined: Jun 24th, '12, 05:35

Re: how to build initrd in cauldron?

Postby doktor5000 » Aug 4th, '12, 10:44

Did you try a make install && make modules_install?
Apart from that, booting without initrd is not really supported.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18057
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: how to build initrd in cauldron?

Postby mmix » Aug 4th, '12, 11:12

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!
mmix
 
Posts: 110
Joined: Jun 24th, '12, 05:35

Re: how to build initrd in cauldron?

Postby doktor5000 » Aug 4th, '12, 13:29

Then please mark the thread as [SOLVED], thanks.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18057
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

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

Postby mmix » Aug 5th, '12, 01:38

BTW, for the record,

Nvidia 304.30/22 doesn´t compiled for kernel 3.6.0-rc1.
Last edited by mmix on Aug 27th, '12, 12:14, edited 1 time in total.
mmix
 
Posts: 110
Joined: Jun 24th, '12, 05:35

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

Postby doktor5000 » Aug 5th, '12, 10:40

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?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18057
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany



Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest