Update KERNEL.md

This commit is contained in:
mayfrost 2018-11-08 12:32:16 -03:00 committed by GitHub
parent 9e0facce5b
commit a74f909204
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,14 +34,22 @@ Compiling a kernel has the advantage to make it as minimal and featureful as you
## PREPARATIONS ## PREPARATIONS
* 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 current kernel is. * To see which version the kernel you are currently using is.
`uname -r` `uname -r`
* List hardware and kernel modules in use (take note to know what kernel modules are appropriate). * Short list of your hardware.
`lspci -k` `lspci -k`
`lspci -v` * List your hardware with kernel modules used for each.
`cat /proc/cpuinfo` `lspci -k`
`cat /proc/meminfo` * List all kernel modules currenly used.
`lsmod` `lsmod`
* Long list of your hardware with all details.
`lspci -v`
* See information on your CPU.
`cat /proc/cpuinfo`
* See information on your memory (not really necessary).
`cat /proc/meminfo`
Take note what kernel modules are appropriate.
## GETTING THE KERNEL SOURCE ## GETTING THE KERNEL SOURCE