LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-26-2004, 08:36 PM   #1
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Rep: Reputation: 30
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
 
Old 01-26-2004, 08:38 PM   #2
Smartcat99S
Member
 
Registered: Jan 2004
Location: NE
Distribution: Arch Linux, SUSE, Gentoo
Posts: 56

Rep: Reputation: 15
you need the full kernel source as for the others I don't know.
 
Old 01-26-2004, 08:50 PM   #3
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
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
 
Old 01-27-2004, 04:44 AM   #4
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Original Poster
Rep: Reputation: 30
Thanks that was very helpful
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling kernel = kernel panic Tons of Fun Debian 5 07-02-2005 02:59 PM
Compiling kernel module for linux kernel 2.4 in 2.6 guam Linux - Software 0 01-13-2005 03:02 AM
Where Is Kernel Directory In Rh9(kernel 2.4.20-8), For Compiling HSP56 MR(pctel) Mode rudy3107 Linux - Software 1 07-25-2004 05:17 AM
Compiling new kernel joseph Linux - Software 2 10-14-2003 08:26 AM
Kernel compiling and module compiling tarballed Linux - General 1 12-22-2002 06:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration