Update KERNEL.md

This commit is contained in:
mayfrost 2018-11-08 12:42:09 -03:00 committed by GitHub
parent ceee46876c
commit 280ef50c54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ Compiling a kernel has the advantage to make it as minimal and featureful as you
--- ---
## TOC ## TOC
1. [PREPARATIONS](#preparations) 1. [PREPARATIONS (OPTIONAL)](#preparations-optional)
2. [GETTING THE KERNEL SOURCE](#getting-the-kernel-source) 2. [GETTING THE KERNEL SOURCE](#getting-the-kernel-source)
2.1. [OPTIONAL: Symlink](#optional-symlink) 2.1. [OPTIONAL: Symlink](#optional-symlink)
2.2. [DOWNLOAD THE KERNEL SOURCE](#download-the-kernel-source) 2.2. [DOWNLOAD THE KERNEL SOURCE](#download-the-kernel-source)
@ -31,7 +31,9 @@ Compiling a kernel has the advantage to make it as minimal and featureful as you
--- ---
## PREPARATIONS ## PREPARATIONS (OPTIONAL)
In this optional step you can take note what kernel modules are appropriate to turn on only the options you want and have a trimmed down kernel.
* To see which version the new kernel source is. * To see which version the new kernel source is.
`head /usr/src/linux/Makefile` `head /usr/src/linux/Makefile`
* To see which version the kernel you are currently using is. * To see which version the kernel you are currently using is.
@ -49,8 +51,6 @@ Compiling a kernel has the advantage to make it as minimal and featureful as you
* See information on your memory (not really necessary). * See information on your memory (not really necessary).
`cat /proc/meminfo` `cat /proc/meminfo`
Take note what kernel modules are appropriate.
## GETTING THE KERNEL SOURCE ## GETTING THE KERNEL SOURCE
### OPTIONAL: Symlink ### OPTIONAL: Symlink