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)...
Access the Ubuntu kernel PPA mainline repository here.
Download the following:
cd into the download directory and run
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 ...
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.
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
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 ...
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
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!
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, ...
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.
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 64 ...
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 ...
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
Each process has an ID. You can force-quit any process ...
It is relatively safe, though problems can always manifest. I recommend using Ukuu to do the upgrade and follow the method listed here:
This allows you to easily roll back to 4.4 if you are experiencing issues.
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).
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 ...
You can install the Ubuntu 18.04 LTS Hardware Enablement (HWE) packages in order to get a newer kernel. I've been using this on my Elementary systems for half a year or so without issues (Elementary 5.0 Juno is built from Ubuntu 18.04).
At time of typing this my main system is using 5.0.0-31-generic.
To enable HWE, type the following command in the ...
According to the announcement blog post:
…if you’re on an existing Juno install and would like or need the improved hardware support, you can install it from Terminal with the following command:
sudo apt install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04
In addition to the three you listed a fourth part of the system also plays an important role. The BIOS.
Each piece of software transitions a computer from power off to a functional system starting from the lowest level and progressing toward the software interface that you interact with. The order of execution is:
BIOS (Basic Input Output System) - This ...
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
I had the same problem and i got to fix it by
*opening the terminal
*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.
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....
No, you don't. (You have as many Linux operating systems, as you have system root directories, which are usually marked with a forward slash, /.) The items in the list are not different operating systems, but different Linux kernel version images, available to your OS.
On how to remove older kernel versions, refer to this post.
For some reason, newer kernel ...
First I'll simplify your question Because Kernel and Bootloader are both parts of the Operating System.
First, let's talk about Kernel: To understand work of kernel I'll assume you've basic knowledge about how computer works I mean How it processes 0 and 1. Because CPU of Computer only understands Binary 0 and 1. I'll assume you know the C language and you'...
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 ...
Removing old kernels:
(I suggest boot to latest kernel)
First list current kernel:
To list all kernels :
dpkg --list | grep linux-image
Now purge old kernels manually,(be sure don't purge current kernel)
sudo apt-get purge linux-image-3.16.0-34 linux-image-3.16.0-46 linux-image-...
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 ...