grub 内核启动参数(kernel command-line parameters)
来源:互联网 发布:网络ping值测试 编辑:程序博客网 时间:2024/05/17 09:17
参数解释
kernel /boot/vmlinuz-2.6.32-279.el6.x86_64 ro root=UUID=866f85ce-0e10-424b-a329-19f3bebeacb8 nomodeset rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=us rd_NO_MD crashkernel=128M LANG=zh_CN.UTF-8 rd_NO_LVM rd_NO_DM rhgb quiet
ro: Mount the root device read-only on boot
root=UUID=866f85ce-0e10-424b-a329-19f3bebeacb8: Specify the root filesystem to boot from(/sbin/init 所在分区)
nomodeset: Disable Kernel Mode Setting(点击打开链接)
rd_NO_LUKS
KEYBOARDTYPE=pc
KEYTABLE=us
rd_NO_MD
crashkernel=128M: Reserve a portion of physical memory for kexec to use
LANG=zh_CN.UTF-8
rd_NO_LVM
rd_NO_DM
rhgb: redhat graphical boot - This is a GUI mode booting screen with most of the information hidden while the user sees a rotating activity icon spining and brief information as to what the computer is doing.
quiet: hides the majority of boot messages before rhgb starts. These are supposed to make the common user more comfortable. They get alarmed about seeing the kernel and initializing messages, so they hide them for their comfort.
启动时指定 run level
1(or single): single user mode
3: 文本界面,不启动图形界面(在文本界面中 startx 即可启动图形界面)
5: 图形界面
/etc/inittab
# Default runlevel. The runlevels used are:# 0 - halt (Do NOT set initdefault to this)# 1 - Single user mode# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)# 3 - Full multiuser mode# 4 - unused# 5 - X11# 6 - reboot (Do NOT set initdefault to this)# id:5:initdefault:
参考资料
Google: "grub kernel boot parameters", "kernel command-line parameters"
Kernel Boot Command-LineParameter Reference
10 boot time parameters you should know about the Linux kernel
The Linux BootPrompt-HowTo, http://www.tldp.org/HOWTO/BootPrompt-HOWTO.html
Kernel boot command-line parameter reference: Chapter 9 - Linux Kernel in a Nutshell
http://wiki.ubuntu.org.cn/UbuntuHelp:BootOptions
Linux内核引导参数简介
- grub 内核启动参数(kernel command-line parameters)
- Linux Kernel command line 内核输入参数/proc/cmdline
- Linux Kernel Boot Parameters(Linux内核启动参数)
- kernel command line 参数详解
- kernel command line 参数详解
- linux内核可以接受的参数 | Linux kernel启动参数 | 通过grub给内核传递参数
- Linux kernel command line 参数详解
- InstallShield Command-Line Parameters
- Embedded Linux kernel的启动参数command line的传递方式
- Accessing command line parameters/arguments
- Nginx--官网中文翻译(中英文对比)--8-命令行参数Command-line parameters
- Python Intro - Parse Command Line Parameters
- How to parse command line parameters.
- Nginx优化(配置文件&内核参数)Nginx optimization (Profile & Kernel parameters)
- grub 的安装与使用&&利用grub修改内核启动参数
- What command line parameters does WinZip support? [转贴]
- how to automate label printing with command line parameters
- dynamic generate command line parameters for qt embedded application
- 神人:http://video.sina.com.cn/playlist/5589145-1880392153-2.html#98417833
- LeetCode Count and Say
- 重学C51之DATA、BDATA、XDATA的区别
- 获取可用驱动器(本地磁盘,光驱,U盘)列表
- UIWebView设置高度
- grub 内核启动参数(kernel command-line parameters)
- XMPP协议简介-什么是XMPP协议?
- 如果数据库提取的数据和所想要的排列顺序有出入的话。
- Android drawText() 绘制多行文字
- sensor的fsi和bsi结构
- 设计模式——工厂方法模式
- java反射
- Java字符串驻留池
- SWT布局(Layouts)