| Author |
Message |
arachn1d
Joined: 19 Nov 2009
Posts: 49
|
| Posted: Sun Nov 27, 2011 3:02 am Post subject: Upgrading the kernel |
|
|
What's the best way to go about upgrading the kernel?
Code: uname -r
2.6.18.8-x86_64-linode1
I didn't realize I was behind until I looked at available kernels.
How do I upgrade? |
|
| Back to top |
|
db3l
Joined: 13 May 2009
Posts: 556
|
| Posted: Sun Nov 27, 2011 6:20 am Post subject: |
|
|
You can select a kernel in the boot settings of your configuration profile. Changing it will require a reboot to take effect. You can either select a specific kernel or one of the "Latest" options to automatically update over time (at least as of your most recent reboot).
-- David |
|
| Back to top |
|
obs
Joined: 07 Mar 2010
Posts: 1403
Location: Earth
|
| Posted: Sun Nov 27, 2011 6:25 am Post subject: |
|
|
| Set your linodes profile to use "Latest 3.0" in the linode manager and reboot |
|
| Back to top |
|
marcl
Joined: 10 Aug 2011
Posts: 12
|
| Posted: Sun Nov 27, 2011 11:45 pm Post subject: |
|
|
| What about if you are using a custom or distro kernel? How can you upgrade. I have asked a couple of people before if apt-get update and install does the kernel. They thought it probably did but could not be sure. |
|
| Back to top |
|
retrograde inversion
Joined: 08 Jun 2011
Posts: 25
|
| Posted: Mon Nov 28, 2011 12:07 am Post subject: |
|
|
| As long as /boot/grub/menu.lst is updated accordingly, pv-grub should pick up on your new kernel and boot it. Refer to the library for details. |
|
| Back to top |
|
marcl
Joined: 10 Aug 2011
Posts: 12
|
| Posted: Mon Nov 28, 2011 9:59 am Post subject: |
|
|
| I think i did that already its just I was wondering about upgrading that kernel , i.e not changing the kernel I used but updating I guess . Sorry If I am using the wrong terminology. I did actually follow the linode guides for using pv grub etc and it seemed to work without any problems.[/list] |
|
| Back to top |
|
Guspaz
Joined: 26 May 2009
Posts: 1150
Location: Montreal, QC
|
| Posted: Mon Nov 28, 2011 10:16 am Post subject: |
|
|
If you're using Linode's kernel, a reboot will get you the latest kernel. If you're using a custom kernel, it works just like it would on a real linux server, and pv_grub will pick the default kernel you've selected.
To update the kernel, update it normally with apt-get, yum, or whatever else your distro uses, and make sure your grub menu list has the right kernel as default.
As a warning, though, you shouldn't be using a custom kernel unless you have a specific need to do so. |
|
| Back to top |
|
marcl
Joined: 10 Aug 2011
Posts: 12
|
| Posted: Mon Nov 28, 2011 10:28 am Post subject: |
|
|
I had the idea to use selinux, even though I am not really competent but for the time being it is going ok. I'll reboot into the linode kernel if I have issues. I was advised also to use aptkeeper which I intend to do.
Do you know what kind issues I might face if I were to boot with the linux kernel now that I have been using the distro kernel? |
|
| Back to top |
|
| |