LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-14-2014, 08:33 AM   #1
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829

Rep: Reputation: 229Reputation: 229Reputation: 229
How to update from kernel 3.2 to 3.12? for SSD?


Debian 7.3 Wheezy stable, kernel 3.2.
Intel 64bit cpu
Samsung 256 GB SSD

Hey guys,

How do I update to a newer Kernel without breaking my system? I think I need to to add backports to repo file (I know how to edit files),but I dont know what i need to add in repo file or if I need to create a new repo file for this.

https://wiki.debian.org/HowToUpgradeKernel

Also, what Kernel should i get for my SSD? there are so many:
http://packages.debian.org/source/wh...ackports/linux
I know I need the amd64 obviously but there are some that say btrfs, cdrom core, ata modules, etc.. I dont know which one I'm supposed to use?

Not sure if this matters or not, but I am using a discreet Nvidia card with driver from Nvidia.

Any help will be greatly appreciated. Please let me know if you need any info from me.

Thank you.

PS, The reason I am wanting to upgrade kernel is because a linux sys admin friend of mine told me that I should upgrade the kernel for security reasons. Other than that my system is working fine and I am very happy with Debian. But I am no expert, so what I think of "fine" may not actually be fine in the eyes of a pro.

Thanks guys.

Last edited by erik2282; 01-14-2014 at 08:39 AM. Reason: adding info
 
Old 01-14-2014, 09:13 AM   #2
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
Quote:
Originally Posted by erik2282 View Post
...PS, The reason I am wanting to upgrade kernel is because a linux sys admin friend of mine told me that I should upgrade the kernel for security reasons. Other than that my system is working fine and I am very happy with Debian. But I am no expert, so what I think of "fine" may not actually be fine in the eyes of a pro...
If someone tells you that your computer can go on blaze because it is an electrical device, would you keep a fire extinguisher beside it just because someone said so?

Now lets be more technical about it, "security reasons", in what kind of environment, is it a critical? What kind of workload? Does it have public exposure lets say like the forum here?

"Other than that my system is working fine and I am very happy with Debian." Debian is known to be secure and rock solid because it works with stable and secure versions of software. As you said, it is working fine, now unless you want to learn more about kernel and want to have a newer kernel just to get the experience of doing it, then that is something else and that is great.

If that is the case then start here then also check this!

One important hint, do not remove the stock kernel after installing any other, keep it in place because if the new kernel doesn't boot and there is no other kernel to get the machine to work...well you probably got the picture. Besides that it would be better to do such experiments in a virtual machine where there is no danger in harming the system, keep a clone of the virtual hard drive so you don't need to reinstall in case system is trashed.

Regards
 
Old 01-14-2014, 09:47 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by erik2282 View Post
PS, The reason I am wanting to upgrade kernel is because a linux sys admin friend of mine told me that I should upgrade the kernel for security reasons.
If there is a security problem with your kernel you can be sure that the Debian developers fix it, as soon as it becomes known. There is no reason for you to upgrade to a newer version.

Last edited by TobiSGD; 01-14-2014 at 10:17 AM. Reason: fixed typos
 
Old 01-14-2014, 09:59 AM   #4
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,124
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
I use the default kernel with an SSD. No issues that I'm aware of.
 
Old 01-14-2014, 10:14 AM   #5
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829

Original Poster
Rep: Reputation: 229Reputation: 229Reputation: 229
Quote:
what kind of environment, is it a critical? What kind of workload? Does it have public exposure lets say like the forum here?
it is just my home PC, not critical, avg home use work load, no public exposure.

Thank you for the comments. I am in a learning Linux mode, but dont want to do any big changes to this OS as it is my everyday-use computer and do not want to risk breaking it as I have done in the past with other distros when I was a super-noob.

Quote:
If there is a security problem with your kernel you can be sure that the Debian developers fix it, as soon as it becomes known. There is know reason for you to upgrade to a newer version.
I don't know what he meant by "security reasons". I guess then I will stay with what I have for now. I care much more for stability than cutting edge and am happy with my system, everything works.

thank you guys
 
1 members found this post helpful.
Old 01-14-2014, 10:35 AM   #6
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,110
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
If just a tinkerer Texan like me.

Not afeared of breaking anything while taking a journey. To learn new things or see new sights.
Like mentioned before. 1st keep a good working booting kernel in your menu list.

Uninstall new kernel if no sound, overheating, whatever.

I run SMXI which is not Debian Purist standards, but I am a bit
adventurous. I play with Sid and Liqourix Kernels. But I am a bear in a china cabinet Texas Bikerlinux user. Just a example to show what I am posting with

Code:
$ uname -a
Linux biker 3.12.0-7-exton #15 SMP Mon Dec 9 10:23:02 CET 2013 x86_64 x86_64 x86_64 GNU/Linux
On some of my older gear. I run a older kernel because of kernel regression (dropped ko support for older chipsets). I guess ya got some studying to do first before risking anything for the fun of it.

Happy Trails, Rok

Edit: I should have mentioned I don't run stable anything. Debian testing or Unstable is my drink of choice.

Last edited by rokytnji; 01-14-2014 at 10:41 AM.
 
Old 01-14-2014, 11:08 AM   #7
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829

Original Poster
Rep: Reputation: 229Reputation: 229Reputation: 229
Rok, that sounds really awesome. I will be creating some VM's with various distros in the near future to play around with and learn. Thanks for the comment!
 
Old 01-14-2014, 02:29 PM   #8
gnudude
Member
 
Registered: Apr 2009
Posts: 46

Rep: Reputation: 28
https://wiki.debian.org/Backports
 
Old 01-14-2014, 03:37 PM   #9
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
There may be some advantages of a newer kernel. Going to 3.12 in Wheezy sounds somewhat radical however.

As a serial multi booter (probably need some 12 step program for this) I would suggest you dual boot something with your current install for this sort of experimentation.

You can do that easily and you don't need a lot of room.

You can even, assuming your are installed with a / and /home partition with your Wheezy install, share the /home with another install. You HAVE to use a different user name for the other OS. This makes it so you have a /home/<user name> directory for each install. This is critical because you need separate ~/.foo files (the "hidden" user config files).

Doing it that way you could install Debian testing or Sid (or any Linux distro) on a small (5GB) / and give it a shot. They are both using 3.12.

If you want to do a completely separate install it will still need only 15 or 20GB.

Either way you could either install another Wheezy and add the kernel or install something running the kernel you want.

As far as Debian is concerned, when you use the backports repo, or any other repo not included in the original install, you are not really running Debian stable. I use Sid with testing as my backup. I have an install of Wheezy, with contrib and non-free repos enabled, on another drive. It is possible that I will break Sid and testing (I had to use Squeeze for a whole week during the time Wheezy was testing because of idiotically breaking both testing and Sid) and I want a stable install to fall back on.

If you are happy with the performance of Wheezy I would leave the bugger alone. If you want to play, have FUN and learn something with a more "interesting" install, dual boot.

Linux is intoxicating to a new, or even older, user just because of the ability to mess with it. And I think you should mess with it. We started using Linux with Ubuntu 8.04. I broke the thing, playing with all my new power to "improve" things, with no real idea what I was doing, five times in the first 7 days. My wife was not amused. Seems to think you should be able to USE the computer. One that seventh day, I reinstalled once again as any good Windows user would, but also did a second install.

I didn't do a thing to the new main install without trying it first on that second, throw away, install. My current Wheezy install is actually still using the /home partition from that "real" install of 8.04.

With a second install you are completely freed of any need for that install to work. You can break it and have no presure on you to fix it. So you can attempt to fix it. You can do that with Linux. You can learn to do things from the tty prompt that you get with the thing won't boot to the desktop. You can learn to chroot from your stable installation if it won't boot at all.

Bsically you can learn without fear of messing with your "real" installation because you won't be messing with your real install. Simple as that. Safe and FUN.

You can also try some of the cockamayme things recommended in blogs on that throw away install. Most are bad ideas. A few aren't. Why find out which is which on your real install. This gives you, very quickly, the knowledge you need to spot idiots.

Particularly if you are a gamer the Liquorix kernel is great. Guy does a nice job. I don't game but run boinc (distributed computing application that uses a lot of resources and the Liquorix kernel handles in nicely). I am not running it currently but certainly think it is something folks should consider. I do not recommend it for Debian stable and the Liquorix guy doesn't either. I know people that do use it on Wheezy though. It is built with Sid as the target OS.
 
  


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
LXer: Linus Torvald's SSD breaks, halts Linux kernel development LXer Syndicated Linux News 0 09-13-2013 09:40 AM
LXer: SSD Failure Temporarily Halts Linux 3.12 Kernel Work LXer Syndicated Linux News 8 09-12-2013 07:02 AM
LXer: HDD & SSD File-System Benchmarks On Linux 3.9 Kernel LXer Syndicated Linux News 1 03-21-2013 08:37 AM
SSD raid1 vs SSD raid10 advice ? wonker Linux - Hardware 8 05-23-2012 01:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:05 AM.

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