1

I installed Ubuntu 19.04 on my computer and on the first boot it gets stuck at starting hostname service every boot it does this it will not boot up into Ubuntu. I tried the recovery mode and let it check for packages to fix through dkpg and this does not solve the problem either.

Does anyone know how to solve this problem or what causes this problem?

enter image description here

Thanks in advance.

TrailRider
  • 7,087
  • what nvidia card do you have? I'm suspecting rtx super? anything older should be supported by the nvidia driver 418 that are installed if you check the box to install restricted drivers. Or did you install nvidia drivers by donwloading them from nvidia? – TrailRider Oct 09 '19 at 22:29
  • @TrailRider I have same problem with 2060 rtx . How can I solve it ? – sam Oct 28 '20 at 23:56
  • Did you solve it ? – sam Oct 28 '20 at 23:57
  • Got the same issue, running an RTX 3070 – Caeleste Feb 05 '23 at 19:02

1 Answers1

2

I am on a system with an nVidia card as well. I am not sure your problem is the same as mine, but in order for me to be able to boot, I had to add nomodeset to the kernel line in the GRUB menu entry.

When the GRUB boot menu is shown, press e to edit the menu entry. Go to the line that starts with linux & add nomodeset to the list of options then press F10 to boot. More details are in this answer.

If that boots your system correctly, make the change permanent by editing /etc/default/grub & adding nomodeset to the value of GRUB_CMDLINE_LINUX_DEFAULT.

For example, change the line:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

to:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"

Then run sudo update-grub.

I also had booting issues when I tried using the nVidia proprietary drivers. I recommend using the open source nouveau driver if you are still having problems after adding nomodeset to GRUB. You may be able to change the driver by dropping to a root shell from recovery mode.

# apt purge xserver-xorg-video-nvidia*

# apt install xserver-xorg-video-nouveau
AntumDeluge
  • 214
  • 1
  • 10