- Reboot into Recovery Mode or switch down to run level3 or the equivalent
- Ctrl + Alt + F1
# apt-get update
# apt-get install binutils build-essential
2. Install Kernel Sources
# apt-get install linux-source-2.6.12 or
# apt-get install linux-source-'uname -r' ( -r or -a ) or
# apt-get install linux-source-$(uname -a)
# cd /usr/src
# tar -jxvf linux-source-2.6.12
# ln -s linux-source-2.6.12 linux
ถ้าติดตั้ง linux-source ไม่ได้ในขั้นตอนนี้อาจจะข้ามไปในขั้นตอนต่อไปได้เลย
3. Install Kernel Headers
# apt-get install linux-headers-$(uname -r)
4. Install Nvidia Driver
# wget http://us.download.nvidia.com/XFree86/Linux-x86/100.14.23/ NVIDIA-Linux-X86-100.14.23.pkg1.run
( or download from http://www.nvidia.com )
# cd /usr/src && sh NVIDIA-Linux-x86-100.14.23-pkg1-run
( to launch the Nvidia install script )
- Accept the license agreement to continue
- Select No on the first question prompting to download kernel from nVidia
- Click Ok to compile a new kernel
- Select No at the prompt to abort now
- Let the installer finish the build
- Select Yes to let nVidia-xconfig automatically update your xorg.conf file
- Click Ok
- Once the installer has completed, type startx and enjoy you new video hardware enabled Lenny with nVidia driver or
You can change your resolution and other advanced video card setting via the nice NVIDIA X Server Settings control applet.
Simply navigate to Application -> System Tools -> NVIDIA X Server Settings
If you haven't, then you simply have to make a few changes to your /etc/X11/xorg.conf file. Here they are. Debian sarge users have to modify /etc/X11/XF86Config-4 instead.
In Section "Modules" comment the dri and GLcore modules:
#Load "dri" #Load "GLcore"
In Section "Device" make sure you use the NVIDIA driver :
Driver "nvidia"
And finally comment the whole Section "DRI"
#Section "DRI"
# Mode 0660
#EndSection
เสร็จแล้วครับ ต้องเอามาเรียบเรียงและรวม ๆ มาเพราะว่า บางที่ก็ใช้ได้ครึ่ง ไม่ได้ครึ่ง ก็เลยต้องเอามาเรียบเรียงในส่วนที่เราทำแล้วใช้งานได้
ต้นฉบับจาก
http://technowizah.com/2006/11/debian-how-to-nvidia-drivers.html
http://www.linuxquestions.org/linux/answers/Applications_GUI_
Multimedia/HOWTO_Installing_nVidia_Grapics_Drivers_on_Debian_Etch