Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

Ubuntu 18.04 won't boot after installing steam

Writer Sophia Terry

Yesterday I installed steam to play some game. The installation went well. Now as I opened the application it opened the terminal and required me to enter a password so more libraries could be installed. The only thing I remember about these libraries is that one of them had the name lib-mesa-* . I turned off my laptop fine and slept. Today in the morning my Ubuntu can't boot. It's either stuck on the screen where services are being started or it gets stuck on the dev sda clean 12498/49480004737 screen. What can I do to fix my Ubuntu?

2 Answers

Here's the fool-proof step-by-step solution:

  1. Boot into safe mode (recovery mode). Enter this mode by holding the left shift key when the computer starts.

  2. in terminal, type:

    sudo apt-get purge nvidia*

    sudo ubuntu-drivers autoinstall #Make sure you have internet connection

(This worked on my dual booted computer (Windows 10 and Ubuntu 18.04)

my error message was /dev/nvme0n1p5: clean, nnn/nnn files, nnn/nnn blocks

#cheers

3

I managed to access the tty console using Ctrl + Alt + Delete. After doing so, I executed the following command.

sudo apt purge libglapi-mesa

And it removed a lot of packages related to this library.

Then I reinstalled

sudo apt install libglapi-mesa

Then I rebooted my PC and found out that I no longer have a desktop environment. But my WiFi is working anyway. So I grabbed a new copy of ubuntu-gnome-desktop

sudo apt install ubuntu-gnome-desktop

It installed successfully and I rebooted my PC and wow it's working. Now I am typing this answer using my ubuntu which I was worried about that I am going to loose all my files and all my projects. I am so happy that I managed to fix this on my own.

It's working... back to coding...

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy