translator
1,001
edits
(Template used) |
(Templates inserted) |
||
Line 117: | Line 117: | ||
<!--T:35--> | <!--T:35--> | ||
1. '''To remove a kernel''' use the following syntax: | 1. '''To remove a kernel''' use the following syntax: | ||
sudo mhwd-kernel -r linux[version] | |||
Line 124: | Line 124: | ||
<!--T:37--> | <!--T:37--> | ||
sudo mhwd-kernel -r linux50 | {{UserCmd|command=sudo mhwd-kernel -r linux50}} | ||
Line 134: | Line 134: | ||
<!--T:39--> | <!--T:39--> | ||
For example, to delete the headers of kernel version 5.0.x from the system, the following command would be entered: | For example, to delete the headers of kernel version 5.0.x from the system, the following command would be entered: | ||
sudo pacman -R linux50-headers | {{UserCmd|command=sudo pacman -R linux50-headers}} | ||
Line 144: | Line 144: | ||
<!--T:41--> | <!--T:41--> | ||
For example, to delete the extra modules of kernel version 5.0.x from the system, the following command would be entered: | For example, to delete the extra modules of kernel version 5.0.x from the system, the following command would be entered: | ||
sudo pacman -R linux50-extramodules | {{UserCmd|command=sudo pacman -R linux50-extramodules}} | ||
Line 154: | Line 154: | ||
<!--T:43--> | <!--T:43--> | ||
For example, to completely remove all elements of kernel version 5.0.x, the following command would be entered: | For example, to completely remove all elements of kernel version 5.0.x, the following command would be entered: | ||
sudo pacman -R linux50 linux50-headers linux50-extramodules | {{UserCmd|command=sudo pacman -R linux50 linux50-headers linux50-extramodules}} | ||
<!--T:44--> | <!--T:44--> | ||
Please note however, that attempting to delete multiple elements at once if they are not present on your system will result in an error message before the operation itself is aborted. It is also worthwhile noting if Manjaro is being run in a virtual machine (e.g. Oracle Virtualbox), you may not be able to delete certain kernels if they contain elements important to the virtualisation process itself. | Please note however, that attempting to delete multiple elements at once if they are not present on your system will result in an error message before the operation itself is aborted. It is also worthwhile noting if Manjaro is being run in a virtual machine (e.g. Oracle Virtualbox), you may not be able to delete certain kernels if they contain elements important to the virtualisation process itself. | ||
== Don't forget the mhwd-kernel -h command == <!--T:45--> | == Don't forget the mhwd-kernel -h command == <!--T:45--> |