VectorLinux
August 22, 2014, 01:18:22 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Nvidia driver and two kernels  (Read 3044 times)
InTheWoods
Vectorite
***
Posts: 302


« on: January 13, 2010, 09:02:35 am »

I have two kernels on my system
2.6.27.12 (original)
2.6.28.4

After installing and upgradeing lilo I was able to boot with either kernel and all went well. I recently upgraded my Nvidia driver while running the second kernel. Again all went well. However when I went back to the first kernel the system could not locate the X-server.

This was easily solved by booting into TUI mode and upgrading the Nvidia driver again. This was successful BUT I can no longer boot with the second kernel because it can't find the X-server.

The goal is to get the second kernel running again. I do'nt need the first kernel. Unfortunately there is no TUI mode available to the newer kernel.

Can I go into /boot and edit System.map or config. Or should I go into /etc/lilo.conf and add a TUI boot option so I can update reconfigure my x again. Yet another possibility might be just renaming the new kernel again.

Any thoughts before I leap?
Logged
nightflier
Administrator
Vectorian
*****
Posts: 4019



« Reply #1 on: January 13, 2010, 09:17:24 am »

Try highlighting the boot menu entry of the new kernel, press Tab to edit it, add a 2 at the end.
Logged
uelsk8s
Administrator
Vectorian
*****
Posts: 2504



« Reply #2 on: January 13, 2010, 03:31:59 pm »

there is an option for the nvidia driver that just builds the kernel module instead of reinstalling(and removing the other kernel module).
Quote
  -K, --kernel-module-only
      Install a kernel module only, and do not uninstall the
      existing driver.  This is intended to be used to install
      kernel modules for additional kernels (in cases where you
      might boot between several different kernels).  To use this
      option, you must already have a driver installed, and the 
      version of the installed driver must match the version of 
      this kernel module.
Logged
InTheWoods
Vectorite
***
Posts: 302


« Reply #3 on: January 14, 2010, 08:08:00 pm »

Quote
Try highlighting the boot menu entry of the new kernel, press Tab to edit it, add a 2 at the end.

Thats not what I did but that is cool. I did not know you could do that.

I added a TUI boot option to lilo.conf and downgraded to the 'nv' driver. Now I can boot both kernels.

Quote
  -K, --kernel-module-only
      Install a kernel module only, and do not uninstall the
      existing driver.  This is intended to be used to install
      kernel modules for additional kernels (in cases where you
      might boot between several different kernels).  To use this
      option, you must already have a driver installed, and the
      version of the installed driver must match the version of
      this kernel module.

The driver I want to use is NVIDIA-Linux-x86-173.14.22-pkg1.run downloaded from nvidia.

So to run this driver on the newer kernel and still be able to boot into a GUI with both kernels I should run
sh NVIDIA-Linux-x86-173.14.22-pkg1.run -k
Is that correct?

Logged
uelsk8s
Administrator
Vectorian
*****
Posts: 2504



« Reply #4 on: January 14, 2010, 09:02:58 pm »

looks like a capitol K to me so it should be
sh NVIDIA-Linux-x86-173.14.22-pkg1.run -K
Logged
budulay
Packager
Vectorian
****
Posts: 568


NewComer


« Reply #5 on: January 21, 2010, 09:15:46 pm »

I tried the drivers with the -K option and not only did they work properly, now I have my workspaces(CTRL+ALT+F1-F6) back. Before when I installed the drivers with just "sh <driver>" command, they were all blocked by the driver somehow, giving me black screen whenever I tried to switch to them.

oops, never mind that - I think it was the 190.53 driver that fixed that.
« Last Edit: February 13, 2010, 08:34:06 pm by budulay » Logged

VL6.0-Light@MSI MS-1652(AMD TurionX2 ZM-84 2300 MHZ, 4 GB RAM, 250 GB HDD, Nvidia GForce 9600M GT, GIGABYTE AirCruiser N300)
Registered Linux user #473602
SlackBuild Repository for VL7.Not much but it's a start. Join in!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!