<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=4108&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Devuan runlevels]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=4108</link>
		<description><![CDATA[The most recent posts in Devuan runlevels.]]></description>
		<lastBuildDate>Sun, 07 Feb 2021 17:25:34 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Devuan runlevels]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=27280#p27280</link>
			<description><![CDATA[<div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><div class="quotebox"><cite>mweishaar wrote:</cite><blockquote><div><p>when were runlevels 2-5 made the same?</p></div></blockquote></div><p>AFAIK runlevels 2-5 have always been the same in Debian but I&#039;ve only been using it since wheezy so I might be wrong.</p><p>Reference: <a href="https://wiki.debian.org/RunLevel" rel="nofollow">https://wiki.debian.org/RunLevel</a></p><p>But note that in Debian under systemd runlevels 2,3 &amp; 4 are simulated as multi-user.target (which is a console-only boot) whereas runlevel 5 is simulated as graphical.target (which is a graphical boot):</p><div class="codebox"><pre><code>$ ls -l /lib/systemd/system/runlevel?.target 
lrwxrwxrwx 1 root root 15 Jan 29 14:16 /lib/systemd/system/runlevel0.target -&gt; poweroff.target
lrwxrwxrwx 1 root root 13 Jan 29 14:16 /lib/systemd/system/runlevel1.target -&gt; rescue.target
lrwxrwxrwx 1 root root 17 Jan 29 14:16 /lib/systemd/system/runlevel2.target -&gt; multi-user.target
lrwxrwxrwx 1 root root 17 Jan 29 14:16 /lib/systemd/system/runlevel3.target -&gt; multi-user.target
lrwxrwxrwx 1 root root 17 Jan 29 14:16 /lib/systemd/system/runlevel4.target -&gt; multi-user.target
lrwxrwxrwx 1 root root 16 Jan 29 14:16 /lib/systemd/system/runlevel5.target -&gt; graphical.target
lrwxrwxrwx 1 root root 13 Jan 29 14:16 /lib/systemd/system/runlevel6.target -&gt; reboot.target
$</code></pre></div></div></blockquote></div><p>Thanks.&#160; I started with Redhat in &#039;98, then Mandrake in &#039;02, and have been on Debian-based distros since &#039;05 with Kubuntu/Xubuntu/Mint.&#160; I&#039;ve only been on Devuan since 2018.</p><p>I don&#039;t speak systemd - at least not yet.&#160; <img src="https://dev1galaxy.org/img/smilies/tongue.png" width="15" height="15" alt="tongue" /></p>]]></description>
			<author><![CDATA[dummy@example.com (mweishaar)]]></author>
			<pubDate>Sun, 07 Feb 2021 17:25:34 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=27280#p27280</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan runlevels]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=27279#p27279</link>
			<description><![CDATA[<div class="quotebox"><cite>mweishaar wrote:</cite><blockquote><div><p>when were runlevels 2-5 made the same?</p></div></blockquote></div><p>AFAIK runlevels 2-5 have always been the same in Debian but I&#039;ve only been using it since wheezy so I might be wrong.</p><p>Reference: <a href="https://wiki.debian.org/RunLevel" rel="nofollow">https://wiki.debian.org/RunLevel</a></p><p>But note that in Debian under systemd runlevels 2,3 &amp; 4 are simulated as multi-user.target (which is a console-only boot) whereas runlevel 5 is simulated as graphical.target (which is a graphical boot):</p><div class="codebox"><pre><code>$ ls -l /lib/systemd/system/runlevel?.target 
lrwxrwxrwx 1 root root 15 Jan 29 14:16 /lib/systemd/system/runlevel0.target -&gt; poweroff.target
lrwxrwxrwx 1 root root 13 Jan 29 14:16 /lib/systemd/system/runlevel1.target -&gt; rescue.target
lrwxrwxrwx 1 root root 17 Jan 29 14:16 /lib/systemd/system/runlevel2.target -&gt; multi-user.target
lrwxrwxrwx 1 root root 17 Jan 29 14:16 /lib/systemd/system/runlevel3.target -&gt; multi-user.target
lrwxrwxrwx 1 root root 17 Jan 29 14:16 /lib/systemd/system/runlevel4.target -&gt; multi-user.target
lrwxrwxrwx 1 root root 16 Jan 29 14:16 /lib/systemd/system/runlevel5.target -&gt; graphical.target
lrwxrwxrwx 1 root root 13 Jan 29 14:16 /lib/systemd/system/runlevel6.target -&gt; reboot.target
$</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Sun, 07 Feb 2021 16:48:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=27279#p27279</guid>
		</item>
		<item>
			<title><![CDATA[Devuan runlevels]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=27278#p27278</link>
			<description><![CDATA[<p>I am running beowulf with sysvinit, and just upgraded my video card from an Nvidia GTX 750 to an AMD Radeon R9 380.&#160; Before undertaking this, I decided to make sure I remembered how to boot without X for <span class="bbs"> if </span>&#160; when the need arose.&#160; It has been at least 10 years since I had to do that, and a quick search on google (incorrectly) confirmed X was in runlevel 5 and I should boot into runlevel 3 for text-only mode. </p><p>Always test and verify!&#160; After modifying a grub entry at boot time and appending runlevel 3, it still launched into X.&#160; I checked my runlevel using <span class="bbc"> who -r</span> and confirmed I was in 3.&#160; Ok, so I had to do more research, and dig into grub and runlevels.&#160; This is where I discovered that all my old dusty knowledge didn&#039;t apply anymore.&#160; Default runlevel is 2, not 5.&#160; And it wouldn&#039;t matter if I changed it to 5, because all runlevels 2-5 in /etc/rc#.d were identical.&#160; I eventually modified runlevel 3 to boot without X by disabling slim&#160; <span class="bbc"> sudo update-rc.d slim disable 3</span>, then created a custom boot entry for runlevel 3 in /etc/grub.d/40_custom and added it to grub with <span class="bbc"> sudo update-grub</span>.&#160; Works as expected, no X.</p><p>This post is mainly for posterity.&#160; Even though I&#039;ve been using linux for 20+ years I learned something, including that you don&#039;t need an xorg.conf file anymore.&#160; </p><p>Out of curiosity, when were runlevels 2-5 made the same?&#160; Was it in Debian pre-systemd or is it a Devuan thing?</p>]]></description>
			<author><![CDATA[dummy@example.com (mweishaar)]]></author>
			<pubDate>Sun, 07 Feb 2021 16:26:46 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=27278#p27278</guid>
		</item>
	</channel>
</rss>
