-
Senior Member
registered user
Oh, I just uncommentted (no # at the beginning of the line) the URL line thusly:
URL=http://download.nvidia.com/XFree86/Linux-x86
or
URL=http://download.nvidia.com/XFree86_40/
and you have to edit the VER line too, ie:
VER=1.0-4363
You just have to pick a driver from (maybe other than the 4363 series I used as an example):
ftp://download.nvidia.com/XFree86/Linux-x86
or
ftp://download.nvidia.com/XFree86_40/
Good Luck,
AJG
PS: see script install-nvidia-debian.sh from http://kano.mipooh.net[/b] below
#!/bin/sh
if test -z "`lspci|grep VGA|grep -i nvidia`"; then
echo Error: No nVidia VGA adapter found.
exit 3
fi
if test $(id -u) != 0; then
echo Error: You must be root to run this script!
exit 4
fi
if test -n "$DISPLAY"; then
echo Error: Can\`t be run within X! Use a text console \(ALT-CTRL-F1\)
exit 5
fi
VER=1.0-4363
#VER=1.0-4349
URL=http://download.nvidia.com/XFree86/Linux-x86/
#VER=1.0-4191
#URL=http://download.nvidia.com/XFree86_40/
cd /usr/src
wget -Nc $URL$VER/NVIDIA_kernel-$VER.tar.gz
wget -Nc $URL$VER/NVIDIA_GLX-$VER.tar.gz
rm -rf NVIDIA_kernel-$VER
tar zxf NVIDIA_kernel-$VER.tar.gz &>/dev/null || (
rm -f NVIDIA_kernel-$VER.tar.gz
echo NVIDIA_kernel-$VER.tar.gz could not be extracted
echo and has been deleted. Please restart this script.
exit 1
) || exit $?
rm -rf NVIDIA_GLX-$VER
tar zxf NVIDIA_GLX-$VER.tar.gz &>/dev/null || (
rm -f NVIDIA_GLX-$VER.tar.gz
echo NVIDIA_GLX-$VER.tar.gz could not be extracted
echo and has been deleted. Please restart this script.
exit 2
) || exit $?
if test "$(kernelversion)" == "2.6"; then
wget -Nc http://www.minion.de/files/NVIDIA_kernel-$VER-2.6.diff
fi
if test -f /etc/modutils/1alsa; then
mv /lib/modules/extra/alsa /lib/modules/`uname -r`/
rm -f /etc/modutils/1alsa
update-modules
fi
DM=`cat /etc/X11/default-display-manager 2>/dev/null`
DM=`basename $DM 2>/dev/null`
if test -z "$DM"; then
test -e /etc/init.d/kdm && /etc/init.d/kdm stop
else
test -e /etc/init.d/$DM && /etc/init.d/$DM stop
fi
rm -f /lib/modules/`uname -r`/kernel/drivers/video/nvidia.*o
cd NVIDIA_kernel-$VER
if test "$(kernelversion)" == "2.6"; then
patch -p1 <../NVIDIA_kernel-$VER-2.6.diff
ln -s Makefile.kbuild Makefile
fi
perl -pi -e 's/"?(\$\(kernel_cc\))"?/"\1"/;s/"?(\$\(module_cc\))"?/"\1"/' Makefile
CC=gcc-$(perl -pe '($_)=/gcc.[Vv]ersion\s(3\.\d|2\.\d+)/;' /proc/version)
if test -e /usr/bin/$CC; then
make install CC=/usr/bin/$CC IGNORE_CC_MISMATCH=1
else
make install IGNORE_CC_MISMATCH=1
fi
cd ..
rm -rf NVIDIA_kernel-$VER
rm -f /etc/modutils/nvidia
perl -pi -e 's|.*char-major-195.*[\n]?||' /etc/modutils/aliases
perl -pi -e 's|[\n]?$|\n|' /etc/modutils/aliases
echo alias char-major-195 nvidia >> /etc/modutils/aliases
update-modules
cd NVIDIA_GLX-$VER
make install
cd ..
rm -rf NVIDIA_GLX-$VER
if ! test -e /etc/X11/XF86Config-4.1st; then
cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.1st
fi
perl -p -e 's/^[\s]*Load\s*"GLcore"/#\tLoad "GLcore"/;
s/^[\s]*Load\s*"dri"/#\tLoad "dri"/;
s/^[\s]*#*[\s]*Load\s*"glx"/\tLoad "glx"/;
s/^[\s]*Driver\s*"nv"/\tDriver "nvidia"/g;
s/^[\s]*Driver\s*"fbdev"/\tDriver "nvidia"/g;
s/^[\s]*Driver\s*"vesa"/\tDriver "nvidia"/g;
s/DefaultColorDepth.*/DefaultColorDepth 24/;
s/^[\s]*Option\s*"sw_cursor"/\t#Option "sw_cursor"/' \
< /etc/X11/XF86Config-4.1st > /etc/X11/XF86Config-4
rm -rf /usr/lib/tls
ldconfig
sync
if test -z "$DM"; then
test -e /etc/init.d/kdm && /etc/init.d/kdm start
else
test -e /etc/init.d/$DM && /etc/init.d/$DM start
fi
Similar Threads
-
By Dioxin in forum Hardware & Booting
Replies: 2
Last Post: 05-26-2005, 03:29 PM
-
By colpitts in forum Hardware & Booting
Replies: 0
Last Post: 05-02-2005, 10:37 AM
-
By robelanator in forum Hdd Install / Debian / Apt
Replies: 49
Last Post: 10-06-2004, 10:10 PM
-
By MillTek in forum Hdd Install / Debian / Apt
Replies: 10
Last Post: 05-19-2004, 05:56 PM
-
By 3p0cHx in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 05-10-2004, 11:21 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray
$39.99

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A
$64.00

DELL 2TB Enterprise HDD (7200RPM, 3.5", SATA III, 128MB Cache) HUS722T2TALA600
$49.95

Seagate ST8000NM0075 Enterprise Capacity 3.5 HDD 8TB SAS Hard Drive 8TB EXOS
$184.99

Seagate ST4000NM0034 Enterprise 4TB 7200RPM SAS 12Gb/s HDD v4
$39.00

Seagate ST500DM009 BarraCuda 500 GB 3.5" SATA III Desktop Hard Drive
$14.99

HGST HUS726060ALE610 0F23001 6TB HDD 3.5" SATA 6Gb/s 7.2K Hard Drive (V6315)
$69.95

Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE
$68.99

Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive
$318.99

(ST8000NM0045) SEAGATE ENTERPRISE 8TB 7200RPM 4Kn SATA 6Gb/s 3.5" HARD DRIVE
$199.99