Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Nächste Überarbeitung
Vorhergehende Überarbeitung
software:linux:linux_os:kernel_parameter [2019-02-08 10:48] – angelegt mgehrig2software:linux:linux_os:kernel_parameter [2019-02-24 15:48] (aktuell) graf
Zeile 1: Zeile 1:
-====== Kernel parameter ======+====== Kernel Parameter ======
 ===== Overview ===== ===== Overview =====
  
-Kernel parameter can be used to change some kernel settings at boot time.+Kernel parameters can be used to change some kernel settings at boot time
 +You can change the parameter temporary (only for a single boot) or permanently.
  
-You can change the parameter temporary (only for a single boot) or permanent. +===== Temporary Change ===== 
- +These changes are valid only once. If you restart your system, they no longer hold.
- +
-===== Temporary change ===== +
-These changes only be valid once. +
-If you start your system a second timethese changes will no longer be valid.+
  
   - Reboot   - Reboot
Zeile 17: Zeile 14:
   - Select the desired kernel entry   - Select the desired kernel entry
   - Press "//e//"   - Press "//e//"
-  - Edit the line which starts with ''linux''. The last words on this line are the kernel parameters.+  - Edit the linewhich starts with ''linux''. The last words on this line are the kernel parameters.
   - Press "//F10//" to boot   - Press "//F10//" to boot
  
Zeile 39: Zeile 36:
 </code> </code>
  
-The three kernel paramters in this example are ''ro quiet splash''.+The three kernel parameters in this example are ''ro quiet splash''. 
 + 
 +===== Change Kernel Parameters permanently ===== 
 +  - ''sudo nano /etc/default/grub'' 
 +  - Add your parameters to the line: 
 +    * ''GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"'' (this line may contain different kernel parameters) 
 +  - It should look like this: 
 +    * ''GRUB_CMDLINE_LINUX_DEFAULT="quiet splash yourParameter=1'' 
 +  - ''sudo update-grub'' 
 +  - reboot the pc 
 + 
 + 
 +===== Check Kernel Parameters ===== 
 +To display the current kernel parameter run: 
 + 
 +''cat /proc/cmdline'' 
 +