Linux command
mhwd-kernel 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Example
mhwd-kernel -l
Example
mhwd-kernel -li
Install
sudo mhwd-kernel -i [kernel]
Remove
sudo mhwd-kernel -r [kernel]
Example
sudo mhwd-kernel -i [kernel] rmc
说明
mhwd-kernel manages Linux kernel installation and removal on Manjaro Linux. It simplifies the process of installing multiple kernels and switching between LTS (Long Term Support) and mainline kernel versions. Kernel names follow the pattern linux followed by the version number (e.g., linux515, linux61, linux66). The tool automatically handles kernel modules and headers alongside the kernel itself. The rmc (remove current) option is useful when replacing a problematic kernel—it removes the currently running kernel after successfully installing the new one and after a reboot.
参数
- -l, --list
- List all available kernels from repositories
- -li, --listinstalled
- List all currently installed kernels
- -i, --install _kernel_
- Install the specified kernel
- -r, --remove _kernel_
- Remove the specified kernel
- rmc
- Remove the current kernel after installing the new one
FAQ
What is the mhwd-kernel command used for?
mhwd-kernel manages Linux kernel installation and removal on Manjaro Linux. It simplifies the process of installing multiple kernels and switching between LTS (Long Term Support) and mainline kernel versions. Kernel names follow the pattern linux followed by the version number (e.g., linux515, linux61, linux66). The tool automatically handles kernel modules and headers alongside the kernel itself. The rmc (remove current) option is useful when replacing a problematic kernel—it removes the currently running kernel after successfully installing the new one and after a reboot.
How do I run a basic mhwd-kernel example?
Run `mhwd-kernel -l` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -l, --list do in mhwd-kernel?
List all available kernels from repositories