Re: auto install of nvidia driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 09 Jul 2007 09:34:25 -0400, Gene Heskett wrote:

> On Monday 09 July 2007, Brian Millett wrote:
>>Gene Heskett escribío:
>>> Greetings;
>>>
>>> Attached is a script I've been running for about a month, and which
>>> autoinstalls the nvidia driver when booting to a new kernel, something
>>> I do fairly frequently such as to the 2.6.22 I just built.  This
>>> assumes the latest NVIDIA-*.run file is resident in your root directory
>>> but it could live anywhere by editing the script.  You'll also need to
>>> edit it when you have downloaded an even newer version.
>>>
>>> This to me was easier than trying to figure out the documentless dkms
>>> installer.
>>>
>>> I run it from rc.local with this line: /root/bin/install-nvidia
>>>
>>> Now. if I had a clue, which I don't, I'd redirect another file to this
>>> such that all the keyboard responses it needs are also automated.

Provided that the package you downloaded from the NVIDIA site
is made executable, and sym-linked or copied to /root/NVIDIA.run,
you can place these lines in /etc/rc.local .

==============================
if [ ! -e /lib/modules/`uname -r`/kernel/drivers/video/nvidia.ko ]; then
    echo "installing NVIDIA kernel module. This takes some time."
    /root/NVIDIA.run --no-network -s -K -n
fi
==============================

(this hint found on a CentOS mailing list)

Akemi


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux