Re: auto install of nvidia driver

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

 



On Monday 09 July 2007, Akemi Yagi wrote:
>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
==============================

And this removes the requirement for all the keyboard input?  Neat.  Otherwise 
my next question was going to be "Whats a good keylogger for linux so I could 
record all those keystrokes and play them back".  istanbul came to mind, but 
on reading its description in the smart gui, that didn't sound like what I 
wanted to do.

And its done since I'll probably reboot to Con K's latest scheduler ck patch 
in the morning, which will test this if not before for a few hours.  He just 
released another for 2.6.22 a few hours ago.

>(this hint found on a CentOS mailing list)
>
>Akemi



-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Success is in the minds of Fools.
		-- William Wrenshaw, 1578


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

  Powered by Linux