Difference between revisions of "Manjaro Kernels"

first changes
imported>Richard
imported>Excalibur1234
(first changes)
Line 6: Line 6:




= Identifying the Kernel Being Used =
= GUI Tool =
 
 
 
 
= Terminal Commands =
 
Instead of using the Manjaro Settings Manager GUI to identify, choose, add, and remove kernels everything can be achieved from a terminal as well.
 
 
== Identifying the Kernel Being Used ==


If the existing Kernel being run in Manjaro is not immediately apparent (i.e. through the pre-installed ''Conky'' display on your desktop), then it can be shown by opening the terminal and then entering the following command:
If the existing Kernel being run in Manjaro is not immediately apparent (i.e. through the pre-installed ''Conky'' display on your desktop), then it can be shown by opening the terminal and then entering the following command:
Line 29: Line 39:
* MANJARO indicates the specific distribution it is used for
* MANJARO indicates the specific distribution it is used for


= Adding New Kernels =
== Adding New Kernels ==


{{tip| '''mhwd-kernel will automatically update a newly installed kernel with any modules currently used in your existing kernel'''. For example, if you were to update from kernel 3.10 to 3.13, mhwd-kernel would automatically update 3.13 with any and all modules present in 3.10. How about that!}}
{{tip| '''mhwd-kernel will automatically update a newly installed kernel with any modules currently used in your existing kernel'''. For example, if you were to update from kernel 3.10 to 3.13, mhwd-kernel would automatically update 3.13 with any and all modules present in 3.10. How about that!}}
Line 55: Line 65:
Either way, Manjaro will automatically configure the new kernel for you, ready for immediate use. Once completed, close the terminal and re-boot the system for the change to take effect.
Either way, Manjaro will automatically configure the new kernel for you, ready for immediate use. Once completed, close the terminal and re-boot the system for the change to take effect.


= Removing Kernels =
== Removing Kernels ==


{{warning|DO NOT attempt to delete an existing kernel while it is actually being used by Manjaro at the time. You can first identify what kernel is running on your system by using the command '''mhwd-kernel -li''' in the terminal (see above).}}
{{warning|DO NOT attempt to delete an existing kernel while it is actually being used by Manjaro at the time. You can first identify what kernel is running on your system by using the command '''mhwd-kernel -li''' in the terminal (see above).}}
Line 102: Line 112:
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.


= Selecting Kernels =
[[file:kernel_select.png|thumb|left|375px]]
All available kernels installed on your system will be presented upon booting up. As illustrated, this includes backup copies of each kernel version installed (which will also be automatically removed if or when a kernel version is deleted). To select a kernel, simply use the arrow keys to highlight the desired version, and then press <enter>.
Where a selection is not made, Manjaro will usually automatically select a kernel version after waiting five seconds for a key entry. The version automatically selected will usually be the one used previously.
<br clear="all" />


= Don't forget the mhwd-kernel -h command =
== Don't forget the mhwd-kernel -h command ==


As with most Linux commands that can be entered into the Terminal, typing the command followed by either '''-h''' or '''--help''' will print out the usage & available options to the Terminal for your reference. Here is the output of the '''mhwd-kernel -h''' command:
As with most Linux commands that can be entered into the Terminal, typing the command followed by either '''-h''' or '''--help''' will print out the usage & available options to the Terminal for your reference. Here is the output of the '''mhwd-kernel -h''' command:
Line 124: Line 125:
     -r  --remove            Remove a kernel            [kernel(s)]
     -r  --remove            Remove a kernel            [kernel(s)]
<br clear="all">
<br clear="all">
= Selecting Kernels =
[[file:kernel_select.png|thumb|left|375px]]
All available kernels installed on your system will be presented upon booting up. GNU GRUB is visible with a couple of options. Choose "Advanced Options for Manjaro Linux" by using the arrow keys on your keyboard and then press <Enter>.
On the next screen (as illustrated) are backup copies of each kernel version installed (which will also be automatically removed if or when a kernel version is deleted). To select a kernel, simply use the arrow keys to highlight the desired version, and then press <Enter>.


[[Category:Contents Page]]
[[Category:Contents Page]]