How to adjust screen resolution in character interface?

The system is openEuler stable version, running on older hardware: an AMD A8-5600K processor and a MSI A85 motherboard with an HDMI port. The TV connected via HDMI supports 1980×1200 (2K) resolution. Normally, the machine is used as a backup server, occasionally connected to a TV for system installation or operations.

After booting, the resolution defaults to 800×600 or 1024×768, with large fonts that are easy to read. After POST, openEuler starts up, and then the screen goes black. At the point where three small white dots appear, the resolution suddenly switches to 1980×1200, making the text extremely small and difficult to see—this persists all the way to the login screen.

Previously, during one installation, I accidentally selected a certain option, and after booting, the resolution remained at 1024×768, which was much more comfortable. I suspect the resolution change and small font size occur after the graphics driver loads, but I don’t know where to set the console resolution. Most online guides assume you’ve installed a GUI, but my old machine is only used as a server, and I don’t want to install a GUI.

Additionally, when I previously ran CentOS 6 or 7 on this same machine, the console resolution was correctly set to 1024×768.

Could someone please help me fix this? Any advice would be greatly appreciated!

Hello! For the character interface resolution issue, you don’t need to disable UEFI. Try the following methods:

Method 1: Modify GRUB Configuration (Recommended)

sudo vi /etc/default/grub

Add or modify the following parameters:

GRUB_GFXMODE=1024x768x32
GRUB_GFXPAYLOAD=keep

Then update GRUB:

sudo grub2-mkconfig -o /boot/grub2/grub.cfg

Method 2: Add Kernel Boot Parameters

Add the following to GRUB_CMDLINE_LINUX in the GRUB configuration:

GRUB_CMDLINE_LINUX="video=1024x768"

Then run grub2-mkconfig again to update.

Method 3: Framebuffer Settings

If the above methods don’t work, try adding the following boot parameter:

nomodeset

This parameter prevents the kernel from loading the graphics driver too early, keeping the system at a lower resolution.

We recommend trying Method 1 first—it resolves the issue in most cases. If you have further questions, feel free to keep the conversation going!