Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 02-08-07, 12:20 PM   #1
avoncampe
Registered User
 
Join Date: Dec 2006
Posts: 12
Default Installing NVIDIA driver on newly installed (but not yet running) kernel

Here is the process I currently follow to install the NVIDIA driver on all the Linux systems I support (18 at last count) when a new kernel is released:

0. Install new kernel on all systems with yum

1. On a test system that is running the new kernel at run level 3, I run the NVIDIA installer script with the --add-this kernel option to create a custom script

2. I then install the driver on the test system using the modified script with the -s (silent) option

3. Next I switch to run level 5, and if everything appears to be working correctly, I am ready to upgrade all remaining systems

4. I then schedule a reboot with each user to boot the new kernel, and temporarily modify the kernel command line to only go to run level 3

5. I log in to the system as root, run the custom script with the -s option, and switch to run level 5

What I would like to do is to install the NVIDIA driver into the newly installed but not yet running kernel, to avoid having to schedule a time to reboot each user's machine and install the driver manually. This way they can reboot at their convenience to get the new kernel. Is this possible?

Thanks,
Alfred
avoncampe is offline   Reply With Quote
Old 02-08-07, 12:25 PM   #2
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Installing NVIDIA driver on newly installed (but not yet running) kernel

The --kernel-module-only command line option should do this.
zander is offline   Reply With Quote
Old 02-08-07, 12:58 PM   #3
avoncampe
Registered User
 
Join Date: Dec 2006
Posts: 12
Default Re: Installing NVIDIA driver on newly installed (but not yet running) kernel

Quote:
Originally Posted by zander
The --kernel-module-only command line option should do this.
Thanks for the quick response. I wonder how I've missed this option before. After creating a custom script for the new kernel, I just tried this option on another test system as follows:

./NVIDIA-Linux-x86-1.0-9746-pkg1-2.6.9-42.0.8.EL.run -s -K -k 2.6.9-42.0.8.EL

But I get the following error:

ERROR: The '--kernel-module-only' option can only be used to install a kernel module on top of an existing driver
installation of the same driver version. The existing driver installation is 1.0-9631, but the kernel
module is 1.0-9746

In this case, I have both a new kernel and a new version of the NVIDIA driver, so this doesn't work. If I use the -9631 custom package to install the kernel module only with the above options, it works just fine (thanks!). I guess my follow up question is:

Can you install a new NVIDIA driver on a non-running kernel?

I expect the answer to be NO, but I'm hoping that there is a way. It would make upgrades a lot easier.

Thanks,
Alfred
avoncampe is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 04:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 08:49 AM
NVIDIA kernel not loading on boot-up, but insmod loads it Kyle NVIDIA Linux 3 09-10-02 12:01 AM

All times are GMT -5. The time now is 02:14 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.