LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-12-2007, 01:52 PM   #1
rtreinen
LQ Newbie
 
Registered: Mar 2007
Location: ca
Distribution: Ubuntustudio 7.04
Posts: 16

Rep: Reputation: 0
nvidia w/alternate kernels...can it be done?


I have UbuntuStudio on my desktop and I was wondering if there was a way to set it up where I could boot into the generic kernel when I wish and switch back without having to reinstall nvidia-glx-new and all that. As of yet, each time I upgrade the kernel, it renders the older kernels useless due to the nvidia drivers getting tweaked.

Just wondering because I have that capability on my laptop, but of course it doesn't have the nvidia card.

Thanks.
 
Old 06-13-2007, 07:21 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Yes, you will want to use the -K option of the Nvidia installer.

From the help output of the installer:

Quote:
-K, --kernel-module-only
Install a kernel module only, and do not uninstall the
existing driver. This is intended to be used to install
kernel modules for additional kernels (in cases where you
might boot between several different kernels). To use this
option, you must already have a driver installed, and the
version of the installed driver must match the version of
this kernel module.
 
Old 06-14-2007, 02:08 AM   #3
rtreinen
LQ Newbie
 
Registered: Mar 2007
Location: ca
Distribution: Ubuntustudio 7.04
Posts: 16

Original Poster
Rep: Reputation: 0
Okay, I see what you're saying, but I'm not sure where to apply it. Currently, I have the 2.6.20-16-lowlatency running with the nvidia-glx-new installed. I had 2.6..20-16-generic before that, and it's still there, but I can't use it unless I go in recovery mode, then dpkg-reconfigure xserver-xorg and set it to vesa, I guess, because that's what I had to do to get into the lowlatency before I reinstalled the nvidia drivers. So, in what order would I do all this if I wanted to make the generic kernel and xserver run normally again with nvidia drivers of its own?
Thanks.
 
Old 06-14-2007, 06:57 AM   #4
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
First you would want to remove the Ubuntu package for the Nvidia driver. You want to be using the official installer from here.

Then you would install it while running your primary kernel, reboot and select your other kernel(s), and reinstall it while running that kernel with the -K switch. The idea is that you only install the kernel module when using the -K switch, rather than it reinstalling everything. You do need to be running that particular kernel to build the correct module for it, so there will be a fair bit of rebooting involved if you have a number of kernels.
 
  


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
nvidia trouble with multiple kernels slackware 10.1 salviadud Slackware 8 07-20-2005 07:48 PM
nvidia driver for multiple kernels Cornholio Linux - Hardware 4 04-02-2005 01:35 AM
NVidia driver with different kernels theonebeyond Linux - General 2 11-22-2004 11:13 AM
Nvidia drivers with multiple kernels linuxhaxz Slackware 9 05-24-2004 02:36 PM
Two different kernels working with nvidia drivres urka58 Slackware 3 04-25-2004 11:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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