LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help with compiling of kernel (https://www.linuxquestions.org/questions/linux-newbie-8/help-with-compiling-of-kernel-139015/)

beejayzed 01-26-2004 07:36 PM

Help with compiling of kernel
 
I have decided to download and compile a new kernel. I have found a guide on how to do it somewhere on this site. What I would like to know is should I download the patch or the full thing. Also how would I dual boot between two different kernels. I don't want to replace the kernel that is there until I know that the new one works.
Also if I use a new kernel will I need to reinstall the drivers.
Help would be mush appreciated

Smartcat99S 01-26-2004 07:38 PM

you need the full kernel source as for the others I don't know.

TheOneAndOnlySM 01-26-2004 07:50 PM

if you want to keep your old kernel and your new kernel is a newer version, then download the full thing from www.kernel.org and untar it into your /usr/src directory

from there just follow the kernel compile guides on this site

as for dual-booting kernels, you should rename your current kernel in /boot to something like vmlinuz.old and change the entry in grub.conf or lilo.conf to boot vmlinuz.old when linux.old is selected; then when you copy your new kernel image to /boot, just make a new entry to boot that image

or you could just use the slackware kernel compile guide and use make install which will take care of backups automatically

beejayzed 01-27-2004 03:44 AM

Thanks that was very helpful


All times are GMT -5. The time now is 11:50 AM.