Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4558749
  • 博文数量: 385
  • 博客积分: 21208
  • 博客等级: 上将
  • 技术积分: 4393
  • 用 户 组: 普通用户
  • 注册时间: 2006-09-30 13:40
文章分类

全部博文(385)

文章存档

2015年(1)

2014年(3)

2012年(16)

2011年(42)

2010年(1)

2009年(2)

2008年(34)

2007年(188)

2006年(110)

分类: LINUX

2011-11-25 12:18:06

Today , I notice the kernel parameter :showopts


According to:

Answer: when using grub put the options before grub keyword showopts in the file /boot/grub/menu.lst.


An example of a grub line showing options on the boot prompt:

kernel (hd0,10)/boot/vmlinuz root=/dev/hda11 showopts ide=nodma apm=off \
vga=normal noresume selinux=0 barrier=off nosmp noapic maxcpus=0 3

The options won't be shown if the showopts keyword is moved to the end of line:

kernel (hd0,10)/boot/vmlinuz root=/dev/hda11 ide=nodma apm=off \

vga=normal noresume selinux=0 barrier=off nosmp noapic maxcpus=0 3 showopts


test it :


after move showopts  :

 

so , showopts  only influence the grub graphic interface , to text mode is invalid.


阅读(2303) | 评论(0) | 转发(0) |
0

上一篇:about bootsplash

下一篇:code beautifier -astyle

给主人留下些什么吧!~~