<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=3476&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Install Devuan Beowulf in Windows 10 WSL (Windows Subsystem for Linux)]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=3476</link>
		<description><![CDATA[The most recent posts in Install Devuan Beowulf in Windows 10 WSL (Windows Subsystem for Linux).]]></description>
		<lastBuildDate>Fri, 01 Mar 2024 20:27:11 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Install Devuan Beowulf in Windows 10 WSL (Windows Subsystem for Linux)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=48600#p48600</link>
			<description><![CDATA[<p>Yes, I probably did a direct dist-upgrade to Daedalus and skipped Chimaera (facepalm).</p><p>For my work, I am given a Windows11 laptop, but have to access often and administer Linux servers. Having a Linux environment always handy is useful. I have not yet decided if I prefer WSL to a Linux installation on a virtual machine. I am still experimenting and evaluating.</p><p>It surely feels like an assimilation attempt from Microsoft to get Linux users &quot;Borged&quot;! :-)</p>]]></description>
			<author><![CDATA[dummy@example.com (mmaglis)]]></author>
			<pubDate>Fri, 01 Mar 2024 20:27:11 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=48600#p48600</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install Devuan Beowulf in Windows 10 WSL (Windows Subsystem for Linux)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=48280#p48280</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>Did you skip Chimaera?</p></div></blockquote></div><p>I was wondering the same thing, but delgado posted before I did.</p><p>This WSL is good for a some people, but I only need windows to run my tax program once or twice a year, and a couple other programs during the year.&#160; I prefer to use a windows virtual machine in a devuan host system than to use WSL in a windows machine.&#160; But this was fun to play with.</p>]]></description>
			<author><![CDATA[dummy@example.com (nixer)]]></author>
			<pubDate>Sun, 18 Feb 2024 12:46:16 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=48280#p48280</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install Devuan Beowulf in Windows 10 WSL (Windows Subsystem for Linux)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=48260#p48260</link>
			<description><![CDATA[<p>Did you skip Chimaera?<br />dist-upgrade works fine form one version to the next release.</p>]]></description>
			<author><![CDATA[dummy@example.com (delgado)]]></author>
			<pubDate>Sat, 17 Feb 2024 18:01:24 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=48260#p48260</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install Devuan Beowulf in Windows 10 WSL (Windows Subsystem for Linux)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=48255#p48255</link>
			<description><![CDATA[<p>For anyone looking for Devuan on Windows Subsystem for Linux (WSL), there is now a much easier way with DevuanWSL <a href="https://github.com/VPraharsha03/DevuanWSL" rel="nofollow">https://github.com/VPraharsha03/DevuanWSL</a></p><p>Image is Beowulf based.<br />dist-upgrade to Daedalus brakes.</p>]]></description>
			<author><![CDATA[dummy@example.com (mmaglis)]]></author>
			<pubDate>Sat, 17 Feb 2024 13:06:17 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=48255#p48255</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install Devuan Beowulf in Windows 10 WSL (Windows Subsystem for Linux)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=21371#p21371</link>
			<description><![CDATA[<p>Thanks nixer! I had someone asking me for help with this a couple of weeks ago, but I didn&#039;t have a clue where to even start. Thanks for posting this and giving me something to point him to!</p>]]></description>
			<author><![CDATA[dummy@example.com (MiyoLinux)]]></author>
			<pubDate>Sat, 02 May 2020 03:30:01 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=21371#p21371</guid>
		</item>
		<item>
			<title><![CDATA[Install Devuan Beowulf in Windows 10 WSL (Windows Subsystem for Linux)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=21364#p21364</link>
			<description><![CDATA[<p><a href="https://dev1galaxy.org/viewtopic.php?pid=18006#p18006" rel="nofollow">FlibberTGibbet</a> mentioned that the Buster to Beowulf migration did work in WSL.&#160; I had read about WSL but never tried it, so I gave it a spin.&#160; It works.</p><p>This process is divided into three main parts:<br />Activate WSL in Windows 10 &gt; Install Debian from MS Store &gt; Migrate to Beowulf</p><p>Why do this?&#160; &gt; Why not?&#160; It is there, give it a try and see if it helps with your productivity in some way.&#160; My purpose was to run a native linux app &quot;Virtual-Manager&quot; (virt-manager) within windows for a friend of mine who wants to access KVM and its vhosts.&#160; Your purpose may be different.</p><p><a href="https://linuxhint.com/install_windows_subsystem_linux/" rel="nofollow">Install/Activate WSL in Windows</a></p><p>You will need to install an xserver in windows if you wish to display native linux apps.&#160; After all, this is my reason for testing this WSL.&#160; Xming seems to be the most popular, but <a href="https://seanthegeek.net/234/graphical-linux-applications-bash-ubuntu-windows/" rel="nofollow">this page</a> mentioned that <a href="https://sourceforge.net/projects/vcxsrv/" rel="nofollow">vcxsrv</a> was the most pure opensource xserver for windows available.&#160; It seems to work fine.</p><p><a href="https://wiki.debian.org/InstallingDebianOn/Microsoft/Windows/SubsystemForLinux" rel="nofollow">Install Debian in WSL</a></p><p>Boot up the &quot;program&quot; Debian in Windows 10.&#160; You should have sudo rights by default, but if you want a root user, set the root password with:</p><div class="codebox"><pre><code>sudo passwd root</code></pre></div><p><a href="https://beta.devuan.org/os/documentation/dev1fanboy/en/buster-to-beowulf" rel="nofollow">Migrate Debian Buster to Devuan Beowulf</a>:</p><p>My migration steps, mostly taken from the link above.</p><p>This step may be optional, but I have done it on all Beowulf upgrades and migrations that I have done.<br />export the PATH in /root/.bashrc with:</p><div class="quotebox"><blockquote><div><p>export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin</p></div></blockquote></div><p>Change apt sources:</p><div class="codebox"><pre><code>nano /etc/apt/sources.list</code></pre></div><p>Make your sources.list look like the one provided. Comment out all other lines.</p><p>deb <a href="http://deb.devuan.org/merged" rel="nofollow">http://deb.devuan.org/merged</a> beowulf main<br />deb <a href="http://deb.devuan.org/merged" rel="nofollow">http://deb.devuan.org/merged</a> beowulf-updates main<br />deb <a href="http://deb.devuan.org/merged" rel="nofollow">http://deb.devuan.org/merged</a> beowulf-security main<br />#deb <a href="http://deb.devuan.org/merged" rel="nofollow">http://deb.devuan.org/merged</a> beowulf-backports main</p><p>Now you have to update the package lists from the Beowulf repositories. <br />Recent changes in APT mean this is not allowed but we can override this behaviour.</p><div class="codebox"><pre><code>apt update --allow-insecure-repositories</code></pre></div><p>The Devuan keyring should now be installed so that packages can be authenticated.</p><div class="codebox"><pre><code>apt install devuan-keyring --allow-unauthenticated</code></pre></div><p>Update the package lists again so that packages are authenticated from here on in.</p><div class="codebox"><pre><code>apt update</code></pre></div><p>Upgrade your packages so that you have the latest versions. Note that this does not complete the migration.</p><div class="codebox"><pre><code>apt upgrade</code></pre></div><p>Once this is done eudev needs to be installed. </p><div class="codebox"><pre><code>apt install eudev</code></pre></div><p>The last command is known to cause package breaks but we will fix this as part of the migration process.</p><div class="codebox"><pre><code>apt -f install</code></pre></div><p>The command to install eudev pulled in sysvinit-core, but not sysvinit, so:</p><div class="codebox"><pre><code>apt install sysvinit</code></pre></div><p>Just to make sure all is updated:</p><div class="codebox"><pre><code>apt dist-upgrade</code></pre></div><p>Systemd* packages were removed during this process, but just to make sure:</p><div class="codebox"><pre><code>apt purge systemd libnss-systemd</code></pre></div><div class="codebox"><pre><code>apt autoremove --purge</code></pre></div><div class="codebox"><pre><code>apt autoclean</code></pre></div><p>Before you start installing any packages in WSL, I recommend that you make apt to not install recommended packages.&#160; <br />I suspect this will help keep the WSL smaller and leaner.&#160; Add the following to /etc/apt/apt.conf.d/00norecommends:</p><div class="quotebox"><blockquote><div><p>APT::Install-Recommends &quot;no&quot;;</p></div></blockquote></div><p>Reboot&#160; &gt;&#160; But the shutdown/reboot commands do not work in WSL.&#160; The <a href="https://www.how2shout.com/how-to/how-to-reboot-wsl-windows-subsystem-linux-in-windows-10.html" rel="nofollow">WSL process has to be stopped/started</a> like any other service in Windows.</p><p>If you install openssh-server, you will notice that it does not start automatically with WSL, nor will most, or all, other linux services that you think should start.&#160; Installing sysv-rc-conf and rcconf programs do not help, unless I did something wrong.&#160; This may be a bug but I see no error message anywhere, yet.&#160; However, this little <a href="https://github.com/troytse/wsl-autostart" rel="nofollow">script</a> seems to control the start/stop of both WSL and its system services at the windows boot.&#160; Beware, this script will start WSL with Windows, and it will start the (linux services) that you add to the command.txt file list.&#160; I don&#039;t know about the security of this, but it seems to work.</p><p>Like FlibberTGibbet said, there is a niche group of people who would want or need this.&#160; I feel this is true, but I am only tinkering.</p><p>I did not take exact notes during this testing, so if I made a mistake or overlooked something, please add your input.&#160; After finding some good links, this was pretty easy.&#160; And FlibberT was right, it is nice to have a (Devuan) linux terminal available in windows.&#160; If I am going to use windows, I do want some Devuan on it.&#160; </p><p>The option to use virtualization in windows still stands, but the ability to use a native linux program in windows without using a virtualization program is pretty neat too.&#160; It removes a layer of complexity for the end user.&#160; Instead of learning an entire program like virtualbox, the user only has to learn a couple of terminal commands to keep the WSL updated.&#160; I hope my friend appreciates this new capability, and others may as well. </p><p>The only problem that I have seen thus far, is that the virt-manager program does not read the keys from the preferred $HOME area of the WSL user.&#160; It reads the keys from the global /etc/pki/libvirt location within WSL.&#160; The program &quot;virt-manager&quot; does work.&#160; Will need to look into this more, later on.</p>]]></description>
			<author><![CDATA[dummy@example.com (nixer)]]></author>
			<pubDate>Fri, 01 May 2020 15:39:39 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=21364#p21364</guid>
		</item>
	</channel>
</rss>
