How to make sure I use the latest installed kernel?

Buck Ruck

I've just installed 16.04 and because of repetitive freezes, I searched and found that I may have to change my kernel version. Before that I think I was running on 4.8.0, at least that was what uname -r told me.

So I installed 4.7.0 just in case the other one was too new, but after a couple of checks I'm not sure whether my system really runs on 4.7.0 or it still runs on the older kernel. I followed the instructions at How To Update / Install Linux Kernel 4.7-RC3 On Ubuntu 16.04.

I did run sudo update-grub.

This the what I have in my /boot directory:

$ ls /boot
abi-4.4.0-72-generic                lost+found
abi-4.7.0-040700rc3-generic         memtest86+.bin
abi-4.8.0-36-generic                memtest86+.elf
abi-4.8.0-46-generic                memtest86+_multiboot.bin
config-4.4.0-72-generic             System.map-4.4.0-72-generic
config-4.7.0-040700rc3-generic      System.map-4.7.0-040700rc3-generic
config-4.8.0-36-generic             System.map-4.8.0-36-generic
config-4.8.0-46-generic             System.map-4.8.0-46-generic
efi                                 vmlinuz-4.4.0-72-generic
grub                                vmlinuz-4.7.0-040700rc3-generic
initrd.img-4.4.0-72-generic         vmlinuz-4.8.0-36-generic
initrd.img-4.7.0-040700rc3-generic  vmlinuz-4.8.0-46-generic
initrd.img-4.8.0-36-generic         vmlinuz-4.8.0-46-generic.efi.signed
initrd.img-4.8.0-46-generic

uname -r returns the same thing as before: 4.8.0-46-generic

And this is my cat /proc/version:

Linux version 4.8.0-46-generic (buildd@lcy01-15) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) ) #49~16.04.1-Ubuntu SMP Fri Mar 31 14:51:03 UTC 2017

So my guess is that I did install them but I have to somehow remove the old files. However, I did not want to dive into deleting stuff before asking.

Also, as a side note, do you think it's a good idea at all for me to downgrade my kernel? It's just that I've tried everything and my machine keeps freezing.

heynnema

You're going down the entirely wrong path.

If you're running 16.04.2 you were already running on kernel 4.8. You downgraded to kernel 4.7rc3! (rc3 means release candidate 3... if you're going to another kernel, at least pick a final release). It's still booting the 4.8 kernel because you haven't either chosen the 4.7 kernel boot in GRUB, or removed the 4.8 kernel and updated GRUB. Better to purge the 4.7 kernel that you installed.

Also, you need to do a fsck on your system disk, 'cause it looks like you've got some disk corruption... or a failing hard disk drive... probably the REAL reason why you're freezing.

To check the file system on your Ubuntu partition...

  • boot to the GRUB menu
  • choose Advanced Options
  • choose Recovery mode
  • choose Root access
  • at the # prompt, type sudo fsck -f /
  • repeat the fsck command if there were errors
  • type reboot

Also, you should use the Disks application to check the SMART data in your hard disk, looking for failure data. You can also run the SMART tests there.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to make sure that I use the latest version of bash?

From Dev

How to make sure that gcc, binutils, make and the kernel source are installed?

From Dev

How do I make sure a Wi-Fi driver (installed as kernel object) still runs after a kernel upgrade?

From Dev

How do I make sure I am using the latest java libraries in my projects?

From Dev

How to make sure I stay on Linux kernel version 3.13 (Ubuntu 14.04)?

From Dev

How can I use OpenCL kernel to make accumulator?

From Dev

Issue on booting from rEFInd using USB -- make sure you have the latest firmware update installed

From Dev

How to make sure that Qt5.4.2 is installed properly

From Dev

How to make sure that not everyone can use the ItemTouchHelper?

From Dev

How can I make sure that Firefox doesn't use my GTK theme in the non-chrome part?

From Dev

How do I add use the make installed using homebrew instead of the macOS included make?

From Dev

Is there a clear command to show the latest installed kernel on the system?

From Dev

How to force Apache use the latest installed PHP version

From Dev

Java 8 - Can I use lambda to make sure field is not in list?

From Dev

How do I upgrade my kernel in CentOS 6 to the latest version?

From Dev

How can I find the latest stable kernel for Ubuntu?

From Dev

How do I update to the latest mainline kernel on a server?

From Dev

How do I make a Docker hub use the same image for "latest" and "vX.Y"?

From Dev

Bison latest version installed but not in use

From Dev

How do I make Openshift to use Express 4, instead of its installed Express 3?

From Dev

How to write a Saltstack state script, before update latest git repo, make sure the repo destination is cleanup?

From Dev

How to write a Saltstack state script, before update latest git repo, make sure the repo destination is cleanup?

From Dev

How to make sure that certain devices always use the same device file?

From Dev

How to make sure that installed Windows 7 OS is genuine, when buying used laptop?

From Dev

When upgrading an rpm previously installed with prefixes, how to make sure the same prefixes are used?

From Dev

How do I make sure grunt only selects files (not folders)?

From Dev

How can I make sure AuthName works in all browsers?

From Dev

how do i make sure the field is not filled in with empty spaces only?

From Dev

How do i make sure that a div reserves the remaining horizontal space?

Related Related

  1. 1

    How to make sure that I use the latest version of bash?

  2. 2

    How to make sure that gcc, binutils, make and the kernel source are installed?

  3. 3

    How do I make sure a Wi-Fi driver (installed as kernel object) still runs after a kernel upgrade?

  4. 4

    How do I make sure I am using the latest java libraries in my projects?

  5. 5

    How to make sure I stay on Linux kernel version 3.13 (Ubuntu 14.04)?

  6. 6

    How can I use OpenCL kernel to make accumulator?

  7. 7

    Issue on booting from rEFInd using USB -- make sure you have the latest firmware update installed

  8. 8

    How to make sure that Qt5.4.2 is installed properly

  9. 9

    How to make sure that not everyone can use the ItemTouchHelper?

  10. 10

    How can I make sure that Firefox doesn't use my GTK theme in the non-chrome part?

  11. 11

    How do I add use the make installed using homebrew instead of the macOS included make?

  12. 12

    Is there a clear command to show the latest installed kernel on the system?

  13. 13

    How to force Apache use the latest installed PHP version

  14. 14

    Java 8 - Can I use lambda to make sure field is not in list?

  15. 15

    How do I upgrade my kernel in CentOS 6 to the latest version?

  16. 16

    How can I find the latest stable kernel for Ubuntu?

  17. 17

    How do I update to the latest mainline kernel on a server?

  18. 18

    How do I make a Docker hub use the same image for "latest" and "vX.Y"?

  19. 19

    Bison latest version installed but not in use

  20. 20

    How do I make Openshift to use Express 4, instead of its installed Express 3?

  21. 21

    How to write a Saltstack state script, before update latest git repo, make sure the repo destination is cleanup?

  22. 22

    How to write a Saltstack state script, before update latest git repo, make sure the repo destination is cleanup?

  23. 23

    How to make sure that certain devices always use the same device file?

  24. 24

    How to make sure that installed Windows 7 OS is genuine, when buying used laptop?

  25. 25

    When upgrading an rpm previously installed with prefixes, how to make sure the same prefixes are used?

  26. 26

    How do I make sure grunt only selects files (not folders)?

  27. 27

    How can I make sure AuthName works in all browsers?

  28. 28

    how do i make sure the field is not filled in with empty spaces only?

  29. 29

    How do i make sure that a div reserves the remaining horizontal space?

HotTag

Archive