Sujet : Re: Using telinit {1,3,5} with systemd
De : andrzej (at) *nospam* matu.ch (Andrzej Matuch)
Groupes : comp.os.linux.advocacyDate : 24. May 2024, 13:47:54
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v2pupa$2ae8o$1@dont-email.me>
References : 1
User-Agent : Betterbird (Windows)
On 2024-05-23 9:15 p.m., vallor wrote:
So after building a kernel and booting it, I've found it easiest
to take the system to single-user mode with
$ telinit 1
...which will take the system to single-user ("rescue") mode and
ask for your root password before proceeding. (Make sure you have
one set.)
Then I build the open Nvidia drivers, install them,
then remove the existing Nvidia drivers with the
following command (that I've scripted):
rmmod nvidia_drm nvidia_modeset nvidia_uvm nvidia
...which removes the modules in the proper order,
accounting for dependencies.
Finally, everything is ready to go, so:
# telinit 5
...and the system comes up in all its graphical glory.
I do it this way rather than rebooting because sometimes,
the drivers don't load right when I boot, and windows tear
when they move. If that happens, I do the
"telinit 1"-"rmmod"-"telinit 5"
dance, which has always solved the problem.
(I was pleasantly surprised to find out that systemd
knows about init runlevels. Very helpful.)
Finally, if you want to shutdown the display manager and
just use vty's with getty logins, you could
$ telinit 3
These runlevels are the same as they were with
SysV init on Linux.
I'm curious: are you removing the NVIDIA proprietary drivers here or the open ones? I'm reading that there are issues with the open-kernel ones because they're in alpha. I was under the impression that you didn't have too much trouble with them.
-- Andrzej (Andre) MatuchTG: @AndrzejMatuchCatholic, paleoconservative, Christ is king.
Date | Sujet | # | | Auteur |
24 May 24 | Using telinit {1,3,5} with systemd | 20 | | vallor |
24 May 24 | Re: Using telinit {1,3,5} with systemd | 1 | | Lawrence D'Oliveiro |
24 May 24 | Re: Using telinit {1,3,5} with systemd | 5 | | Andrzej Matuch |
25 May 24 | Re: Using telinit {1,3,5} with systemd | 4 | | vallor |
25 May 24 | Re: Using telinit {1,3,5} with systemd | 3 | | Andrzej Matuch |
25 May 24 | Re: Using telinit {1,3,5} with systemd | 2 | | vallor |
26 May 24 | Re: Using telinit {1,3,5} with systemd | 1 | | Andrzej Matuch |
24 May 24 | Re: Using telinit {1,3,5} with systemd | 13 | | candycanearter07 |
24 May 24 | Re: Using telinit {1,3,5} with systemd | 2 | | rbowman |
25 May 24 | Re: Using telinit {1,3,5} with systemd | 1 | | vallor |
24 May 24 | Re: Using telinit {1,3,5} with systemd | 10 | | Lawrence D'Oliveiro |
25 May 24 | Re: Using telinit {1,3,5} with systemd | 9 | | candycanearter07 |
25 May 24 | Re: Using telinit {1,3,5} with systemd | 4 | | Lawrence D'Oliveiro |
25 May 24 | Re: Using telinit {1,3,5} with systemd | 1 | | vallor |
25 May 24 | Re: Using telinit {1,3,5} with systemd | 2 | | Sebastian Wells |
25 May 24 | Re: Using telinit {1,3,5} with systemd | 1 | | Lawrence D'Oliveiro |
25 May 24 | Re: Using telinit {1,3,5} with systemd | 4 | | rbowman |
27 May 24 | Re: Using telinit {1,3,5} with systemd | 3 | | candycanearter07 |
27 May 24 | Re: Using telinit {1,3,5} with systemd | 2 | | vallor |
27 May 24 | Re: Using telinit {1,3,5} with systemd | 1 | | Lawrence D'Oliveiro |