beautypg.com

Setting the video mode – NEC Express5800 Series EXP320B User Manual

Page 92

background image

3-10

Linux Setup and Operation

SETTING THE VIDEO MODE

This section describes how to configure the video mode on the server. The server needs to
be restarted in order to enable the video mode setting.

1.

Log on with the root authority and open /boot/grub/grub.conf with an editor.

IMPORTANT:

grub.conf is an extremely imporatant file for the system.
In the worst case, you may not be able to start the system. Pay extra attention when
editing the file.

2.

Change the following setting within grub.conf. (The information such as the kernel
version “2.6.9-34.17AXsmp” is just an example. Change these values to the actual
values of your environment.)

title Asianux HAS (2.6.9-34.17AXsmp)

root (hd0,0)

kernel /vmlinuz-2.6.9-34.17AXsmp ro root=/dev/md1 vga=0x323 video=vesafb:off

initrd /initrd-2.6.9-34.17AXsmp.HAS.img

(1)

(1) vga=0x323 (0x323 is an option)

Configure the video mode common to the console and X server.
Specify an appropriate value from the table below.

Value

Screen size

Color

0x317

1024 x 768

16bpp

0x318

1024 x 768

24bpp

0x323

1024 x 768

32bpp

0x314

800 x 600

16bpp

0x315

800 x 600

24bpp

0x31A

1280 x1024

16bpp

0x31B

1280 x1024

24bpp

It is recommended to set 0x317, 0x318, or 0x323. If other value is specified and
the monitor does not support it, the screen may not be displayed properly.

3.

Restart the server.