How to Set Framebuffer in RedHat

Source: Internet
Author: User
Environment: RedHat9.02 startup level: 3 configure the kernel: first compile the kernel, select the following items: [plain] Codematurityleveloptions --- & gt; [*] Promptfordevelopmentand/orincompletec

Environment:RedHat9.02

Startup level:3


Configure the kernel:

To compile the kernel, select the following items:

[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

Configure Bootloader Grub

Modify/Etc/grub. conf, InKernelAddVgaParameters andFbFor example:

[Plain]
  1. Kernel/boot/vmlinuz-2.4.20-8 ro root = LABEL =/vga = 0x311 fb: on
LILO

Modify/Etc/lilo. conf, AddVgaParameters, for example:

[Plain]
  1. Vga = 0x311
After modification, execute Lilo Command to write to bootloader.


VgaThe optional values are as follows:

Depth

640x400

640x480

800x600

1024x768

1152x864

1280x1024

1600x1200

4 bits

?

?

Zero x 302

?

?

?

?

8 bits

Zero x 300

Zero x 301

Zero x 303

Zero x 305

Zero x 161

Zero x 307

0x31C

15 bits

?

Zero x 310

Zero x 313

Zero x 316

Zero x 162

Zero x 319

0x31D

16 bits

?

Zero x 311

Zero x 314

Zero x 317

Zero x 163

0x31A

0x31E

24 bits

?

Zero x 312

Zero x 315

Zero x 318

?

0x31B

0x31F

32 bits

?

?

?

?

Zero x 164

?

?

After modification, restart the system.LinuxPenguinLogo.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.