After installing a Nvidia driver, I cannot access my Ubuntu 18.04 GUI anymore. Now, it seems as I have only access to the recovery mode.
I required to update my CUDA version and I, probably, purged one module too many.
In the beginning, neither my keyboard nor my mouse was working and I used another Linux kernel to login. Then, I have seen that my GPU was not recognized and I decided to reinstall NVIDIA and CUDA drivers (downloading the .run files and executing them with sudo sh ./file.run
. This has now wrecked my access to the OS.
Booting my system gives me the following text (N,M,L,K and X are placeholders for numbers):
Warning: Failed to connecct to lvmetad; Falling back to device scanning
/dev/mapper/ubuntu--vg-root: clean, N/M files, L/K blocks
[ X] nvidia-gpu 0000:07:00:3: i2c timeout error e000000
Using in the recovery mode,sudo apt install
commands or the dpkg Repair broken packages
throw Failed to fetch
errors.
I have also tried sudo apt purge nvidia*
, without success.
How can I install or access a GUI again? How would it be possible to connect to one of the repositories to install packages?