Hello,
I want to downgrade kernel from 4.8.4-1 to 4.8.3-1
How can I do that?
Thank you!
Hello,
I want to downgrade kernel from 4.8.4-1 to 4.8.3-1
How can I do that?
Thank you!
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?
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.
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:
zypper rm kernel-default-4.8.4
or in YaST by using the “Versions” tab below the package list.
That sounds great. Forgot about Yast and how great it can be. That happens when you live in the command line.
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
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…).
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 ***
Yes, no point to post that.
There’s no error.
Did it help?
is not working
starting user manager for uid 1000
stopped user manager for uid 1000
started session 31 of user XXX
started session 32 os user XXX
started session 33 os user XXX
…
maybe uninstall 4.8.4 and install it again?
May be worth a try.
I don’t know how
Please help me
I already told you how to uninstall kernel 4.8.4.
Afterwards, just install all updates again, kernel 4.8.4 should be amongst them.
If it still doesn’t work, you can uninstall it again, or change the default boot entry (but then you will always boot to 4.8.3 or whatever, even if there is a 4.8.5+ update that may work again).
I’ve reinstalled the kernel, it’s stuck at this command linehttp://s9.postimg.org/9xqu2kmq5/14889738_669215339921815_6327563926567931848_o.jpg
Can you login in text mode after you press Ctrl+Alt+F1?
What graphics card/driver are you using?
Would look like Xorg fails to start.
I’ve reinstalled the system again. Thank you for your help.
Your problem is that your nvidia kernel driver is not compiled against your new kernel only against old kernel.
To fix that boot your new kernel in init 3 and reinstall nvidia drivers or add nvidia opensuse repository and install your nvidia driver from there.