Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Upgrading the kernel
PostPosted: Sun Nov 27, 2011 4:02 am 
Offline
Senior Member

Joined: Thu Nov 19, 2009 4:55 pm
Posts: 52
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?


Top
   
 Post subject:
PostPosted: Sun Nov 27, 2011 7:20 am 
Offline
Senior Member

Joined: Wed May 13, 2009 1:18 am
Posts: 681
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


Top
   
 Post subject:
PostPosted: Sun Nov 27, 2011 7:25 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Set your linodes profile to use "Latest 3.0" in the linode manager and reboot

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Mon Nov 28, 2011 12:45 am 
Offline
Senior Newbie

Joined: Wed Aug 10, 2011 10:06 pm
Posts: 12
Website: http://helpher.net
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.

_________________
helpher.net


Top
   
 Post subject:
PostPosted: Mon Nov 28, 2011 1:07 am 
Offline
Senior Member

Joined: Wed Jun 08, 2011 11:25 pm
Posts: 51
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.


Top
   
 Post subject:
PostPosted: Mon Nov 28, 2011 10:59 am 
Offline
Senior Newbie

Joined: Wed Aug 10, 2011 10:06 pm
Posts: 12
Website: http://helpher.net
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]

_________________
helpher.net


Top
   
 Post subject:
PostPosted: Mon Nov 28, 2011 11:16 am 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
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.


Top
   
 Post subject:
PostPosted: Mon Nov 28, 2011 11:28 am 
Offline
Senior Newbie

Joined: Wed Aug 10, 2011 10:06 pm
Posts: 12
Website: http://helpher.net
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?

_________________
helpher.net


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group