2

I have a problem when starting my Ubuntu machine. The problem appeared right after doing:

sudo apt purge nvidia* libnvidia*
sudo apt autoremove
sudo reboot

After the machine came back to life, I got the message /dev/nvme0n1p3: clean, n/n files, n/n blocks instead of actually initializing Ubuntu (the desktop).

enter image description here

I have tried several things, this solution among them Error on Ubuntu boot up - "recovering journal" but it didn't work; I got an error when doing fsck -f / since there is something mounted there.

I have also tried removing all the Nvidia drivers installed and using purge and auto remove for that. I have come back to the nouveau driver, and rebooted, but nothing works.

Please be detailed in your answers if you can.

karel
  • 122,292
  • 133
  • 301
  • 332
Dalia
  • 21
  • 1
  • 4

1 Answers1

0

I have solved this problem doing the following:

  • boot to the GRUB menu (pressed the shift key many times once the DELL icon showed up on my screen).
  • choose Advanced Options
  • choose Recovery mode
  • choose Root access
  • remove any nvidia-related thing with sudo apt-get remove --purge nvidia-*
  • sudo apt purge *535* (I had installed the 535 driver before the problem)
  • sudo apt autoremove
  • sudo apt install xserver-xorg-video-nouveau
  • sudo reboot

I still got the recovering journal after this reboot, so I went back to the Recovery Mode and did:

  • sudo add-apt-repository ppa:graphics-drivers/ppa
  • sudo apt install nvidia-driver-535

This prompt a secure boot set up, I fixed that and then boot successfully.

Note: install the driver that is adequate to your machine. It may not be the 535.

Dalia
  • 21
  • 1
  • 4