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

Notices


Reply
  Search this Thread
Old 03-06-2007, 10:46 AM   #1
ouellettesr
LQ Newbie
 
Registered: Feb 2007
Posts: 14

Rep: Reputation: 0
Safe to upgrade to current kernel?


Hello I have just installed Ubuntu a few days ago, runs nice, I love it. I am somewhat familiar with compiling kernels from my experiences with slackware.

I have got most of my peripherals to work except for my Wacom UD-1218. When i did make for the driver it said:

Code:
Drivers not enabled as modules in your kernel config but requested through configure are NOT built
So I am assuming that I need to compile a new kernel.

Now my question is this:

What is the process for compiling a kernel in Ubuntu, is it?:

Code:
make menuconfig
make
make modules_install

Now normally I use lilo, but since Ubuntu comes with grub thats what I am using, what are the commands for grub to add the new bzImage?

One more question, Is is possible to use the config im using now for the newest kernel?

example, use .config from Ubuntus 2.6.17-11 kernel source and apply that to the newest kernel I will be downloading (2.6.20).

Thanks
 
Old 03-06-2007, 10:57 AM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
It should be like on debian, so have a look here:
https://www.linuxquestions.org/quest...d.php?t=534863
grub will be updated by /usr/sbin/update-grub automagically if you have postinst_hook set to /usr/sbin/upgrade-grub in /etc/kernel-img.conf

Quote:
One more question, Is is possible to use the config im using now for the newest kernel?
Yes.
When you unpack your kernel, before doing make, do
make oldconfig, it will prompt you for the new options, the already configured one will be taken from your running kernel.
If you directly type make (or make-kpkg) in a new kernel tree, it sets the new options to their default values.

Last edited by nx5000; 03-06-2007 at 11:00 AM.
 
Old 03-06-2007, 11:31 AM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Kernel compilation depends on the kernel version, not much on the distribution used (unless you install using binary tools, but that's not compilation then). All needed instructions are found in the documentation (README and INSTALL files) that is distributed with the kernel source code.
 
Old 03-06-2007, 11:42 AM   #4
ouellettesr
LQ Newbie
 
Registered: Feb 2007
Posts: 14

Original Poster
Rep: Reputation: 0
ok, sounds good, one more question before I proceed.

When I used slackware I was using the latest NVIDIA driver from their website, i have GeForce fx5500 video card, I haven't been able to successfully install that one (Ubuntu), so I have been using the nvidia driver that shows up in synaptic.

I remember every time I recompiled the kernel I would have to reinstall that NVIDIA video driver, so, Should I un-install my current NVIDIA driver I used with the download manager?

Also, is there any difference in the NVIDIA driver from Synaptic and the one provided on the NVIDIA website? I would rather use the one on their website but I am scared that I will ruin X again like I did the first time I tried to install it on Ubuntu. The nvidia driver provided on their website will not install while X is running, and the only way I know of getting to a prompt in Ubuntu is to start in recovery mode. The last time I did that I ended up reinstalling Ubuntu.

Any info is appreciated. Thanks
 
Old 03-06-2007, 02:02 PM   #5
raffytaffy
Member
 
Registered: Mar 2006
Distribution: Gentoo2006.1 , Ubuntu 6.10
Posts: 94

Rep: Reputation: 15
i wrote a howto for ubuntu kernel. hope it helps some :P

http://linuxnoobies.19.forumer.com/viewtopic.php?t=66
 
  


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
How to upgrade to -current ? New udev for new kernel !? introuble Slackware 8 04-21-2006 02:47 PM
What first upgrade kernel or upgrade slack 10.0 to current Kelean Slackware 7 01-16-2005 06:54 PM
I need to upgrade my current Kernel xmdms Linux - Software 2 05-06-2004 04:58 PM
Is it safe to upgrade everything to Slackware Current? moger Slackware 17 01-18-2004 10:32 AM
safe to run 'make bzlilo' for kernel upgrade? mikeylikesit! Linux - Software 9 10-13-2002 02:15 PM

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

All times are GMT -5. The time now is 05:24 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
Open Source Consulting | Domain Registration