Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I want to thank (Mr.Collins) you for your XBT backup utility. It is a life saver. I know you have now, BU and have used it. But the XBT, has saved my life. I have been a follower and have enjoyed, your comments, advice and incredible jokes. I have been using Ubuntu, since I had a problem with virtual box 6.0 and could not use it my virtual machines for pen-testing This is where a back up , using XBT is a life changer.
Ubuntu 18.04 , video drivers for my Nvidia-card stopped working and kept looping or freezing at the Grub menu. I tried safe mode, shell to repair or purge drivers and re-install. However Kernel 5.2, does not work well with Nvidia. But XBT was a life safer. Thank you. Going back to Linux Mint, at least there, I have the opportunity to choose my Kernel, that will work with my particular Nvidia-Geo-force card.

Thank you and do use BU, going to use, once I re-install Linux Mint 19.1, on my other laptop. 

Thank you , thank , thank you.!!!!
Here is how to revert to a previous kernel in Ubuntu:

Reverting to a Previous Kernel

Mar 13th, 2017 1:40 am

I haven’t needed to downgrade my kernel for a while. I was using Ubuntu’s 14.04 LTS (long time support) support for a few years, and it was so stable that I just run the following with no problems.

sudo apt-get update
sudo apt-get upgrade

But recently I got a new laptop with the latest chipsets and peripherals and decided to upgrade to the new Ubuntu Xenial 16.04 LTS while I’m at it.

I’m sad to say that the combination of new distro with bleeding edge hardware has twice given me a problem.

I’m sure it’ll be stable soon but in the mean time I’ve had to revert to a previous kernel twice now, so this blog will help me remember what to do if it happens again.

The symptoms are dramatic. After a re-boot my laptop had no network drivers and no graphics drivers, the display reverts to an emergency emulated mode which has very slow mouse response times and it looks huge, like a “my first computer” children’s toy!

Not what I want from my brand new hardware.

I don’t have time or want to fix all the drivers, so the quickest fix is to revert to a previous kernel that was working, remove the broken one, which has the effect of blacklisting it then try the next kernel when it comes out.
Boot from previous kernel

Push the esc key when you boot up and choose F12. and the advanced options.
Make a note of the current kernel numbers (top of the list) you’ll need them later to remove it.
Use the arrow key to pick a previous kernel and boot into it, hit enter.

Remove the dodgy kernel

This will remove the broken kernel and drivers, and lets the package manager know that you don’t want it again if you do an update. You should remove the specific broken kernel and it’s headers, don’t remove the super package linux-generic this is the package that Ubuntu uses to upgrade the kernel and headers when they become available. If you remove it you wont get kernel updates automatically and will have to specifically run apt-get to get them.

# use the kernel numbers from previous step to confirm that the broken kernel has been installed
# eg if the currently broken kernel was linux-image-4.4.0-64-generic it should show up in the following command.
dpkg -l | grep linux-image

# remove the broken kernel
sudo apt-get purge linux-image-4.4.0-64-generic

# remove its headers too
sudo apt-get purge linux-headers-4.4.0-64-generic


On reboot you should boot into the previous safe version, hold shift down on boot and confirm that the broken kernel is not a choice in the grub advanced settings.

Because we haven’t removed the linux-generic package itself Ubuntu will still attempt to get a new kernel when one is available, just not the one you specifically purged.

That’s it.
Thank you for reply. Did and was able to install kernel, that works with my nvidia video card. Now , if ever have the same situation, have the best advice and can repair confidently. Thank you.

Forum Jump:

Users browsing this thread: 1 Guest(s)