0

After the latest apt update I have kernel 4.13 on my Ubuntu 16.04 LTS machine. Now I have two problems:

  1. The display freezes sometimes after some minutes (using NVIDIA driver 384.111).

  2. I cannot use VMWare Player 12 because the creation of the vmnet module fails (VMWare Player 14 works, but I don't have a license for that version).

Therefore I want to switch back to 4.10 and prevent Ubuntu from updating the kernel to 4.13 (updates of the 4.10 kernel should be allowed). How can I achieve this? I found that there is the apt-mark hold command, but how do I define that only the 4.13 is not used any more whereas the update of 4.10 still works?

galoget
  • 3,023
drhuh
  • 51

3 Answers3

0

The best solution for GRUB was to set fixed in selected Kernel is (find the file in /etc/default/grub):

GRUB_DEFAULT=saved

GRUB_SAVEDEFAULT=true

With this settings the last selected value is kept for the next boot (forever, until you select another). If you have a new kernel you don't have to edit your config.

Don't forget to re-run sudo update-grub

The solution is from reading: info grub-mkconfig

You can select any kernel installed for test, if it fail you rebbot and select the old one. I use this every time the kernel updates, after the workday and test everything before accept the new one.

Edmor
  • 11
0

apt-mark hold is not necessary because, kernel 4.10 and 4.13 are two different kernels.

4.10 (the old kernel) should still be installed and you can select the old kernel from the grub menu when you boot your computer.

If grub does not display upon boot, you can hold down the SHIFT key when you boot to force the grub menu to display.


On the grub menu, select: "advanced options".

Then, select your desired kernel version (4.10).

Also, click here to see a helpful related answer about updating.

mchid
  • 44,904
  • 8
  • 102
  • 162
0

I have the same problems with kernel 4.13 in Desktop with AMD and laptop with Pentium Core-2-Duo. I both in 4.10 and used this (complete x with your version):

sudo apt remove --purge linux-image-4.13.x-xx-generic

sudo update-grub2

sudo reboot

No problems and the system continues the update for the current kernel (so far).

Edmor
  • 11