5

What does it mean to install a new version of the kernel. My Linux box gave me this message when I was updating,

NOTE, 3.8.13 was the last maintained maintenance release by Greg Kroah-Hartman. It is recommend to move on to linux310-series.

What I want to know is,

  • Is it really that simple to only change the Linux kernel?
  • Is the Linux kernel like a simple executable file that can be swapped out for another Linux kernel?
  • What happens if I install a new kernel while the box is already running another version of the kernel?
  • Right now I'm using Kernel 3.8.13.8-1. Is it really okay to move to the linux310-series as the above update message says?
1

2 Answers 2

8
  • Yes.
  • Yes, sort of. It's not simple and it's not "just" an executable file, but you can swap between Linux kernels super easily. This is not applicable to every kernel, though, meaning that e.g. you can probably replace a FreeBSD kernel with a newer FreeBSD kernel, and as stated above, you can upgrade a Linux kernel pretty easily, but you cannot easily replace a Linux kernel with a FreeBSD kernel. See the Wikipedia page on kernels. I'd link you to the "what is a kernel" question, but I can't find it.
  • Your box will continue to use your current kernel. It depends on your bootloader and distribution, but when you reboot, you'll probably be able to choose between the two kernels.
  • Probably. Upgrading your kernel isn't actually a big deal, especially since (if you're smart, and keep your old kernel around just in case) you can go back to the old one if the new kernel doesn't work for some reason. Sometimes there are problems with new kernel versions, especially if you have exotic hardware, but I've never seen any myself.
5
  • 1
    The creator of Elementary OS disagrees shnatsel.blogspot.com/2013/12/…
    – Lynob
    Commented Feb 9, 2014 at 2:50
  • @Fischer that seems to be a special thing that's going on in the Elementary community? I don't really understand what his point is. see my last point: the new kernel could theoretically break, but most distros targeting low-competency individuals will keep old kernels. and anyone running a distro that doesn't (because it targets highly competent people) is smart enough to boot a Live CD and chroot. and, well, if a newbie distro doesn't keep around old kernels, the creator of that distro is an idiot. he can't expect users to chroot into their install to fix the kernel.
    – strugee
    Commented Feb 9, 2014 at 9:18
  • although, just to note, the Elementary people are not idiots, because they don't do major kernel version upgrades. I was referring only to distros that do e.g. 3.10 -> 3.12 kernel bumps.
    – strugee
    Commented Feb 9, 2014 at 9:19
  • I just wanted to show the other point of view, I kinda disagree with him also, I commented on his blog "If what you're saying is true, then what about Arch users, or other rolling releases? :)" he deleted my comment :P
    – Lynob
    Commented Feb 9, 2014 at 12:04
  • @Fischer gotcha.
    – strugee
    Commented Feb 9, 2014 at 12:16
1

What box is this? What Linux distribution? Where do the "updates" you mention come from?

You are certainly wellcome to play around, and install the latest (stable) kernel version (or even a bleeding edge -rcX one from Linus), but as mentioned above this might mean some hardware isn't supported anymore (very unlikely), some hardware support has changed and might now break (also unlikely, but not unheard of). Sometimes changes in the kernel force changes in the ancilliary software (tools for configuring and so on the system), but that shouldn't be an issue here. In any case, it is required to know a bit of what you are doing, so plan to spend quite some time reading up, defining a correct kernel configuration (there are literally hundreds of knobs to frob!), building and checking everything works. Start with the configuration of your distribution's kernel.

It is easier (and safer) to depend on the experts for your distribution do the job properly. But certainly not so much fun (where is the fun if each boot goes boringly the same routine, instead of blowing up or giving a firework display?).

3
  • the creator of Elementary OS disagrees shnatsel.blogspot.com/2013/12/…
    – Lynob
    Commented Feb 9, 2014 at 2:52
  • @Fischer, he seems to be taking mostly about getting a precompiled kernel package from $random_site, and I can't but agree heartily. But kernel hacking is not up there with brain surgery, certainly most anybody with a decent knowledge of C can dig in, and perhaps fix a bug or two. Not for the faint of heart, but what extreme sport is?
    – vonbrand
    Commented Feb 9, 2014 at 3:02
  • as i commented above. I just wanted to show the other point of view, I kinda disagree with him also, I commented on his blog "If what you're saying is true, then what about Arch users, or other rolling releases? :)" he deleted my comment :P
    – Lynob
    Commented Feb 9, 2014 at 12:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .