zoukankan      html  css  js  c++  java
  • Linux Boot kernel参数

    Kernel Boot Parameters

    The following table lists commonly-used kernel boot parameters.

    Option

    Description

    1|2|3|4|5

    Specifies the run level, overriding the value set in /etc/inittab.

    KEYBOARDTYPE=kbtype

    Specifies the keyboard type, which is written to /etc/sysconfig/keyboard in the initramfs.

    KEYTABLE=kbtype

    Specifies the keyboard layout, which is written to /etc/sysconfig/keyboard in the initramfs.

    LANG=language_territory.codeset

    Specifies the system language and code set, which is written to /etc/sysconfig/i18n in the initramfs.

    max_loop=N

    Specifies the number of loop devices (/dev/loop*) that are available for accessing files as block devices. The default and maximum values of N are 8 and 255.

    nouptrack

    Disables Ksplice Uptrack updates from being applied to the kernel.

    quiet

    Reduces debugging output.

    rd_LUKS_UUID=UUID

    Activates an encrypted Linux Unified Key Setup (LUKS) partition with the specified UUID.

    rd_LVM_VG=vg/lv_vol

    Specifies an LVM volume group and volume to be activated.

    rd_NO_LUKS

    Disables detection of an encrypted LUKS partition.

    rhgb

    Specifies that the Red Hat graphical boot display should be used to indicate the progress of booting.

    rn_NO_DM

    Disables Device-Mapper (DM) RAID detection.

    rn_NO_MD

    Disables Multiple Device (MD) RAID detection.

    ro root=/dev/mapper/vg-lv_root

    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 vg is the name of the volume group).

    rw root=UUID=UUID

    Specifies that the root (/) file system is to be mounted read-writable at boot time, and specifies the root partition by its UUID.

    selinux=0

    Disables SELinux.

    single Boots the computer in single-user mode, without prompting for the root password.
    SYSFONT=font 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:

    # cat /proc/cmdline
    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.html
  • 相关阅读:
    Java SE 第十二,三,四,五六讲 Java基础知识回顾
    Java SE第二十一 抽象类
    Java SE 第二十讲 static与final关键字详解
    使用AspNetPager分页的范例
    AJax错误"WebForm1"没有定义的javascript错误的解决方法
    如何为自定义的控件在工具箱中自定义个性化的图标
    C#面向对象名词比较(转ttyp 的文章)
    vs2003自带的报表使用load("rpt.rpt")方式,显示不出报表工具的图片解决方案
    DropDownlist常见的小错误
    Ajax获取数据库中的字段
  • 原文地址:https://www.cnblogs.com/hana-alice/p/9339826.html
Copyright © 2011-2022 走看看