Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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?
share|improve this question
    
you should probably read the opposite opinion as well shnatsel.blogspot.com/2013/12/… –  Fischer Feb 9 at 2:51

2 Answers 2

up vote 6 down vote accepted
  • 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.
share|improve this answer
1  
The creator of Elementary OS disagrees shnatsel.blogspot.com/2013/12/… –  Fischer Feb 9 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 Feb 9 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 Feb 9 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 –  Fischer Feb 9 at 12:04
    
@Fischer gotcha. –  strugee Feb 9 at 12:16

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?).

share|improve this answer
    
the creator of Elementary OS disagrees shnatsel.blogspot.com/2013/12/… –  Fischer Feb 9 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 Feb 9 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 –  Fischer Feb 9 at 12:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.