Gozar
06-04-2004, 02:26 PM
All this is done as root!
All this is done in a console (Not in a xterm. Press CTRL+ALT+F2 to get to a console login)
Get kernel source:
wget http://developer.linuxtag.net/knoppix/i386/kernel-image-2.6.5_10.00.Custom_i386.deb
install kernel source with:
dpkg -i kernel-image-2.6.5_10.00.Custom_i386.deb
cd to /usr/src:
cd /usr/src
Unpack source:
tar xjvf kernel kernel-source-2.6.5.tar.bz2
install kernel headers:
apt-get install kernel-headers-2.6.5-1
Remove symlink:
rm linux
Make symlink to the new kernel:
ln -s kernel-source-2.6.5 linux
cd to linux:
cd linux
Make kernel tree cleen:
make mrproper
Copy knoppix kernel config:
cp /boot/config-2.6.5 ./.config
knoppix was compiled wit gcc-2.95 so w'll use that to compile the kernel:
export CC=gcc-2.95
Compile the kernel:
make
(Wait a long time)
Download Nvidia driver:
wget http://download.nvidia.com/XFree86/Linux-x86/1.0-5336/NVIDIA-Linux-x86-1.0-5336-pkg1.run
Stop Xwindows system:
/etc/init.d/kdm stop
Nvidia drivere can't find the kernel source on my system so type this:
export SYSSRC=/usr/src/linux
Start the nvidia installation:
sh NVIDIA-Linux-x86-1.0-5336-pkg1.run
Accept the licence.
Chooce no to download precompiled modules, cause there are no precompiled modules for knoppix kernel at this time
Select yes to try to compile the nvidia module.
Now you should have compiled the nvidia module.
You have to edit the file /etc/X11/XF86Config-4 file with an editor
Find the line: Secton "Modules"
Comment out
Load "GLcore"
Load "dri"
So it looks like this:
# Load "GLcore"
# Load "dri"
Find the section "Device"
Change the line: Driver "nv"
to: Driver "nvidia"
open the file /etc/modutils/aliases with a text editor
append this line at the buttom of the file:
alias char-major-195 nvidia
You are done.
Now start Xwindows with:
/etc/kdm start
If you see a nice nvidia splash screen All went well.
Edidet mrproper to make mrproper, my fault sorry!
All this is done in a console (Not in a xterm. Press CTRL+ALT+F2 to get to a console login)
Get kernel source:
wget http://developer.linuxtag.net/knoppix/i386/kernel-image-2.6.5_10.00.Custom_i386.deb
install kernel source with:
dpkg -i kernel-image-2.6.5_10.00.Custom_i386.deb
cd to /usr/src:
cd /usr/src
Unpack source:
tar xjvf kernel kernel-source-2.6.5.tar.bz2
install kernel headers:
apt-get install kernel-headers-2.6.5-1
Remove symlink:
rm linux
Make symlink to the new kernel:
ln -s kernel-source-2.6.5 linux
cd to linux:
cd linux
Make kernel tree cleen:
make mrproper
Copy knoppix kernel config:
cp /boot/config-2.6.5 ./.config
knoppix was compiled wit gcc-2.95 so w'll use that to compile the kernel:
export CC=gcc-2.95
Compile the kernel:
make
(Wait a long time)
Download Nvidia driver:
wget http://download.nvidia.com/XFree86/Linux-x86/1.0-5336/NVIDIA-Linux-x86-1.0-5336-pkg1.run
Stop Xwindows system:
/etc/init.d/kdm stop
Nvidia drivere can't find the kernel source on my system so type this:
export SYSSRC=/usr/src/linux
Start the nvidia installation:
sh NVIDIA-Linux-x86-1.0-5336-pkg1.run
Accept the licence.
Chooce no to download precompiled modules, cause there are no precompiled modules for knoppix kernel at this time
Select yes to try to compile the nvidia module.
Now you should have compiled the nvidia module.
You have to edit the file /etc/X11/XF86Config-4 file with an editor
Find the line: Secton "Modules"
Comment out
Load "GLcore"
Load "dri"
So it looks like this:
# Load "GLcore"
# Load "dri"
Find the section "Device"
Change the line: Driver "nv"
to: Driver "nvidia"
open the file /etc/modutils/aliases with a text editor
append this line at the buttom of the file:
alias char-major-195 nvidia
You are done.
Now start Xwindows with:
/etc/kdm start
If you see a nice nvidia splash screen All went well.
Edidet mrproper to make mrproper, my fault sorry!