You are not logged in.

#1 2023-08-15 19:18:47

DeutscheGabanna
Member
Registered: 2023-08-15
Posts: 14

[SOLVED] Cannot boot to xorg after uninstalling nvidia

Hi. Please forgive me if I don't provide you with all necessary information and commands from the get-go. I'm still learning.

I tried to uninstall nvidia package and installed nvidia-open through pacman -S. The current session was unaffected, but the next boot couldn't bring me to desktop environement. I get blinking caret after the usual `/dev/sda2 xyz blocks ...`
I edited the grub boot to include:

init=/bin/bash

so that I boot up to root shell. I managed to do that at least.
I ran

pacman -S nvidia
... could not resolve host type of errors (I cannot easily copy-paste from PC shell to a laptop)

ping google.com
temporary failure in name resolution

nano /etc/resolv.conf
... changed to nameserver 8.8.8.4
nameserver 8.8.4.4
Ctrl+O Ctrl+X

systemctl restart systemd-resolved.service
System has not been booted with systemd as init system 

modprobe nvidia
modile nvidia not found in directory /lib/modules/6.4.5-arch1-1
modprobe nvidia-open
not found too

Some more troubleshooting:

lspci -v | less
/.Ethernet
Ethernet [...] kernel modules: r8169
VGA compatible controller: NVIDIA Corporations ... kernel modules: nouveau
dmesg | grep r8169
[no results]

the ip link returns

mtu 655536 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/loopback: 00:00:00:00:00:00 brd 00:00:00:00:00:00

the ethernet cable worked for my arch linux installation right off the bat.

I tried to preload the etc/...something.../systemd/systemd in init=... in grub but that didn't enable me to run the restart command either.
Please help sad

Last edited by DeutscheGabanna (2023-08-16 20:08:58)

Offline

#2 2023-08-15 21:09:53

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,112

Re: [SOLVED] Cannot boot to xorg after uninstalling nvidia

init=/bin/bash

2nd link below.

Then please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General
You can use the tip in the 1st link below to post it from the commandline.

Offline

#3 2023-08-16 20:08:22

DeutscheGabanna
Member
Registered: 2023-08-15
Posts: 14

Re: [SOLVED] Cannot boot to xorg after uninstalling nvidia

Actually, instead of starting bash through grub, I followed some other advice that said press Ctrl+Alt+F2 while a blinking caret is on-screen.
Then
        - `sudo pacman -S nvidia`
        - `sudo pacman -Su`
        - `systemctl reboot`

Offline

Board footer

Powered by FluxBB