LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-23-2024, 06:34 AM   #16
_blackhole_
Member
 
Registered: Mar 2023
Distribution: FreeBSD
Posts: 88

Rep: Reputation: 67

run levels are a sysvinit (Sys V Init) thing - and as you apparently run Devuan, which specifically uses sysvinit instead of systemd, then you you should be able to set up something suitable without X.org installed or with the display manager disabled?

As others have said, the implementation of run levels differs depending on the OS / Linux distribution in question. Historically, in Debian, run levels 2 - 5 (multi user) were the same by default (0 is halt, 1 is single user mode and 6 is reboot) - so booting to run level 3 there is not going to achieve anything useful - I believe Devuan is the same.

You seem to be referring to run level 3 in the Slackware sense, where it loads to a console (run level 4 loads a display manager). This doesn't apply elsewhere.

In Devuan you could either remove xorg and whichever display manager, or disable the service. To do the latter:

https://manpages.debian.org/unstable...rc.d.8.en.html

Code:
# update-rc.d foobar disable

Last edited by _blackhole_; 02-23-2024 at 06:37 AM.
 
Old 02-25-2024, 11:33 PM   #17
ballsystemlord
Member
 
Registered: Aug 2014
Distribution: Devuan
Posts: 214

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ___ View Post
@ballsystemlord: I'm curious about what you want to accomplish. (back-story)
Might you experiment in VirtualBox? get-devuan has lots of options.

<snip>
I'm trying to recycle some old laptops. Some of them have bad screens and, instead of replacing the screens, since I can operate in text mode quite well, I wanted to boot into runlevel 3 on them.





Thanks again, everyone for your suggestions. I haven't chosen a distro yet, but now I know which to look at.

Last edited by ballsystemlord; 02-25-2024 at 11:35 PM.
 
Old 02-25-2024, 11:39 PM   #18
ballsystemlord
Member
 
Registered: Aug 2014
Distribution: Devuan
Posts: 214

Original Poster
Rep: Reputation: Disabled
blackhole , I knew I could configure several distros to boot into console mode, but what I was looking for was a distro that natively supports that mode because I cannot see any errors, as explained above, if I were to make a mistake or be missing something from the image I were to use, USB or optical.
Also, some distros are very GUI-centric whereas others are very console-centric.
 
Old 02-25-2024, 11:45 PM   #19
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,576
Blog Entries: 19

Rep: Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453
I use Slackware and it boots to a console. Then I use startx to get to a GUI.
 
3 members found this post helpful.
Old 02-26-2024, 02:41 AM   #20
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,855

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
Quote:
Originally Posted by ballsystemlord View Post
blackhole , I knew I could configure several distros to boot into console mode, but what I was looking for was a distro that natively supports that mode because I cannot see any errors, as explained above, if I were to make a mistake or be missing something from the image I were to use, USB or optical.
Also, some distros are very GUI-centric whereas others are very console-centric.
All of them can boot into console mode.
In general the distros have server and desktop versions, and the server version boots into console mode by default and desktop versions boot into gui mode by default. But that can be changed too, you do not need to use the default (if you want to modify it).
 
1 members found this post helpful.
Old 02-26-2024, 11:26 PM   #21
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
I'm not sure whether I've ever run into a bootable Linux CD, DVD or USB stick which didn't allow to specify special options on the kernel cmdline before proceeding with boot. Appending 3 to the cmdline has the same functionality to halt the boot in plain text terminal mode in every systemd distro I've used, just as it had with most non-debian distros in existence prior to systemd. With modern Debian and derivative distros with systemd, that equivalent arrived along with systemd. The official systemd way to so boot is with the option systemd.unit=multi-user.target, but 3 is so much simpler to remember and type.
 
Old 02-28-2024, 07:21 PM   #22
ballsystemlord
Member
 
Registered: Aug 2014
Distribution: Devuan
Posts: 214

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrmazda View Post
I'm not sure whether I've ever run into a bootable Linux CD, DVD or USB stick which didn't allow to specify special options on the kernel cmdline before proceeding with boot...
You weren't following the conversation. I'm trying to boot some systems with dead/broken screens for headless operation as a means of reuse/recycling. If I can't see, I can't select the cmdline from the boot prompt.
Now maybe there's a key combo that will defiantly get you there, but IDK it.
 
Old 02-28-2024, 08:24 PM   #23
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,987

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
Automated installer to some distro. I've had to repair computers blind or take an existing computer to copy keystrokes.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the difference between runlevel 2 and runlevel 5 in Debian? davidas Linux - Newbie 2 01-05-2012 01:10 PM
New Install of PCLinuxOS boots into runlevel 3. Should be runlevel 5 MonctonJohn Linux - General 4 02-01-2008 04:38 PM
Go into runlevel 3 after a runlevel 4 crash davidguygc Linux - General 1 08-24-2007 08:23 PM
Soun Mixer absent in Runlevel 3 but present in Runlevel 5 debloxie SUSE / openSUSE 1 01-18-2006 09:15 AM
X does not start in Runlevel 4, but i Runlevel 3 Rabon Linux - General 3 11-18-2003 06:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration