-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathKernels.txt
44 lines (30 loc) · 1.42 KB
/
Kernels.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Content-Type: text/x-zim-wiki
Wiki-Format: zim 0.4
Creation-Date: 2016-10-27T21:47:12+02:00
====== Kernels ======
Created torsdag 27 oktober 2016
**We'll install two Kernels - the Zen kernel, which is a good all' round desktop kernel, and the Long Time Support (lts) kernel in case we should ever get a Kernel panic. **
== Installation ==
**# Both kernels comes from the official repository **
$ pacman -S linux-zen linux-lts
===== Grub Configuration =====
**# Edit the Grub configuration in **///etc/default/grub //
**# We'll add a parameter and disable the sub-tree feature.**
**#** **Kernel parameters can be added to the** //GRUB_CMDLINE_LINUX_DEFAULT=//
**Ex.** //GRUB_CMDLINE_LINUX_DEFAULT="quiet splash //parameter1 parameter2//"//
== I/O Scheduler ==
**#** **Enable the BFQ scheduler**
{{{code: lang="texinfo" linenumbers="True"
GRUB_CMDLINE_LINUX_DEFAULT="elevator=bfq"
}}}
== Disable Sub-tree ==
**# Grub, by default, groups the **//linux//** and **//linux-lts//** kernel in a category tree (subcategory).**
**# To disable this, add the following to the Grub configuration**
{{{code: lang="texinfo" linenumbers="True"
GRUB_DISABLE_SUBMENU=y
}}}
== Update Grub ==
**# Regenerate the configuration file for the above settings to take affect**
$ grub-mkconfig -o /boot/grub/grub.cfg
==== Remove old kernels ====
**#** **Reboot and check if everything works okay. If so, it is safe to remove** //linux //**and**// linux-headers//