View Single Post
Old 08-24-11, 09:14 AM   #21
Stendall
Registered User
 
Join Date: Oct 2004
Posts: 25
Default Re: 285.03 (beta) released!?

Quote:
Originally Posted by gonzo_s View Post
Please could you post the exact command ? Thank you.

P.S: Sorry, didn't get the idea at first.
After compiling any kernel by hand in Debian I have only /~build directory in /lib/modules and no /~source dir... Do I have to create this link also?
I'm a little bit lazy and use one script I have in /usr/local/sbin in order to compile vanilla kernels:

#!/bin/bash
make && make install && make modules_install && depmod -aq && update-initramfs -k `uname -r` -d && update-initramfs -k `uname -r` -c && update-grub

You can add: make firmware && make firmware_install if you want.

I just have a symbolic link in /usr/src/linux pointing towards the kernel real location.

Edit.
OOps the update-initramfs -k `uname -r` -d && update-initramfs -k `uname -r` -c will only work y f you are recompiling the kernel already running.
Substitute `uname -r` with your kernel version.
Stendall is offline   Reply With Quote