You are not logged in.

#26 2023-04-02 20:16:03

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

Re: [SOLVED] Stuck on [ok] reached target graphical interface on boot

The headers package was and is fine, but you need the kernel module to be built.
That failed because the headers didn't fit the actual kernel, but after updating the kernel you should be able to build the nvidia module.

And once more

seth wrote:

You don't need the dkms module, though. You're using the regular kernel (only).

Offline

#27 2023-04-02 20:24:10

Bobbins228
Member
From: Ireland
Registered: 2022-05-05
Posts: 31

Re: [SOLVED] Stuck on [ok] reached target graphical interface on boot

I'll remove the dkms module but how do I go about building the kernel module?

Offline

#28 2023-04-02 20:30:31

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

Re: [SOLVED] Stuck on [ok] reached target graphical interface on boot

You don't.
The nvidia package provides a pre-built nvidia module for the main kernel.

Otherwise, w/ nvidia-dkms, dkms is gonna build the module for you, https://wiki.archlinux.org/title/Dynami … le_Support
That'll however require the kernel and matching headers to be installed (and not broken, for whatever reason that was the case)

Offline

#29 2023-04-02 20:45:06

Bobbins228
Member
From: Ireland
Registered: 2022-05-05
Posts: 31

Re: [SOLVED] Stuck on [ok] reached target graphical interface on boot

I deleted the dmks module using

sudo dkms remove -m nvidia -v 530.41.03

When I tried

sudo pacman -Sy linux-header

I am getting those dkms errors again. Output

Offline

#30 2023-04-02 22:05:21

Bobbins228
Member
From: Ireland
Registered: 2022-05-05
Posts: 31

Re: [SOLVED] Stuck on [ok] reached target graphical interface on boot

I went back and deleted the folder /usr/src/nvidia and removed it again from dkms and now its gone for good.

I then re-ran

sudo pacman -Sy linux-headers

and got no dkms errors smile

I rebooted and I still am stuck at reached target graphical interface.

Offline

#31 2023-04-03 06:49:49

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

Re: [SOLVED] Stuck on [ok] reached target graphical interface on boot

Error! Bad return status for module build on kernel: 6.2.9-arch1-1 (x86_64)

I deleted the folder /usr/src/nvidia and removed it again from dkms and now

have a broken nvidia-dkms installation and no pre-built nvidia module either.

got no dkms errors

Nor any success.

Offline

#32 2023-04-03 09:18:20

Bobbins228
Member
From: Ireland
Registered: 2022-05-05
Posts: 31

Re: [SOLVED] Stuck on [ok] reached target graphical interface on boot

How would I go about getting a new prebuilt kernel module?

Offline

#33 2023-04-03 11:38:30

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

Re: [SOLVED] Stuck on [ok] reached target graphical interface on boot

By installing the nvidia package?

How exactly did you install archlinux??

Offline

#34 2023-04-03 12:42:37

Bobbins228
Member
From: Ireland
Registered: 2022-05-05
Posts: 31

Re: [SOLVED] Stuck on [ok] reached target graphical interface on boot

Installed the package and I can boot into the gui now.

Because I have gotten rid of the dkms nvidia module that I don't need and have installed the correct nvidia package when I do an update I shouldn't come across this issue again right?

Offline

#35 2023-04-03 13:05:29

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

Re: [SOLVED] Stuck on [ok] reached target graphical interface on boot

*This* issue not, no.
But this is some really basic stuff and you seem to fundamentally lack understanding of the system in front of you, what would result in different issues.

seth wrote:

How exactly did you install archlinux?

Offline

#36 2023-04-03 13:31:17

Bobbins228
Member
From: Ireland
Registered: 2022-05-05
Posts: 31

Re: [SOLVED] Stuck on [ok] reached target graphical interface on boot

I installed it a year ago and followed a guide on YouTube. I haven't really used it since but I decided I wanted to get back into it.
I am an Arch noob hence why this topic was posted in the newbie corner.

I mainly want to learn how to get better with linux and I have been using debian based distros for years so I though arch would be a nice progression from their simplicity.
Honestly if you've got some tips I'd love to learn more and reduce my need to ask for help when troubleshooting.

Offline

#37 2023-04-03 13:38:49

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

Re: [SOLVED] Stuck on [ok] reached target graphical interface on boot

followed a guide on YouTube

Which is the origin of your problems.
https://wiki.archlinux.org/title/Installation_guide

Offline

Board footer

Powered by FluxBB