Ubuntu 20.04 freezes before login screen, no dual boot
Solution 1
I have installed Ubuntu 20.04 and faced same problem. The system were hanging in boot screen with connected HDMI cable. Although it was running well without the connected HDMI cable.
I am using following hardware:
- ASRock B460 board with LGA-1200
- Intel Core 10th gen. with UHD 630 integrated graphic.
My solution consists of following steps:
sudo apt-get update | sudo apt-get upgrade -y
- Restart the system (disconnect HDMI before Ubuntu starts)
sudo nano /etc/default/grub
- Set:
GRUB_CMDLINE_LINUX_DEFAULT=""
just leave it empty sudo grub-mkconfig -o /boot/grub/grub.cfg
- Restart the system
The system does not have now this nice Ubuntu boot screen but instead prints everything on console, then login screen appears.
Solution 2
I also had the booting issue when I was trying to boot with HDMI connected.
The presented solutions didn't work for me. So I ended up with downgrading of NVIDIA driver and it helped. I have issues with nvidia-driver-460
, so I downgraded to nvidia-driver-450
The steps:
sudo apt-get purge nvidia-*
sudo apt-get udpate
sudo apt-get autoremove
sudo apt-get install nvidia-driver-450
sudo reboot
Btw I left grub config line GRUB_CMDLINE_LINUX_DEFAULT
empty.
Related videos on Youtube
Kaushal
Updated on September 18, 2022Comments
-
Kaushal almost 2 years
I have been trying to make Ubuntu 20.04 run on my new ASUS TUF for last 3 days without any luck.
Right now, the issue I am facing is that my system hangs on login screen.
I have already installed Nvidia drivers and loaded them.
Adding nomodeset doesn't work for me, the system gets stuck even before login screen.
I have already added intel_idle.max_cstate=1 in the grub, it worked for few reboots but then it stopped working.
Sometimes, like 1 out of 5 times, removing quiet works for me but not always. Also, it makes my system very slow.
The output for "lspci -k | grep -EA3 'VGA|3D|Display" is shown below:
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile) DeviceName: Onboard - Video Subsystem: ASUSTeK Computer Inc. UHD Graphics 630 (Mobile) Kernel driver in use: i915 01:00.0 VGA compatible controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] (rev a1) Subsystem: ASUSTeK Computer Inc. TU117M [GeForce GTX 1650 Mobile / Max-Q] Kernel driver in use: nvidia Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
I have also done the following:
sudo dpkg --configure -a sudo apt-get update sudo apt-get upgrade -y
It helped for few reboots, while making the system slower, like opening and closing terminal took couple of minutes, but has stopped working now.
Can someone please help me with a permanent solution?
-
Pilot6 about 4 yearsDisable Secure Boot in BIOS.
-
Kaushal about 4 yearsHave already done that, didn't work for me.
-
Pilot6 about 4 yearsPlease edit your question and add output of
lspci -k | grep -EA3 'VGA|3D|Display'
terminal command. -
Kaushal about 4 yearsI have edited the question and added the image of the output.
-
Pilot6 about 4 yearsPlease don't post screenshots of text.
-
Kaushal about 4 yearsOutput has been added.
-
Pilot6 about 4 yearsThe output looks good.
-
-
Zeor137 over 2 yearsThis helped me, though my notebook still doesn't comes out of suspend
-
kurokirasama over 2 yearsthis helped me too