Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: how to have two desktop kernels and nvidia drivers in suse 11.4

  1. #1

    Default how to have two desktop kernels and nvidia drivers in suse 11.4

    I would like to have 2 desktop kernels in my suse 11.4, I also would like to have nvidia drivers working on both, how can I get this?
    situation:
    dell latitude e6510
    /windows partition
    /data partition
    /home and / separated partition with 11.3 (I dont want to touch this becouse it works:-))
    /home and / separated partition with 11.4 and kde 4.6.2 and kernel 2.6.37.1-1.2-desktop and nvidia drivers 270.41.06 (installed in the hard way that is not hard)
    as I'm interested to test new kernel becouse my touchpad scroll doesn't works, but I don't want to bork my 11.4, is it possible to have another entry in grub pointing to another kernel and install nvidia driver without borking the working kernel??
    tnx alot

  2. #2

    Default Re: how to have two desktop kernels and nvidia drivers in suse 11.4

    It's possible. But what are you trying to do exactly:
    • experiment with different kernel versions (of the same openSUSE release)?
    • experiment with different installations of the same kernel version?
    • experiment with different versions of the nvidia driver?

  3. #3

    Default Re: how to have two desktop kernels and nvidia drivers in suse 11.4

    Just install both kernels with YAST.
    The boot manager should give you all the options automatically: 11.3, 11.4 default, 11.4 desktop, ...

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,822

    Default Re: how to have two desktop kernels and nvidia drivers in suse 11.4

    Quote Originally Posted by astraea View Post
    Just install both kernels with YAST.
    The boot manager should give you all the options automatically: 11.3, 11.4 default, 11.4 desktop, ...
    I think you missed the part about the NVIDIA drivers.
    Henk van Velden

  5. #5

    Default Re: how to have two desktop kernels and nvidia drivers in suse 11.4

    Quote Originally Posted by please_try_again View Post
    It's possible. But what are you trying to do exactly:
    • experiment with different kernel versions (of the same openSUSE release)?
    • experiment with different installations of the same kernel version?
    • experiment with different versions of the nvidia driver?
    @Flux Capacitor Penguin-experiment with different kernel versions (of the same openSUSE release)
    I have many doubts, one is if I have to install two kernel-source to be able to install and have the nvidia drivers working
    @astrea-as hcvv said there is the problem with nvidia drivers,

  6. #6

    Default Re: how to have two desktop kernels and nvidia drivers in suse 11.4

    Quote Originally Posted by pier_andreit View Post
    @Flux Capacitor Penguin-experiment with different kernel versions (of the same openSUSE release)
    I have many doubts, one is if I have to install two kernel-source to be able to install and have the nvidia drivers working
    Do you mean desktop and default of the same kernel version or different versions of the desktop (or default) kernel?
    By default, openSUSE doesn't keep multiple kernel versions. So if you want to be able to install different kernel versions, you have to uncomment the following line in /etc/zypp/zypp.conf
    Code:
    # multiversion = provides:multiversion(kernel)
    Then you have to install the kernel sources for each kernel and modify the link /usr/src/linux to point to the sources of the kernel for which you want to compile the nvidia module. (I don't do it, but it seems logical).

    You might actually have to specify each package but I'm not sure. In that case, that would be:
    Code:
    multiversion = provides:multiversion(kernel,kernel-source,kernel-devel)
    But someone would have to confirm this.

  7. #7

    Default Re: how to have two desktop kernels and nvidia drivers in suse 11.4

    Quote Originally Posted by please_try_again View Post
    Do you mean desktop and default of the same kernel version or different versions of the desktop (or default) kernel?
    I mean different versions of the desktop (or default) kernel
    Quote Originally Posted by please_try_again View Post
    By default, openSUSE doesn't keep multiple kernel versions. So if you want to be able to install different kernel versions, you have to uncomment the following line in /etc/zypp/zypp.conf
    Code:
    # multiversion = provides:multiversion(kernel)
    Then you have to install the kernel sources for each kernel
    do you mean by yast??
    Quote Originally Posted by please_try_again View Post
    and modify the link /usr/src/linux to point to the sources of the kernel for which you want to compile the nvidia module. (I don't do it, but it seems logical).

    You might actually have to specify each package but I'm not sure. In that case, that would be:
    Code:
    multiversion = provides:multiversion(kernel,kernel-source,kernel-devel)
    But someone would have to confirm this.
    I'm waiting confirmation :-)

  8. #8

    Default Re: how to have two desktop kernels and nvidia drivers in suse 11.4

    The entry in Grub is actually the easiest part. You can add as many entries as you like in Grub menu for as many kernels as you have. Whether they'll survive a kernel update (as YaST is going to rewrite menu.lst) is another question, but you can always - and you should - make a copy of /boot/grub/menu.lst. You could also use updategrub to add these entries for you but only if you had the other kernel on a separate partition - as os-prober skips the boot/root partition of the system from where it is executed - but I wouldn't use another partition just for the purpose of having other kernels.

    If you want to compile newer kernels, you might want to take a look at this script:S.A.K.C. - SUSE Automated Kernel Compiler - Version 2.00.

  9. #9

    Default Re: how to have two desktop kernels and nvidia drivers in suse 11.4

    Quote Originally Posted by pier_andreit View Post
    I mean different versions of the desktop (or default) kernel
    do you mean by yast??
    I'm waiting confirmation :-)
    The multiversion line in /etc/zypp/zypp.conf only affects the release's kernel package which gets updated from time to time. It will prevent YaST from removing the older kernel after a kernel update. It has no effect of kernels you'll compile and install yourself since they are not 'packages' - afaik.

  10. #10

    Default Re: how to have two desktop kernels and nvidia drivers in suse 11.4

    I see the yast way more dangerous than the SAKC way, I'm going with the SAKC way, it's compiling and it seems to works painlessly, :-)))
    many thanks I'll let you know the rest with the nvidia drivers, hopeing well and crossing fingers :-)

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •