Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.