User Tools

Site Tools


how_to_delete_old_unused_kernels

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
how_to_delete_old_unused_kernels [2022/06/12 09:34] dinohow_to_delete_old_unused_kernels [2024/03/12 21:23] (current) – external edit 127.0.0.1
Line 3: Line 3:
 <code>$ uname -sr <code>$ uname -sr
  
-//Linux 4.12.0-041200-generic//+Linux 4.12.0-041200-generic
 </code> </code>
- 
-//// 
  
 To list all installed kernels on your system, issue this command. To list all installed kernels on your system, issue this command.
  
-<code>$ dpkg -l | grep linux-image | awk '{print$2}'</code>+<code>$ dpkg -l | grep linux-image | awk '{print$2}' 
 + 
 +linux-image-4.12.0-041200-generic 
 +linux-image-4.8.0-22-generic 
 +linux-image-extra-4.8.0-22-generic 
 +linux-image-generic 
 +</code>
  
-//linux-image-4.12.0-041200-generic\\ 
-linux-image-4.8.0-22-generic\\ 
-linux-image-extra-4.8.0-22-generic\\ 
-linux-image-generic// 
  
 Run the commands below to remove a particular linux-image along with its configuration files, then update grub2 configuration, and lastly reboot the system. Run the commands below to remove a particular linux-image along with its configuration files, then update grub2 configuration, and lastly reboot the system.
how_to_delete_old_unused_kernels.1655026455.txt.gz · Last modified: 2024/03/12 21:24 (external edit)