Linux安全网 - Linux操作系统_Linux 命令_Linux教程_Linux黑客

会员投稿 投稿指南 本期推荐: 强烈推荐:Ylmf OS 3.0 正式版发布附迅雷高 XP系统下硬盘安装Fedora 14图文教程
搜索:
您的位置: Linux安全网 > Linux入门 > » 正文

怎样设置Framebuffer

来源: exbob 分享至:

环境:Redhat9.02

启动级别:3


配置内核:

首先要再编译内核是选中如下几项:

Code maturity level options --->[*] Prompt for development and/or incomplete code/drivers
Processor type and features --->[*] MTRR (Memory Type Range Register) support
Block Devices ->[*] Loopback device support[*] RAM disk support
(4096) Default RAM disk size[*] Initial RAM disk (initrd) support
Console Drivers ->[*] VGA text console[*] Videomode selection support
Console Drivers -> Frame-buffer support ->[*] Support for frame buffer devices[*] VESA VGA graphics console[*] Use splash screen instead of boot logo 

配置Bootloader

Grub

修改/etc/grub.conf,在kernel项的最后添加vga参数和fb,例如:

kernel  /boot/vmlinuz-2.4.20-8 ro root=LABEL=/  vga=0x311 fb:on

LILO

修改/etc/lilo.conf,添加vga参数,例如:

vga=0x311
修改后执行lilo命令,写入bootloader。


vga参数的可选值如下:

Depth

640x400

640x480

800x600

1024x768

1152x864

1280x1024

1600x1200

4 bits

?

?

0x302

?

?

?

?

8 bits

0x300

0x301

0x303

0x305

0x161

0x307

0x31C

15 bits

?

0x310

0x313

0x316

0x162

0x319

0x31D

16 bits

?

0x311

0x314

0x317

0x163

0x31A

0x31E

24 bits

?

0x312

0x315

0x318

?

0x31B

0x31F

32 bits

?

?

?

?

0x164

?

?

修改后重启系统,会在右上角看到一个Linux的企鹅Logo



Tags:
分享至:
最新图文资讯
1 2 3 4 5 6
验证码:点击我更换图片 理智评论文明上网,拒绝恶意谩骂 用户名:
关于我们 - 联系我们 - 广告服务 - 友情链接 - 网站地图 - 版权声明 - 发展历史