How to properly compile custom kernel ?

General support questions
Post Reply
bryn1u
Posts: 40
Joined: 2010/04/09 15:38:07
Contact:

How to properly compile custom kernel ?

Post by bryn1u » 2018/12/06 22:43:11

Hey,

I have been trying compile Centos and Fedora kernel for few days. My compile always finish with dracut screen instead login screen. No matter how i compile kernel, results are the same.
I was trying using: make -j8 rpm-pkg, kernel was built successfully but after install and reboot dracut welcome.The second way was install using:
make -j8 bzImage, make -j8 modules, make modules_install, make install ...

None of these methods work.
I tried on Debian and Ubuntu for example : "make -j8 deb-pkg". The same kernel, the same config work like a charm .That's all.
Im trying to understand, what is going on with centos or fedora kernel they seem so harder to compile. Someone can explain to me, how to build kernel from sources which work ?

Thanks.

Post Reply