-2

Steps taken so far:

apt-cache search linux-image*
apt-get install linux-image-...

I was now thinking of rebooting and selecting the new kernel when it appears on the GRUB menu, however:

  1. Is it best practice to force GRUB to boot the new kernel by editing configuration files? Or would it be fine to manually select the kernel as this server is not rebooted frequently?

  2. Is it possible to delete the kernel that appears under uname -r while I am using that kernel? Or will the shutdown and reboot process fail?

user
  • 123
  • 8
  • Can someone explain why this has been downvoted? I have never done this before, so am looking to see if there's anything I am missing/a better way to do this. – user Apr 26 '15 at 07:29
  • 1
    Mouse over the down arrow; the popup says "*This question does not show any research effort; it is unclear or not useful*". Downvotes without comment may be presumed to be for at least one of those reasons. – MadHatter Apr 26 '15 at 09:54
  • @MadHatter fair enough. – user Apr 26 '15 at 10:07

1 Answers1

1

When upgrading kernel, always have at least one known-good kernel (meaning a kernel that you have already succesfuly booted).

As long as you have access to the console, so you can manually switch to this known-good, its fine to change the default kernel to your newly installed.

If you do not have access to the console, you probably should use grub's fallback mechanism and set kernels panic parameter.

Fox
  • 3,977
  • 18
  • 23