Hot answers tagged

20

It is always recommended to leave the 2 latest versions of the kernel, but to remove other kernel versions I used the following commands: dpkg -l | fgrep linux-image- Never remove the kernel shown in uname -r or linux-image-generic-lts-utopic. Finally sudo apt-get purge <package names> for the kernels you want to remove (see screenshot for reference)...


16

Access the Ubuntu kernel PPA mainline repository here. Download the following: linux-headers-4.1.0-040100-generic_4.1.0-040100.201506220235_<infrastructure>.deb linux-headers-4.1.0-040100_4.1.0-040100.201506220235_all.deb linux-image-4.1.0-040100-generic_4.1.0-040100.201506220235_<infrastructure>.deb cd into the download directory and run sudo ...


12

You can use this one-liner to automatically clean up all old kernels (make sure to restart the computer before doing this if you have just updated the kernel): sudo apt purge $( dpkg --list | grep -P -o "linux-(headers|image)-\d\S+" | grep -v $(uname -r | grep -P -o ".+\d") ) What it does is uninstall (apt purge) the installed packages (dpkg --list) whose ...


8

From the official elementary blog: If you’re already running Freya, you will already have received all of the above (with the exception of the newly added hardware support) in your regular updates. If you really need kernel 3.19 try: sudo apt-get install linux-generic-lts-vivid


8

System Recovery If you are now unable to boot, press (or tap) Shift while booting (right after BIOS post screen) to show the GRUB menu. You can choose an older kernel to boot into from the recovery options menu item. Install 3.19 Kernel sudo apt-get install linux-generic-lts-vivid The above command will install the backported 3.19 kernel from the LTS ...


8

Now that the Ubuntu 16.04.2 was released, you can safely update to the 4.8 kernel version. It's safe and works without issues. You can use this command: sudo apt-get install --install-recommends xserver-xorg-hwe-16.04


7

You can simply run sudo apt-get autoremove to "remove all unused packages" which includes older kernels. You should test a reboot before to be shure the new kernel works! It is more secure to leave the 2 latest versions as John pointed out in his answer.


7

The kernel should be identical to the Ubuntu 14.04's kernel. elementary is built on on Ubuntu Minimal, so an Ubuntu tutorial should work just fine. That said, a new version of the kernel is coming to Ubuntu 14.04 this month. That upgrade expands hardware support, so it might fix your problem!


7

You can update kernel and mesa without reinstall the system. Enter following command in Terminal: sudo apt-get install --install-recommends linux-generic-lts-vivid xserver-xorg-core-lts-vivid xserver-xorg-lts-vivid xserver-xorg-video-all-lts-vivid xserver-xorg-input-all-lts-vivid libwayland-egl1-mesa-lts-vivid If you run a multiarch desktop (for example, ...


5

Starting from elementary OS Loki, the OS is only available for 64-bit CPUs. So if you downloaded the ISO from the official page, you already have the 64-bit version. Spanish Hola Ruben, desde el lanzamiento de elementary OS Loki, el SO sólo está disponible para arquitecturas de 64 bits. Si descargaste la ISO desde la página oficial, ya tenés la versión de ...


4

Please define "supports" :) I'm writing this on my new Dell Precision 5510 featuring an Intel i7-6820hq (Skylake chipset), running elementaryOS 0.3.2 (Freya). My only kernel related issue has been the lack of out-of-the-box support for the Intel Wireless chipset responsible for wifi and bluetooth, but that was solved by installing a back-ported driver after ...


4

It is relatively safe, though problems can always manifest. I recommend using Ukuu to do the upgrade and follow the method listed here: http://www.makeuseof.com/tag/upgrade-kernel-ukuu-ubuntu/ This allows you to easily roll back to 4.4 if you are experiencing issues.


4

You can remove all Linux 4.4 kernels via: sudo apt remove --purge linux-image-4.4.* However you might want to keep always at least two kernel versions (the running one and a backup in case an upgrade goes wrong).


4

Unfortunately there is no upgrade path between elementary versions. I am not aware of any plans to implement that either.


3

Not sure, if your system freezes completely, or if it's "just" the desktop. In case you are very new to linux and didn't already know: Try switching to a Terminal by pressing CTRL+ALT+F1 or ...+F2 (your desktop should be at ...+F7) From there you can view all active processes using the command ps Each process has an ID. You can force-quit any process ...


3

Run sudo apt-get purge linux-image-4.2.0-30-generic in terminal to remove the new 4.2 kernel.Then reboot WARNING : If you have removed your old kernel using apt-get or synaptic this can result in an unbootable computer


3

I had the same problem and i got to fix it by *opening the terminal *run upgrade *run ¨ sudo apt-get purge xserver-xorg-video-intel * run autoremove and finally reboot it fixed the flickering and now even the wallpaper changes all normal. no glitches anymore.


3

You can always try to upgrade you kernel. However, as there is no 4.9 kernel package in elementary OS, you should understand the risks (as in: your system will not boot any more or there will be driver errors; there is only a very small chance of danger as in actually bricking it). If you are sure to go on with the upgrade, I would start at http://kernel....


3

Please beware of building new kernels as if you don't get all the correct options for your hardware, your computer could stop booting. Though it should be possible to recover. The latest version of elementary now ships with kernal 4.10, so see if that meets your needs before building another. However, if you still want to continue: The apt-get source ...


3

I would recommend using Ukuu: http://www.teejeetech.in/p/ukuu-kernel-upgrade-utility.html


2

I just figured it out... . sudo nvidia-xconfig sudo nano /etc/X11/xorg.conf Add Option "RegistryDwords" "EnableBrightnessControl=1" to the device section. sudo reboot


2

UKUU is a good GUI based tool for managing kernels sudo apt-add-repository -y ppa:teejee2008/ppa sudo apt update sudo apt install ukuu


2

To remove old kernels you can also use synaptic: To install synaptic: sudo apt-get install synaptic Now open synaptic and search for linux-image under installed tab as shown and then Right click on selected old kernel and select mark for complete removal Note: Screenshots are only examples from my system.I already deleted old kernels.Please select old ...


2

Removing old kernels: (I suggest boot to latest kernel) Remove Manually: First list current kernel: uname -r Example output:3.19.0-28-generic To list all kernels : dpkg --list | grep linux-image Now purge old kernels manually,(be sure don't purge current kernel) For example: sudo apt-get purge linux-image-3.16.0-34 linux-image-3.16.0-46 linux-image-...


2

Install synaptic sudo apt-get install synaptic Open synaptic and search for linux-image Now select the one which you don't want to update. Now click on package in menu bar --> click on lock version You have to repeat the same for all the entries in software-updater related to 3.19 You can also use alternative methods mentioned at: How to prevent ...


2

from reading the messages on the kernel mailing list I understand that the data loss only is a problem when using the SSD in a raid0 or raid10 configuration. They have fixed the bug in the kernel, but I can't seem to find in which version the fix was released.


2

NVIDIA drivers were causing the problem. I removed drivers completely with --purge flag and then installed current drivers again and now everything works. Here's how to do this: https://askubuntu.com/questions/41681/blank-screen-after-installing-nvidia-restricted-driver


2

Running the command sudo apt-get install linux-generic-lts-wily will upgrade your Kernel to 4.2, which solved many of my issues with Skylake.


2

Well, thanks to some assistance on the Purism forums I found the answer to this. (Unfortunately, not before paving the OS, returning to PureOS, and wasting a lot of time tearing my hair out.) The solution is extremely straightforward, so much so it made me feel very stupid. Pressing Fn + F1 enables/disables the touchpad on the Purism Librem 13. So at some ...


2

Kernel updates are included through updates to the Ubuntu base. Loki is based on Ubuntu 16.04, which will get updates every 6 months for the next 5 years. (See the Ubuntu releases page for more details). The last release was in July, so I'd expect the next one to arrive in January 2017.


Only top voted, non community-wiki answers of a minimum length are eligible