LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-28-2004, 02:52 AM   #1
TheRiddler
LQ Newbie
 
Registered: Jun 2003
Posts: 9

Rep: Reputation: 0
Installing new Kernal


Hi there, im planning on installing Debian this weekend on my home machine, and i was just wondering how easy it is to install a new kernal on Debian? By the looks of it all i need to do is "apt-get install kernal-source-xxxx" then edit my lilo.conf and then run lilo -v, it cant be that easy surely? Altho if it is then less work for me Cheers for any help guys,

TheRiddler
 
Old 01-28-2004, 04:11 AM   #2
spuzzzzzzz
Member
 
Registered: Sep 2003
Location: Australia
Distribution: Gentoo
Posts: 465

Rep: Reputation: 30
I'm afraid it isn't that easy . Installing the kernel sources will do just that - install the source code for the kernel (probably in /usr/src/linux) Then you need to compile the source code. There is an excellent kernel compiling how-to in the slackware forum.
 
Old 01-28-2004, 04:28 AM   #3
yowi
Member
 
Registered: Dec 2002
Location: Au
Distribution: Debian
Posts: 209

Rep: Reputation: 54
apt-get install kernel-image-<blah> will have a new image installed. It even runs lilo for you.
If you want to compile/install your own kernel then install "kernel-package" and "kernel-source-<blah>" and use the make-kpkg command. Check the relevant documentation for the details. This creates your own custom kernel-image.deb package that you can install with dpkg.
 
Old 01-28-2004, 04:36 AM   #4
TheRiddler
LQ Newbie
 
Registered: Jun 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Is using apt-get install kernal-image-xxx ok for installing a new kernal? ie; will it work?
 
Old 01-28-2004, 05:18 AM   #5
spuzzzzzzz
Member
 
Registered: Sep 2003
Location: Australia
Distribution: Gentoo
Posts: 465

Rep: Reputation: 30
Personally, i think you should compile your own. Its really not that hard and you learn a lot.
 
Old 01-28-2004, 06:36 AM   #6
yowi
Member
 
Registered: Dec 2002
Location: Au
Distribution: Debian
Posts: 209

Rep: Reputation: 54
Works fine for me.
As spuzzzzzzzzz says compiling is good value and an interesting insight into just exactly what the linux kernel is capable of but I'm lazy and stock kernels work.
 
  


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
after installing kernal 2.6.10 bruse Mandriva 4 03-13-2005 11:06 PM
installing kernal source... pharmd Linux - Newbie 2 02-26-2005 11:23 AM
Trouble Installing+Configuring Kernal minm Linux - Software 4 07-26-2004 12:59 PM
Kernal error while installing ALSA theteenager Linux - Hardware 3 07-03-2003 06:29 PM
need help with installing new kernal quadboot_SMP Linux - Newbie 2 07-20-2001 05:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:31 AM.

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