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

Thread: downgrade kernel

  1. #1

    Default downgrade kernel

    Hello,

    I want to downgrade kernel from 4.8.4-1 to 4.8.3-1
    How can I do that?

    Thank you!

  2. #2

    Default Re: downgrade kernel

    Quote Originally Posted by stefandan View Post
    I want to downgrade kernel from 4.8.4-1 to 4.8.3-1
    How can I do that?
    It should still be installed, openSUSE normally keeps the latest two kernels.
    Have a look into "Advanced Options" in the boot menu, you should be able to choose it there.

    Other than that, it would not be easily possible.
    Newer packages replace the older ones in the repos.
    So you'd have to compile/build 4.8.3 for yourself.

    OOC, why do you want to downgrade?
    Do you have problems with 4.8.4?

  3. #3

    Default Re: downgrade kernel

    I had problems with grub and now it won't boot from it. It only boot from the older kernel.

  4. #4

    Default Re: downgrade kernel

    Quote Originally Posted by stefandan View Post
    I had problems with grub and now it won't boot from it. It only boot from the older kernel.
    But if you already can boot the older kernel, there's no need to "downgrade".
    Or am I misunderstanding something here?

    And what problems do/did you have with grub?
    What happens exactly when you try to boot kernel 4.8.4?

    grub is unrelated to the kernel.
    And it should be able to boot *any* kernel, as long as the menu entry is correct.
    Whether the kernel works or not is a different story though.

  5. #5

    Default Re: downgrade kernel

    Maybe the OP means how to make the older kernel the default one to boot from, in other words the order in grub?
    You would have to edit /etc/default/grub.

  6. #6

    Default Re: downgrade kernel

    Quote Originally Posted by tinylagarto View Post
    Maybe the OP means how to make the older kernel the default one to boot from, in other words the order in grub?
    You would have to edit /etc/default/grub.
    No, that won't have any effect, unless you run "sudo grub2-mkconfig -o /boot/grub2/grub.cfg" afterwards I think. (grub reads it from /boot/grub2/grubenv, not /etc/default/grub, which can be edited with "grub2-editenv")

    You can also set the default entry via the command "grub2-set-default" (if the default is set to "saved" which should be standard I think).

    Or use YaST->System->Boot Loader to set the default entry.

    Or even better, uninstall kernel 4.8.4. It's of no use anyway if it cannot be booted.
    Either with:
    Code:
    zypper rm kernel-default-4.8.4
    or in YaST by using the "Versions" tab below the package list.
    Last edited by wolfi323; 27-Oct-2016 at 11:07.

  7. #7

    Default Re: downgrade kernel

    Quote Originally Posted by wolfi323 View Post

    Or use YaST->System->Boot Loader to set the default entry.
    That sounds great. Forgot about Yast and how great it can be. That happens when you live in the command line.

  8. #8

    Default Re: downgrade kernel

    On the newer kernel:

    [ OK ] Started Session 1 of user XXXX

    [ OK ] Started Session 2 of user XXXX

    [ OK ] Started Session 3 of user XXXX

    [ OK ] Started Session 4 of user XXXX

    .............................................................


    [ OK ] Started Session 49 of user XXXX

  9. #9

    Default Re: downgrade kernel

    Quote Originally Posted by stefandan View Post
    On the newer kernel:

    [ OK ] Started Session 1 of user XXXX
    ...
    Hm, strange.
    I doubt that it's related to the kernel per se though.

    As the system boots fine with the older one, it shouldn't be a general installation problem either.

    Maybe the initrd is broken somehow?
    systemd (from which these messages come from) is started already before the root filesystem is mounted.

    Try to run "sudo mkinitrd" (you can do that when booting the older kernel) and see if it helps.

    Otherwise, as already mentioned, there is no need to downgrade anything.
    You can either set the older kernel as default boot menu entry, or just uninstall kernel 4.8.4 (this is what I would probably do...).
    Last edited by wolfi323; 27-Oct-2016 at 12:48.

  10. #10

    Default Re: downgrade kernel

    sudo mkinitrd

    Creating initrd: /boot/initrd-4.8.3-1-default
    dracut: Executing: /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log --force /boot/initrd-4.8.3-1-default 4.8.3-1-default
    dracut: *** Including module: bash ***
    dracut: *** Including module: systemd ***
    dracut: *** Including module: warpclock ***
    dracut: *** Including module: systemd-initrd ***
    dracut: *** Including module: i18n ***
    dracut: Could not find FONT_MAP none!
    dracut: *** Including module: drm ***
    dracut: *** Including module: plymouth ***
    dracut: *** Including module: kernel-modules ***
    dracut: *** Including module: rootfs-block ***
    dracut: *** Including module: terminfo ***
    dracut: *** Including module: udev-rules ***
    dracut: Skipping udev rule: 40-redhat.rules
    dracut: Skipping udev rule: 50-firmware.rules
    dracut: Skipping udev rule: 50-udev.rules
    dracut: Skipping udev rule: 91-permissions.rules
    dracut: Skipping udev rule: 80-drivers-modprobe.rules
    dracut: *** Including module: dracut-systemd ***
    dracut: *** Including module: haveged ***
    dracut: *** Including module: usrmount ***
    dracut: *** Including module: base ***
    dracut: *** Including module: fs-lib ***
    dracut: *** Including module: shutdown ***
    dracut: *** Including module: suse ***
    dracut: *** Including modules done ***
    dracut: *** Installing kernel module dependencies and firmware ***
    dracut: *** Installing kernel module dependencies and firmware done ***
    dracut: *** Resolving executable dependencies ***
    dracut: *** Resolving executable dependencies done***
    dracut: *** Hardlinking files ***
    dracut: *** Hardlinking files done ***
    dracut: *** Stripping files ***
    dracut: *** Stripping files done ***
    dracut: *** Generating early-microcode cpio image ***
    dracut: *** Constructing GenuineIntel.bin ****
    dracut: *** Store current command line parameters ***
    dracut: Stored kernel commandline:
    dracut: root=UUID=7984645a-24c5-46ac-8baf-ea837ca759b5 rootfstype=ext4 rootflags=rw,relatime,data=ordered
    dracut: *** Creating image file '/boot/initrd-4.8.3-1-default' ***
    dracut: *** Creating initramfs image file '/boot/initrd-4.8.3-1-default' done ***
    Creating initrd: /boot/initrd-4.8.4-1-default
    dracut: Executing: /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log --force /boot/initrd-4.8.4-1-default 4.8.4-1-default
    modinfo: ERROR: Module nvidia not found.
    dracut: *** Including module: bash ***
    dracut: *** Including module: systemd ***
    dracut: *** Including module: warpclock ***
    dracut: *** Including module: systemd-initrd ***
    dracut: *** Including module: i18n ***
    dracut: Could not find FONT_MAP none!
    dracut: *** Including module: drm ***
    dracut: *** Including module: plymouth ***
    dracut: *** Including module: kernel-modules ***
    dracut: *** Including module: rootfs-block ***
    dracut: *** Including module: terminfo ***
    dracut: *** Including module: udev-rules ***
    dracut: Skipping udev rule: 40-redhat.rules
    dracut: Skipping udev rule: 50-firmware.rules
    dracut: Skipping udev rule: 50-udev.rules
    dracut: Skipping udev rule: 91-permissions.rules
    dracut: Skipping udev rule: 80-drivers-modprobe.rules
    dracut: *** Including module: dracut-systemd ***
    dracut: *** Including module: haveged ***
    dracut: *** Including module: usrmount ***
    dracut: *** Including module: base ***
    dracut: *** Including module: fs-lib ***
    dracut: *** Including module: shutdown ***
    dracut: *** Including module: suse ***
    dracut: *** Including modules done ***
    dracut: *** Installing kernel module dependencies and firmware ***
    dracut: *** Installing kernel module dependencies and firmware done ***
    dracut: *** Resolving executable dependencies ***
    dracut: *** Resolving executable dependencies done***
    dracut: *** Hardlinking files ***
    dracut: *** Hardlinking files done ***
    dracut: *** Stripping files ***
    dracut: *** Stripping files done ***
    dracut: *** Generating early-microcode cpio image ***
    dracut: *** Constructing GenuineIntel.bin ****
    dracut: *** Store current command line parameters ***
    dracut: Stored kernel commandline:
    dracut: root=UUID=7984645a-24c5-46ac-8baf-ea837ca759b5 rootfstype=ext4 rootflags=rw,relatime,data=ordered
    dracut: *** Creating image file '/boot/initrd-4.8.4-1-default' ***
    dracut: *** Creating initramfs image file '/boot/initrd-4.8.4-1-default' done ***

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
  •