Difference between revisions of "Manjaro Kernels"

no edit summary
imported>Verityproductions
imported>Verityproductions
Line 31: Line 31:


  sudo mhwd-kernel [current kernel: linux[version]] [new kernel: linux[version]] [uninstall the current kernel: yes or no]
  sudo mhwd-kernel [current kernel: linux[version]] [new kernel: linux[version]] [uninstall the current kernel: yes or no]


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 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.


{{note|'''The use of the 'yes' or 'no' option at the end of the command is of vital importance''':
'''The use of the 'yes' or 'no' option at the end of the command is of vital importance:'''  
* Entering ''yes'' will result in your existing kernel being deleted upon the installation of the new kernel.
* 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.}}
* Entering ''no'' will keep the existing kernel, and allow it to still be selected alongside the new kernel at the boot screen.


{{Tip|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}}
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 version 3.5 currently being used''':
sudo mhwd-kernel linux35 linux36 '''no'''


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


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 version 3.5, '''which will be deleted''':
Line 66: Line 66:
1. '''To delete a kernel''', the syntax is:
1. '''To delete a kernel''', the syntax is:
  sudo pacman -R linux[version]
  sudo pacman -R linux[version]


For example, to delete kernel version 3.5 from the system, the following command would be entered:
For example, to delete kernel version 3.5 from the system, the following command would be entered:
Line 73: Line 74:
2. '''To delete a kernel's headers''', the syntax is:
2. '''To delete a kernel's headers''', the syntax is:
  sudo pacman -R linux[version]-headers
  sudo pacman -R linux[version]-headers


For example, to delete the headers of kernel version 3.5 from the system, the following command would be entered:
For example, to delete the headers of kernel version 3.5 from the system, the following command would be entered:
Line 80: Line 82:
3. '''To delete a kernel's extra modules''', the syntax is:
3. '''To delete a kernel's extra modules''', the syntax is:
  sudo pacman -R linux[version]-extramodules
  sudo pacman -R linux[version]-extramodules


For example, to delete the extra modules of kernel version 3.5 from the system, the following command would be entered:
For example, to delete the extra modules of kernel version 3.5 from the system, the following command would be entered:
Line 87: Line 90:
4. '''To delete all elements of a kernel at the same time'''  - where they are all present on your system - the syntax is:
4. '''To delete all elements of a kernel at the same time'''  - where they are all present on your system - the syntax is:
  sudo pacman -R linux[version] linux[version]-headers linux[version]-extramodules
  sudo pacman -R linux[version] linux[version]-headers linux[version]-extramodules


For example, to completely remove all elements of kernel version 3.5, the following command would be entered:
For example, to completely remove all elements of kernel version 3.5, the following command would be entered: