Unable to start Centos in GUI mode

Issues related to applications and software problems and general support
Post Reply
cent_os_user
Posts: 6
Joined: 2021/09/01 00:58:26

Unable to start Centos in GUI mode

Post by cent_os_user » 2021/09/01 01:01:42

Hi,

I am unable to boot CentOS 8 in GUI mode. Every time I boot it changes the font to very small (during boot) and then my monitor loses the connection.
I am able to ssh into the server without any issues.

I am new to CentOS. Can you help me what is the issue and how I can resolve it?

TIA

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Unable to start Centos in GUI mode

Post by TrevorH » 2021/09/01 08:18:32

What is the output from lspci -nn | grep -i vga
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

cent_os_user
Posts: 6
Joined: 2021/09/01 00:58:26

Re: Unable to start Centos in GUI mode

Post by cent_os_user » 2021/09/01 18:21:12

lspci -nn | grep -i vga

0a:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK208B [GeForce GT 710] [10de:128b] (rev a1)

tried changing the grub menu as well . Below is the output
grubby --info DEFAULT
index=0
kernel="/boot/vmlinuz-4.18.0-305.12.1.el8_4.x86_64"
args="ro crashkernel=auto resume=/dev/mapper/cl-swap rd.lvm.lv=cl/root rd.lvm.lv=cl/swap nomodeset rhgb quiet nouveau.modeset=0 $tuned_params"
root="/dev/mapper/cl-root"
initrd="/boot/initramfs-4.18.0-305.12.1.el8_4.x86_64.img $tuned_initrd"
title="CentOS (4.18.0-305.12.1.el8_4.x86_64) 8"
id="7d2c4eb0cabc4c3eb2c5aba7240bfb74-4.18.0-305.12.1.el8_4.x86_64"

While trying to install drivers for NVIDIA its complaining that nouveau is in use

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Unable to start Centos in GUI mode

Post by TrevorH » 2021/09/01 18:24:06

Your kernel command line stops the native nouveau drivers from loading or they would work out of the box. Remove rhgb quiet nouveau.modeset=0 from your kernel command line and then try again. You can do that as a one-shot update by interrupting the boot at the grub menu and removing those parameters then hitting Ctrl-x. If it boots then you make it permanent.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

cent_os_user
Posts: 6
Joined: 2021/09/01 00:58:26

Re: Unable to start Centos in GUI mode

Post by cent_os_user » 2021/09/01 18:43:40

Removed it still getting the error. While booting the font suddenly changes to very small and once I see the cursor for a second the HDMI monitor disconnects.

grubby --info DEFAULT

index=0
kernel="/boot/vmlinuz-4.18.0-305.12.1.el8_4.x86_64"
args="ro crashkernel=auto resume=/dev/mapper/cl-swap rd.lvm.lv=cl/root rd.lvm.lv=cl/swap $tuned_params"
root="/dev/mapper/cl-root"
initrd="/boot/initramfs-4.18.0-305.12.1.el8_4.x86_64.img $tuned_initrd"
title="CentOS (4.18.0-305.12.1.el8_4.x86_64) 8"
id="7d2c4eb0cabc4c3eb2c5aba7240bfb74-4.18.0-305.12.1.el8_4.x86_64"

bash NVIDIA-Linux-x86_64-470.63.01.run

ERROR: The Nouveau kernel driver is currently in use by your system. This driver is incompatible with the NVIDIA driver, and must be disabled before proceeding.
Please consult the NVIDIA driver README and your Linux distribution's documentation for details on how to correctly disable the Nouveau kernel driver.

WARNING: One or more modprobe configuration files to disable Nouveau are already present at: /usr/lib/modprobe.d/nvidia-installer-disable-nouveau.conf,
/etc/modprobe.d/nvidia-installer-disable-nouveau.conf. Please be sure you have rebooted your system since these files were written. If you have rebooted,
then Nouveau may be enabled for other reasons, such as being included in the system initial ramdisk or in your X configuration file. Please consult the NVIDIA
driver README and your Linux distribution's documentation for details on how to correctly disable the Nouveau kernel driver.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Unable to start Centos in GUI mode

Post by TrevorH » 2021/09/01 19:18:08

WARNING: One or more modprobe configuration files to disable Nouveau are already present at: /usr/lib/modprobe.d/nvidia-installer-disable-nouveau.conf,
You've partially disabled nouveau
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

cent_os_user
Posts: 6
Joined: 2021/09/01 00:58:26

Re: Unable to start Centos in GUI mode

Post by cent_os_user » 2021/09/01 22:43:28

Deleted all the files and made changes to grub. Issue resolved.

Thanks for all your help TrevorH !!

Post Reply