LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 01-04-2010, 09:00 AM   #1
skola
Member
 
Registered: Nov 2009
Posts: 66

Rep: Reputation: 19
Update kernel with system encryption, issues?


Where there is a system encrypted setup, i.e. a seperate /boot and the remainder under an encrypted LVM _or_ ordinary luks, what issues or steps need to be addressed when doing a kernel update?

That is, the distro packager finds an updated kernel for the installation.

Some distros use an 'initrd'/'initramfs' for the initial bootstrap, so would it just be the case of manually using the tool(s) to re-build those?

Would some distros do this automatically?

I know I've kept this distro-neutral but I'd like to know what general hints there are with this, thanks.
 
Old 01-04-2010, 09:11 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
It is all automatic... if you use the package manager in *buntu, Fedora, Debian, Sabayon, Mandriva, OpenSuse, Mint ...or any other distro
 
Old 01-04-2010, 02:38 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
If you're updating your kernel from the distribution, definitely no additional actions.

If you're updating on your own, IMO there shouldn't be any, either.
 
Old 01-04-2010, 06:20 PM   #4
skola
Member
 
Registered: Nov 2009
Posts: 66

Original Poster
Rep: Reputation: 19
ok thanks both
 
Old 01-04-2010, 07:51 PM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,642
Blog Entries: 4

Rep: Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933
Let me put it a little bit more drastically: do not seek to "update the kernel" apart from the published package-updates provided by your chosen distro. Determine what paths are made available to you by the distro, and choose one. Do not deviate in any way from their proscribed paths.
 
Old 01-07-2010, 07:21 AM   #6
skola
Member
 
Registered: Nov 2009
Posts: 66

Original Poster
Rep: Reputation: 19
Hi, about:

sundialsvcs "Let me put it a little bit more drastically: do not seek to "update the kernel" apart from the published package-updates provided by your chosen distro. Determine what paths are made available to you by the distro, and choose one. Do not deviate in any way from their proscribed paths."

I was going to post a new thread about a different update query that did _not_ involve encryption, so in light of your "drastic"...

If a distro moves onto the next major version and no longer provides updates particularly for the kernel, what can one do if one wants to keep the older version for a while but some programs or feature or security needs a later kernel?

I know it might depend on the actual distro but what about getting the kernel source from the repo of the newer version?

I ask that because the distros tweak the code relevant to their own M.O. (modus operandi) and yes I know about libraries, but there would still be underlying specifics wrt the older version I imagine.


I take from your post that just getting a fresh recent kernel source from kernel.org is a no-no
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Read-only System when update kernel from 2.6.30-r6 to 2.6.31 Danial_Feng Linux - Kernel 1 09-26-2009 08:47 PM
How does a Linux system update it's kernel? DEF. Programming 6 05-26-2009 05:02 PM
Update System Issues agls Linux - Newbie 3 09-21-2008 07:36 AM
Kernel Module issues with ELF after kernel update drumvudu SUSE / openSUSE 2 01-02-2007 12:54 PM
Kernel Update issues soulxcavtor Linux - Software 7 06-03-2006 02:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 10:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration