Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33

Thread: How to run custom Kernel?

  1. #1

    Default How to run custom Kernel?

    What is the command line that enabled the latest Kernel or 4.12 in Tumbleweed?

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,824
    Blog Entries
    15

    Default Re: How to run custom Kernel?

    Hi
    Add one of the kernel 'standard' repos.... down here;

    http://download.opensuse.org/repositories/Kernel:/

    Head, stable or vanilla.... if you break it, you fix it....

    Or are you wanting to compile your own?
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3

    Default Re: How to run custom Kernel?

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Add one of the kernel 'standard' repos.... down here;
    http://download.opensuse.org/repositories/Kernel:/
    I don't get it. Which one is Kernel 4.12? Is there a set of command lines that do the work like in Ubuntu? How to add 4.12 to repo would be the question? How to know to version of tumbleweed I run?

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,824
    Blog Entries
    15

    Default Re: How to run custom Kernel?

    Quote Originally Posted by AMD17 View Post
    I don't get it. Which one is Kernel 4.12? Is there a set of command lines that do the work like in Ubuntu? How to add 4.12 to repo would be the question? How to know to version of tumbleweed I run?
    Hi
    It's still an rc release, there are no version numbers for Tumbleweed, it's a snapshot number (cat /etc/os-release)

    The 4.12 rc2 is in vanilla repo;
    Code:
    zypper ar -f -g -n "repo-kernel-vanilla" http://download.opensuse.org/repositories/Kernel:/vanilla/standard/ openSUSE-kernel-vanilla
    zypper ref
    zypper dup --from repo-kernel-vanilla
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5

    Default Re: How to run custom Kernel?

    Quote Originally Posted by malcolmlewis View Post
    Hi
    It's still an rc release, there are no version numbers for Tumbleweed, it's a snapshot number (cat /etc/os-release)

    The 4.12 rc2 is in vanilla repo;
    Code:
    zypper ar -f -g -n "repo-kernel-vanilla" http://download.opensuse.org/repositories/Kernel:/vanilla/standard/ openSUSE-kernel-vanilla
    zypper ref
    zypper dup --from repo-kernel-vanilla
    I just don't believe it! I have one PW only and I'm stuck with that message on every attempt::

    Code:
    ss@linux-2o2k:~> zypper ar -f -g -n "repo-kernel-vanilla" http://download.opensuse.org/repositories/Kernel:/vanilla/standard/ openSUSE-kernel-vanilla
    Root privileges are required for modifying system repositories.
    ss@linux-2o2k:~> su -
    Password:
    su: Authentication failure
    ss@linux-2o2k:~>
    At least I have the command lines to do so. Thanks for replying. Is it su or su -? Should I do it before or after (the way it is shown)?

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,824
    Blog Entries
    15

    Default Re: How to run custom Kernel?

    Quote Originally Posted by AMD17 View Post
    I just don't believe it! I have one PW only and I'm stuck with that message on every attempt::

    Code:
    ss@linux-2o2k:~> zypper ar -f -g -n "repo-kernel-vanilla" http://download.opensuse.org/repositories/Kernel:/vanilla/standard/ openSUSE-kernel-vanilla
    Root privileges are required for modifying system repositories.
    ss@linux-2o2k:~> su -
    Password:
    su: Authentication failure
    ss@linux-2o2k:~>
    At least I have the command lines to do so. Thanks for replying. Is it su or su -?
    Hi
    As in did you set the admin password the same as you user on install? Always use su - (to set the environment variables)

    Try;
    Code:
    sudo -i
    passwd
    The openSUSE sudo implementation is not like the Ub* hold your hand version.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  7. #7

    Default Re: How to run custom Kernel?

    Quote Originally Posted by malcolmlewis View Post
    Hi
    As in did you set the admin password the same as you user on install? Always use su - (to set the environment variables)

    Try;
    Code:
    sudo -i
    passwd
    The openSUSE sudo implementation is not like the Ub* hold your hand version.
    Here's what the terminal returns:

    Code:
    ss@linux-2o2k:~> sudo -i
    sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?
    ss@linux-2o2k:~> su -
    Password:
    su: Authentication failure
    ss@linux-2o2k:~>

  8. #8
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,134

    Default Re: How to run custom Kernel?

    Quote Originally Posted by AMD17 View Post
    Here's what the terminal returns:

    Code:
    ss@linux-2o2k:~> sudo -i
    sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?
    ss@linux-2o2k:~> su -
    Password:
    su: Authentication failure
    ss@linux-2o2k:~>
    You seem to use the wrong root passwd. And that is already subject of another thread of you https://forums.opensuse.org/showthre...57#post2823957

    As long as that issue is not solved, you can not install anything, nor add repos, etc., etc. In short, you can not manage your system.

    To check one suggestion from the message of sudo, check:
    Code:
    ls -l /usr/bin/ | grep rws
    Last edited by hcvv; 23-May-2017 at 06:23.
    Henk van Velden

  9. #9

    Default Re: How to run custom Kernel?

    Code:
    ss@linux-2o2k:~> ls -l /usr/bin/ | grep rws
    -rwsr-x--- 1 root root      52336 Oct 16  2016 at
    -rwsr-xr-x 1 root shadow    50752 Mar  5 11:56 chfn
    -rwsr-xr-x 1 root shadow    41472 Mar  5 11:56 chsh
    -rwsr-x--- 1 root root      55944 Apr  7 08:02 crontab
    -rwsr-xr-x 1 root shadow    19336 Mar  5 11:56 expiry
    -rwsr-x--- 1 root root      31552 Oct 16  2016 fusermount
    -rwsr-xr-x 1 root shadow    67232 Mar  5 11:56 gpasswd
    -rwsr-xr-x 1 root root      43112 Apr 25 03:07 mount
    -rwsr-xr-x 1 root root      36792 Mar  5 11:56 newgrp
    -rwsr-xr-x 1 root shadow    51264 Mar  5 11:56 passwd
    -rwsr-xr-x 1 root root      26648 Oct 16  2016 pkexec
    -rwsr-xr-x 1 root root      30856 Apr 25 03:07 su
    -rwsr-xr-x 1 root root     142840 Mar 10 15:09 sudo
    -rwsr-xr-x 1 root root      30824 Apr 25 03:07 umount
    ss@linux-2o2k:~>
    Is there something I did wrong during the installation? Should I redo the installation... The thread you have mention is not really about PW, but like you say, I can apply or make any modifications to the system. All I can say is that I was dual boot with Win ten and LTS. I did something I never do: Deleted sda1 (system reserved) and made the fresh install on sda2. Kept sda3 to 7.

  10. #10

    Default Re: How to run custom Kernel?

    Quote Originally Posted by hcvv View Post
    You seem to use the wrong root passwd.
    It may be this bug though:
    http://bugzilla.opensuse.org/show_bug.cgi?id=1040041

    Try to login as root to text mode (Ctrl+Alt+F1), does this work?
    You could run zypper there.

Page 1 of 4 123 ... 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
  •