LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-15-2014, 09:11 PM   #1
5883
Member
 
Registered: Aug 2004
Posts: 173

Rep: Reputation: 0
In a working system, can i upgrade kernel randomly ?


1. is there a check, when i upgrade and stop me if the version doesn't match.

2. can i downgrade kernel version easily ?

3. when i upgrade kernel, most time i don't need to upgrade file system ? in what kind of case i need to upgrade fs as well ?

Many thanks !
 
Old 02-15-2014, 09:52 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,883

Rep: Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191
No.
Yes.
Never - the kernel generally doesn't care about filesystems. There have been exceptions, but extraordinarily rarely.
 
Old 02-15-2014, 10:09 PM   #3
5883
Member
 
Registered: Aug 2004
Posts: 173

Original Poster
Rep: Reputation: 0
Thanks 1st, when happens if i upgraded to a kernel, in case it has a bug and system cannot run properly ?

also if pc lost power in the middle of upgrading ?


Quote:
Originally Posted by syg00 View Post
No.
Yes.
Never - the kernel generally doesn't care about filesystems. There have been exceptions, but extraordinarily rarely.
 
Old 02-15-2014, 10:14 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,883

Rep: Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191Reputation: 2191
In both cases go back to the previous (known working) kernel.
 
Old 02-15-2014, 10:31 PM   #5
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_10{.0|.1|.2}
Posts: 4,482
Blog Entries: 6

Rep: Reputation: 2413Reputation: 2413Reputation: 2413Reputation: 2413Reputation: 2413Reputation: 2413Reputation: 2413Reputation: 2413Reputation: 2413Reputation: 2413Reputation: 2413
Learn about your boot-loader, Grub or Lilo in most cases. The bootloader can boot multiple operating systems and multiple kernels.

The key to never getting stuck with a bad kernel build or other problems is to never overwrite the working boot record with a new untested one! Instead, build the new kernel, add a new boot record for it, and if it fails simply boot back into the working kernel.

Exactly how you set up the boot-loader will likely depend on your distro as well.

And as answered by others, the filesystem is usually irrelevant as long as it is a GNU/Linux filesystem to start with.

Last edited by astrogeek; 02-15-2014 at 10:38 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Fedora 16 Kernel upgrade broke system - kernel panic and unable to boot itsjustarumour Fedora 7 05-15-2012 09:51 AM
Kubuntu: sound system not working after version upgrade Sjonnie48 Ubuntu 3 06-15-2008 01:41 PM
CUPS : printers stoped working after a system upgrade fourat Linux - Software 8 08-01-2006 03:35 PM
Mouse stopped working after system upgrade driptray Linux - General 3 08-21-2004 04:00 AM
Sound not working after kernel upgrade krimson Linux - Software 14 07-09-2004 11:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration