Welcome 微信登录
编程资源 图片资源库 蚂蚁家优选

首页 / 操作系统 / Linux / RedHat下怎样设置Framebuffer

环境:RedHat9.02启动级别:3

配置内核:

首先要再编译内核是选中如下几项:[plain]
  1. Code maturity level options --->[*] Prompt for development and/or incomplete code/drivers  
  2. Processor type and features --->[*] MTRR (Memory Type Range Register) support  
  3. Block Devices ->[*] Loopback device support[*] RAM disk support  
  4. (4096) Default RAM disk size[*] Initial RAM disk (initrd) support  
  5. Console Drivers ->[*] VGA text console[*] Videomode selection support  
  6. 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,例如:[plain]
  1. kernel  /boot/vmlinuz-2.4.20-8 ro root=LABEL=/  vga=0x311 fb:on  
LILO 修改/etc/lilo.conf,添加vga参数,例如:[plain]
  1. vga=0x311  
修改后执行lilo命令,写入bootloader。
vga参数的可选值如下:
Depth640x400640x480800x6001024x7681152x8641280x10241600x1200
4 bits0x302
8 bits0x3000x3010x3030x3050x1610x3070x31C
15 bits0x3100x3130x3160x1620x3190x31D
16 bits0x3110x3140x3170x1630x31A0x31E
24 bits0x3120x3150x3180x31B0x31F
32 bits0x164
修改后重启系统,会在右上角看到一个Linux的企鹅Logo。使用GNU Autoconf/Automake创建Makefile在Fedora 7下安装USB无线网卡TL-WN321G相关资讯      redhat 
  • 为什么像 RedHat 那样的开源旗手很  (12/23/2014 07:50:53)
  • 红帽目录服务RHDS(Red Hat   (11/28/2012 19:14:22)
  • RedHat 6 配置网卡team  (09/28/2012 18:52:50)
  • RedHat Linux 用户登录认证失败  (06/24/2014 19:56:55)
  • Red Hat Enterprise Linux 5.8日志  (09/29/2012 11:41:27)
  • Red Hat Enterprise Linux 5---  (09/12/2012 17:10:35)
本文评论 查看全部评论 (0)
表情: 姓名: 字数