Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Kernel compile and install for newbies

Share your HowTo, Documentation, Tips and Tricks. Not for support questions!.
Message
Author
User avatar
Soapm
Posts: 603
Joined: 2012-05-22 04:23
Has thanked: 1 time

Re: Kernel compile and install for newbies

#101 Post by Soapm »

Why so may different ways to compile a kernel? And how do you know which method is best for what you're trying to acheive?

http://kernelnewbies.org/FAQ/KernelCompilation

make
make modules_install
make install

http://wiki.debian.org/HowToRebuildAnOf ... nelPackage

fakeroot make -f debian/rules.gen setup_i386_none_686
fakeroot make -f debian/rules.gen binary-arch_i386_none_686 binary-indep \
DEBIAN_KERNEL_JOBS=${NR_CPUS}
"I have no idea which of the many packages this creates to install"

Then this thread has

make-kpkg clean
make-kpkg --rootcmd fakeroot --initrd --revision=custom.001 kernel_image kernel_headers
dpkg -i *.deb

User avatar
Soapm
Posts: 603
Joined: 2012-05-22 04:23
Has thanked: 1 time

Re: Kernel compile and install for newbies

#102 Post by Soapm »

Ibidem wrote:Since it only disables modules, you can reconfigure the sources later to re-enable a driver, make modules, and install the modules (I've done this at least a couple times, it's not just speculation)..
Or you can use module assitant if all you want to do is add a module

http://wiki.debian.org/ModuleAssistant

User avatar
manishthatte
Posts: 15
Joined: 2014-05-12 02:46

Re: Kernel compile and install for newbies

#103 Post by manishthatte »

I have just begun compiling my own kernel...version 3.15-rc7 for debian wheezy7.5
with local param settings.
This forum has been a tremendous help.

Hope this goes well.

Cheers !!!
Taking baby steps in Debian

User avatar
manishthatte
Posts: 15
Joined: 2014-05-12 02:46

Re: Kernel compile and install for newbies

#104 Post by manishthatte »

Finished. All went well till now. :)

Further steps after compiling:

1) sudo make modules_install
2) sudo make install
3) sudo depmod
4) sudo update-initramfs -c -k'(version number)'
5) Reboot
Taking baby steps in Debian

User avatar
manishthatte
Posts: 15
Joined: 2014-05-12 02:46

Re: Kernel compile and install for newbies

#105 Post by manishthatte »

And lastly, dont forget to update-grub ;)
Taking baby steps in Debian

acimmarusti
Posts: 397
Joined: 2009-02-27 04:59
Location: Portland, OR USA

Re: Kernel compile and install for newbies

#106 Post by acimmarusti »

Have you guys been able to compile kernels since 3.14 ?

From vanilla sources, I keep getting this annoying error about a "recipe" for a driver failing, for more details see this:

http://forums.debian.net/viewtopic.php?f=5&t=117033

Post Reply