# Download NVidia package
NVIDIA-Linux-x86-1.0-7667-pkg1.run
# Run:
Compile --no-install Linux 2.6.11.9
# to have it matching to the GoboLinux012 shipped kernel :)
# Exit X (logoff, alt+n) and run this to install nvidia.ko:
# login as gobo (root)
strPkgVersion="Linux-x86-1.0-7667-pkg1"
strPkgVersionPath="
/Programs/Nvidia/$strPkgVersion"
strKernelSource="
/System/Kernel/Modules/`uname -r`/build"
./NVIDIA-Linux-x86-1.0-7667-pkg1.run
\
--expert
\
--accept-license
\
--no-backup
\
--no-network
\
--no-runlevel-check
\
--opengl-prefix="$strPkgVersionPath"
\
--installer-prefix="$strPkgVersionPath"
\
--utility-prefix="$strPkgVersionPath"
\
--x-prefix="$strPkgVersionPath"
\
--kernel-source-path="$strKernelSource"
\
--kernel-install-path=
/System/Kernel/Modules/`uname -r`/kernel/drivers/video
\
--proc-mount-point=/System/Kernel/Status
\
--log-file-name=/System/Variable/log/nvidia-installer.log
# say OK to all 'error?' messages and said OK to continue on all checks
that 'failed'...
SymlinkProgram Nvidia "$strPkgVersion"
# If you opted to install opengl headers you may have these conflicts:
# SymlinkProgram: Conflict: /Programs/Xorg/6.8.2/include/GL/gl.h
# SymlinkProgram: Conflict:
/Programs/Xorg/6.8.2/include/GL/glext.h
# SymlinkProgram: Conflict: /Programs/Xorg/6.8.2/include/GL/glx.h
# SymlinkProgram: Conflict:
/Programs/Xorg/6.8.2/include/GL/glxext.h
# In this case, you may want to run this instead:
SymlinkProgram -c overwrite Nvidia "$strPkgVersion"
# edited Xorg.conf and changed: Driver "nv"
#
to:
Driver "nvidia"
# adjusted modprobe.conf
echo -e "\nalias char-major-195 nvidia"
>>/System/Settings/modprobe.conf
# or you can just type: modprobe nvidia
# login as normal user
startx
# PS.: as Linux kernel compilation takes too long ( on my machine 7h :(
),
# I created this
small script you
can
use to
follow the
progress,
# or create your own based on 5560 .o files to this kernel.
#
Just cd to '/Files/Compile/Sources/linux-2.6.11.9' and run like
$HOME/bin/Progress.sh
# This script depends on my project
ScriptEchoColor (I
may add a code of progress like this to it later on).
# Tip, it looks good at Konsole, it looks like this but colored :)
#
49%[OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO____________________________](2729/5560)
# Have fun :)
# Documentation provided with absolutely NO WARRANTIES, it worked for
me and MAY work for you.