How to update your kernel for Meltdown and Spectre

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
User avatar
Termy
Level 5
Level 5
Posts: 746
Joined: Mon Sep 04, 2017 8:49 pm
Location: UK
Contact:

Re: How to update your kernel for Meltdown

Post by Termy » Mon Jan 15, 2018 3:33 pm

Oh wow, no 4.8 or 4.13, and I'm seeing 3-series kernels. 'o.O Which version of Mint are you on? Perhaps you're on an older version. I have a virtual machine with Mint 18.3 and just checked it, I got the same as i did on my Ubuntu setup.
Here to help.

I'm LearnLinux (LL) on YouTube: https://www.youtube.com/channel/UCfp-lN ... naEE6NtDSg
I'm also terminalforlife (TFL) on GitHub: https://github.com/terminalforlife

br1anstorm
Level 3
Level 3
Posts: 165
Joined: Mon Nov 24, 2014 8:53 am

Re: How to update your kernel for Meltdown

Post by br1anstorm » Mon Jan 15, 2018 3:57 pm

michael louwe wrote:@ br1anstorm, .......
......
Whether you choose kernel 3.13.139 or 4.4.109 mainly depends on the age of your computer. In general, newer kernels are compatible with newer hardware, and vice versa.

Eg a 2008-released Intel Core2Duo processor should be running kernel 3.13 and LM 17.x, and not kernel 4.4. Whereas, this link ... viewtopic.php?f=46&t=261751 says Intel 6th-gen Skylake processor should not be running kernel 4.4.
Thanks Michael - I was unaware of that 'hardware' aspect. In my case, I have Mint 17.3 'Rosa' 64-bit installed on a Samsung RF511 laptop (about 5 years old?) with an Intel Core i5-2450M processor. I suppose this means I should be looking at the 4.4 kernel as an upgrade from my current 3.19 one?

Cosmo.
Level 23
Level 23
Posts: 17830
Joined: Sat Dec 06, 2014 7:34 am

Re: How to update your kernel for Meltdown

Post by Cosmo. » Mon Jan 15, 2018 4:28 pm

@Spearmint2: a code block would be really nice.

User avatar
michael louwe
Level 8
Level 8
Posts: 2142
Joined: Sun Sep 11, 2016 11:18 pm

Re: How to update your kernel for Meltdown

Post by michael louwe » Mon Jan 15, 2018 4:30 pm

@ br1anstorm, .......
br1anstorm wrote:...
.
Likely, yes.

Cosmo.
Level 23
Level 23
Posts: 17830
Joined: Sat Dec 06, 2014 7:34 am

Re: How to update your kernel for Meltdown

Post by Cosmo. » Mon Jan 15, 2018 4:32 pm

curtvaughan wrote:4.13.0-26-29 breaks Virtualbox
Not really. Kernel 4.13 breaks the long outdated VB version 5.0.x. This is known and documented. VB 5.1.x and 5.2.x work, as a number of users, which I advised to update their museum piece, reported.

smurphos
Level 5
Level 5
Posts: 629
Joined: Fri Sep 05, 2014 12:18 am

Re: How to update your kernel for Meltdown

Post by smurphos » Mon Jan 15, 2018 4:44 pm

br1anstorm wrote:
michael louwe wrote:@ br1anstorm, .......
......
Whether you choose kernel 3.13.139 or 4.4.109 mainly depends on the age of your computer. In general, newer kernels are compatible with newer hardware, and vice versa.

Eg a 2008-released Intel Core2Duo processor should be running kernel 3.13 and LM 17.x, and not kernel 4.4. Whereas, this link ... viewtopic.php?f=46&t=261751 says Intel 6th-gen Skylake processor should not be running kernel 4.4.
Thanks Michael - I was unaware of that 'hardware' aspect. In my case, I have Mint 17.3 'Rosa' 64-bit installed on a Samsung RF511 laptop (about 5 years old?) with an Intel Core i5-2450M processor. I suppose this means I should be looking at the 4.4 kernel as an upgrade from my current 3.19 one?
For the record my two machines one with a Sandybridge Intel Core i5-2430M (2011) with integrated Intel Gfx and another with an Intel Core2 T5500 (2007) again with integrated Intel Gfx have both run fine on 4.4, 4.8, 4.10 and 4.13 kernels. I intend to upgrade both to Mint 19 to get at least another 5 years out of them both so keeping fingers crossed that 4.15 works on both.

curtvaughan
Level 3
Level 3
Posts: 150
Joined: Sun Dec 21, 2014 5:54 pm
Location: Austin, Tx

Re: How to update your kernel for Meltdown

Post by curtvaughan » Mon Jan 15, 2018 9:56 pm

Cosmo. wrote:
curtvaughan wrote:4.13.0-26-29 breaks Virtualbox
Not really. Kernel 4.13 breaks the long outdated VB version 5.0.x. This is known and documented. VB 5.1.x and 5.2.x work, as a number of users, which I advised to update their museum piece, reported.
Couple of things, not necessarily but possibly related. I put up the software manager on my XPS 13 with I7 7th gen, which will not update the kernel via UKUU to 4.14, and select the non-"ancient" versions of Vbox - 5.1 and 5.2. They are both greyed out for installation - as in "not available". I get on my HP Omen laptop with I7 6th gen, which allowed UKUU to update to kernel 4.14.13, and I can install either 5.1 or 5.2. So, the Dell XPS 13 360, hardly a "museum piece", which ran the museum vintage Vbox 5.0.x just fine on kernel 4.10.x, can neither install kernel 4.14.x, nor can it install non-museum vintages of Vbox. That must be my fault, as a lover of old crap. I thank you, Cosmo, for your support. In the meantime, SA-00086 is a curse to my machines, and none of the patches, kernel or BIOS, have so far made me confident in being immune to Intel's snafu. BTW, both the Dell and the HP are running Linuxmint 18.3 Cinnamon.
Move from rim to hub: know the wheel.

Image

blueredgreen
Level 2
Level 2
Posts: 79
Joined: Sun Jun 17, 2012 12:14 am

Re: How to update your kernel for Meltdown

Post by blueredgreen » Mon Jan 15, 2018 10:13 pm

Kernel update to 3.13.0-139 is not loading on 17.1 mate.

This kernel update appeared in my update manager even though I did not have levels 4 & 5 enabled, so I waited a few days and then installed it from update manager.
Old kernel was 3.16.0-157

The package manager shows both kernels installed but my grub version 2.02~beta2-9ubuntu1.14 only shows 3.16.0-157

In the update manager - view - linux kernels 3.16.0-57 shows as loaded and installed but the 3.13.0-139 kernel is not listed - the 3.13 kernel list stops at 3.13.0-98

Any help appreciated
Image

MrEen
Level 5
Level 5
Posts: 596
Joined: Mon Jun 12, 2017 8:39 pm

Re: How to update your kernel for Meltdown

Post by MrEen » Mon Jan 15, 2018 10:20 pm

blueredgreen wrote:Kernel update to 3.13.0-139 is not loading on 17.1 mate.

This kernel update appeared in my update manager even though I did not have levels 4 & 5 enabled, so I waited a few days and then installed it from update manager.
Old kernel was 3.16.0-157

The package manager shows both kernels installed but my grub version 2.02~beta2-9ubuntu1.14 only shows 3.16.0-157

In the update manager - view - linux kernels 3.16.0-57 shows as loaded and installed but the 3.13.0-139 kernel is not listed - the 3.13 kernel list stops at 3.13.0-98

Any help appreciated
Look up instead of down. 0-129 will come BEFORE 0-98

blueredgreen
Level 2
Level 2
Posts: 79
Joined: Sun Jun 17, 2012 12:14 am

Re: How to update your kernel for Meltdown

Post by blueredgreen » Mon Jan 15, 2018 11:04 pm

"Look up instead of down. 0-129 will come BEFORE 0-98"

That was easy, thanks, it shows on grub under previous linux versions, would be nice if it was first on list so it would be the default boot, I guess I will make sure new kernel works fine and then remove the old one from update manager so new kernel shows on top ... unless there is a better way.
Image

piroska
Level 1
Level 1
Posts: 29
Joined: Mon Jan 01, 2018 7:48 pm

Re: How to update your kernel for Meltdown

Post by piroska » Tue Jan 16, 2018 3:22 am

So...being a noob, if I do this and get an issue where it isn't booting.....exactly how do I get Timeshift to restore? I go into the CD I'm guessing? Can I then run timeshift? I'd just tell it to do a restore? Is that it?
Or something more?

User avatar
Spearmint2
Level 15
Level 15
Posts: 5613
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: How to update your kernel for Meltdown

Post by Spearmint2 » Tue Jan 16, 2018 3:52 am

piroska wrote:So...being a noob, if I do this and get an issue where it isn't booting.....exactly how do I get Timeshift to restore? I go into the CD I'm guessing? Can I then run timeshift? I'd just tell it to do a restore? Is that it?
Or something more?
No need to restore, just boot to the old kernel. It will still be available from the grub menu, in Advanced or Previous Versions.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

piroska
Level 1
Level 1
Posts: 29
Joined: Mon Jan 01, 2018 7:48 pm

Re: How to update your kernel for Meltdown

Post by piroska » Tue Jan 16, 2018 5:47 am

That means nothing to me:
No need to restore, just boot to the old kernel. It will still be available from the grub menu, in Advanced or Previous Versions.

IS this the thing when I boot? I have no advanced or previous thing there at all.
So, I'd then have one?


Actually, mainly I ask because the situation is this:

sda1 is boot. In fact it complains.
Partition 1 does not start on physical sector boundary.

/home/me is on sda2.

This irritates me. I want them both on sda1 and nothing on sda2.

So I can I do this without a starting over?
I wipe it, reinstall ignoring the second partition totally, then run timeshift and all my personalisation comes back?
Or not because of the way it's structured now?

Anoep
Level 1
Level 1
Posts: 19
Joined: Sat Jan 13, 2018 7:56 am

Re: How to update your kernel for Meltdown

Post by Anoep » Tue Jan 16, 2018 5:58 am

xenopeek wrote:Linux Mint 18.2 shipped with 4.8 kernel. 18.3 shipped with 4.10 kernel. Hence I suggest to upgrade to 4.13 and not downgrade.

These are the hwe kernels from Ubuntu and Update Manager provides you with the new hwe kernel once your current hwe kernel goes out of support. For 4.8 that happened in August 2017. For 4.10 that will happen in February 2018. Ultimo August 2018 the hwe kernel will upgrade to 4.15. 4.4 and 4.15 will be supported for the remainder of the lifetime of the release. See https://wiki.ubuntu.com/Kernel/LTSEnabl ... el_Support
hello xenopeek

is this correct you said above? i have checked my Mint 18.3 install and i noticed that i have 4.13.0-26 kernel already. do i need to update my kernel?

Cosmo.
Level 23
Level 23
Posts: 17830
Joined: Sat Dec 06, 2014 7:34 am

Re: How to update your kernel for Meltdown

Post by Cosmo. » Tue Jan 16, 2018 6:06 am

piroska wrote:sda1 is boot. In fact it complains.
Partition 1 does not start on physical sector boundary.
This sounds like y problem with your partition table, very most likely not related to an update (also not to a kernel) and it means, that you have to create a new partition table at first. This is destructive, nothing on your drive will survive this action, so back up at first. This can be done from the live system.
piroska wrote:/home/me is on sda2.
The Linux Mint installer does not do this on its own, you must have done it yourself.
piroska wrote:I wipe it, reinstall ignoring the second partition totally, then run timeshift and all my personalisation comes back?
This depends, what you mean with personalization. Most users mean with this term the settings in the system and in applications, which they do as user. These are in your home and this has nothing to do with TimeShift.

If you have more questions regarding that create a new thread. This is not related to this topic.

User avatar
Spearmint2
Level 15
Level 15
Posts: 5613
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: How to update your kernel for Meltdown

Post by Spearmint2 » Tue Jan 16, 2018 6:49 am

sda1 is boot. In fact it complains.
Partition 1 does not start on physical sector boundary.
You may have an Advanced 4K Format drive. Those have 512b logical sectors which are actually 4096b in size. For full speed and full use of the drive, they need to be set to start on the proper sector. Typically starting at a 1MB setoff will work OK, but starting at 0 or 63 sector doesn't seem to, and that error msg results.

https://www.seagate.com/tech-insights/a ... master-ti/
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

piroska
Level 1
Level 1
Posts: 29
Joined: Mon Jan 01, 2018 7:48 pm

Re: How to update your kernel for Meltdown

Post by piroska » Tue Jan 16, 2018 2:57 pm

So I'll rephrase it.

I want something that will allow me to wipe the install, re-do it so it's on sda1 properly, then restore my personal o/s.

Like an image you do with C: and windows.

SO I don't have to re-do everything from scratch.

Timeshift, I ticked the bit that said backup /home/me as well, which is what I thought is half the point.

I also downloaded systemback in case that is better....

User avatar
Moem
Level 15
Level 15
Posts: 5630
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: How to update your kernel for Meltdown

Post by Moem » Tue Jan 16, 2018 4:36 pm

piroska wrote:I want something that will allow me to wipe the install, re-do it so it's on sda1 properly, then restore my personal o/s.
That question is off topic in this thread. Please stick to your own thread about this question.
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

ZakGordon
Level 4
Level 4
Posts: 226
Joined: Thu Feb 12, 2015 11:07 am

Re: How to update your kernel for Meltdown

Post by ZakGordon » Wed Jan 17, 2018 6:10 am

An Acer Travelmate 5730 (Intel Centrino) running Mint 17.1 32bit, all running well and correct after update from kernel 3.13.0-100 to 4.4.0-109.

Thanks for the guide Xenopeek.

ravenise
Level 1
Level 1
Posts: 5
Joined: Wed Nov 14, 2012 7:17 am

Re: How to update your kernel for Meltdown

Post by ravenise » Thu Jan 18, 2018 12:39 pm

I successfully booted into the new 3.13.0-139 kernel; however when I try to uninstall the previous kernel (3.19-0-32) in synaptic package manager, mint installer, or terminal, I get "To be installed" kernel 4.4.0-109... I'm assuming mint will automatically boot into this newer kernel; how do I get around this so mint will automatically boot into kernel 3.13??

Post Reply

Return to “Newbie Questions”