auto install of nvidia driver
Akemi Yagi
amyagi at gmail.com
Mon Jul 9 15:43:13 UTC 2007
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
More information about the fedora-list
mailing list