The following table lists commonly-used kernel boot parameters.html
Optionlinux |
Descriptionoracle |
---|---|
|
Specifies the run level, overriding the value set in |
KEYBOARDTYPE= |
Specifies the keyboard type, which is written to |
|
Specifies the keyboard layout, which is written to |
|
Specifies the system language and code set, which is written to |
|
Specifies the number of loop devices ( |
|
Disables Ksplice Uptrack updates from being applied to the kernel. |
|
Reduces debugging output. |
|
Activates an encrypted Linux Unified Key Setup (LUKS) partition with the specified UUID. |
|
Specifies an LVM volume group and volume to be activated. |
|
Disables detection of an encrypted LUKS partition. |
|
Specifies that the Red Hat graphical boot display should be used to indicate the progress of booting. |
|
Disables Device-Mapper (DM) RAID detection. |
|
Disables Multiple Device (MD) RAID detection. |
|
Specifies that the root file system is to be mounted read only, and specifies the root file system by the device path of its LVM volume (where |
|
Specifies that the root ( |
|
Disables SELinux. |
single |
Boots the computer in single-user mode, without prompting for the root password. |
SYSFONT= |
Specifies the console font, which is written to /etc/sysconfig/i18n in the initramfs . |
The kernel boot parameters that were last used to boot a system are recorded in /proc/cmdline
, for example:
# ro root=/dev/mapper/VolGroup-lv_root rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=us LANG=en_US.UTF-8 rd_NO_MD rd_LVM_LV=VolGroup/lv_swap SYSFONT=latarcyrheb-sun16 rd_LVM_LV=VolGroup/lv_root rd_NO_DM rhgb quiet selinux=0更多詳情見:https://docs.oracle.com/cd/E37670_01/E41138/html/ol_kbopt.htmlcat /proc/cmdline