Difference between revisions of "Manjaro Kernels"

no edit summary
imported>Verityproductions
imported>Verityproductions
Line 30: Line 30:
Manjaro not only supports the use of ''multiple'' kernels (selectable from the boot screen), but allows easy access to the '''very latest ''bleeding edge''''' kernels as well. This is undertaken through use of Manjaro's own ''MHWD-kernel'' (Manjaro Hard-Ware Detection) command. The syntax of the command is as follows:
Manjaro not only supports the use of ''multiple'' kernels (selectable from the boot screen), but allows easy access to the '''very latest ''bleeding edge''''' kernels as well. This is undertaken through use of Manjaro's own ''MHWD-kernel'' (Manjaro Hard-Ware Detection) command. The syntax of the command is as follows:


  sudo mhwd-kernel [current kernel: linux[version]] [new kernel: linux[version]] [uninstall the current kernel: yes or no]
  sudo mhwd-kernel [new kernel: linux(version)] [optional - remove the current kernel: rmc]




When listing the current and new kernels in the command, it is not necessary to write the entire version numbers. For example, any version of Kernel 3.4 can be listed simply as 'linux34', and any version of Kernel 3.5 can be listed as 'linux35', and so on.
When listing a new kernel to be installed in the command, it is not necessary to write the entire version number. For example, any version of Kernel 3.5 can be listed simply as 'linux35', and any version of Kernel 3.6 can be listed as 'linux36', and so on.  


'''The use of the 'yes' or 'no' option at the end of the command is of vital importance:'''  
The optional '''rmc''' ('''<u>r</u>'''e'''<u>m</u>'''ove '''<u>c</u>'''urrent) component is of vital importance. Using this will result in your existing kernel being deleted upon the installation of the new kernel. Otherwise, if it is not used, then the existing kernel will be kept, and will be selectable alongside the new kernel at the boot screen. '''It is recommended - especially if updating to the latest bleeding edge kernel - to keep your old one, even if only for a short time afterwards'''. This the safer option, and the old kernel can be easily removed when satisfied with the stability and functionality of the new one.  
* Entering ''yes'' will result in your existing kernel being deleted upon the installation of the new kernel.
* Entering ''no'' will keep the existing kernel, and allow it to still be selected alongside the new kernel at the boot screen.


It is recommended - especially if updating to the latest bleeding edge kernel - to keep your old one, if only for a short time afterwards. This the safer option, and the old kernel can be easily removed when satisfied with the stability and functionality of the new one. As an example, once the terminal is opened, the following command will install the latest version of kernel 3.6 '''without deleting the existing kernel version 3.5 currently being used''':
As an example, once the terminal is opened, the following command will install the latest version of kernel 3.6 '''without deleting the existing kernel currently being used''':


  sudo mhwd-kernel linux35 linux36 '''no'''
  sudo mhwd-kernel linux36




Otherwise, the following command will install the latest version of kernel 3.6 to replace the existing kernel version 3.5, '''which will be deleted''':
Otherwise, the following command will install the latest version of kernel 3.6 to replace the existing kernel, '''which will be deleted''':
 
sudo mhwd-kernel linux36 '''rmc'''


sudo mhwd-kernel linux35 linux36 '''yes'''


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.