NVIDIA Driver with Kernel 3.3.x: Difference between revisions

>Samthecrazyman
m Added 3.7.x path
>Samthecrazyman
m Changed to be relevant for 3.7.x series
 
Line 28: Line 28:
# Run <code>make prepare</code>. The files needed are now generated, we need to copy them to the right place.
# Run <code>make prepare</code>. The files needed are now generated, we need to copy them to the right place.
# Change directory to <code>/lib/modules</code>
# Change directory to <code>/lib/modules</code>
# Run <code>dir</code>. You may be presented with a large list, depending on how many times you have updated the kernel. We need to use the folder with the same version and variant of the kernel as we are installing the driver under. This will more than likely be the highest version number. For the rest of the tutorial, we assume the kernel version 3.3.0-16. Yours may be different.
# Run <code>dir</code>. You may be presented with a large list, depending on how many times you have updated the kernel. We need to use the folder with the same version and variant of the kernel as we are installing the driver under. This will more than likely be the highest version number. For the rest of the tutorial, we assume the kernel version 3.7.1-2. Yours may be different.
# Change directory with either <code>/lib/modules/3.3.0-16-desktop/source/arch/x86_64/include</code> or <code>/lib/modules/3.3.0-16-default/source/arch/x86_64/include</code> depending on kernel variant.
# Change directory with either <code>/lib/modules/3.7.1-2-desktop/source/arch/x86/include</code> or <code>/lib/modules/3.7.1-2-default/source/arch/x86/include</code> depending on kernel variant.
# Run the command <code>cp -v generated/asm/unistd*.h ./asm/</code>. Make sure there is no <code>/</code> before <code>generated</code> or this will fail. 3 files will then be copied to the correct location.
# Run the command <code>cp -v generated/asm/unistd*.h ./asm/</code>. Make sure there is no <code>/</code> before <code>generated</code> or this will fail. 3 files will then be copied to the correct location.
# You are now ready to go, make sure your in runlevel 3 and run the installer again.
# You are now ready to go, make sure your in runlevel 3 and run the installer again.