<?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=4727&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / New Chimaera install /home Problem]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=4727</link>
		<description><![CDATA[The most recent posts in New Chimaera install /home Problem.]]></description>
		<lastBuildDate>Sun, 19 Dec 2021 15:58:31 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: New Chimaera install /home Problem]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=33350#p33350</link>
			<description><![CDATA[<p>Thanks for the clues.&#160; Ny daily driver hard disk seemed to have cratered.&#160; It was an old install anyway. I had just partitioned two new hard disks, and I have been backing up home to 2 ssds.&#160; So I have saved /homes up to date in spades.</p><p>It looks like I may have to do the right thing and set up a fstab entry for my /home on this hard disk I am booting from.&#160; And set my users to make sure it boots from that.</p><p>Next to do is purge Devuan of the /home it has in my Devuan partition and make it stop trying to mount it at all.&#160; I was hoping the installer would be more straight forward in allowing setting the proper home directory to use.&#160; Should perhaps that ,ight be a propoer bug report? Just before the crash, I was trying to understand udev rules.</p><p>And now back to fighting setting up Plasma and browsers and getting synaptic working.&#160; Amazingly, to install VLC it wants to rip out my newly installed Vivaldi browser.&#160; I need a beer.</p>]]></description>
			<author><![CDATA[dummy@example.com (Cheerful Charlie)]]></author>
			<pubDate>Sun, 19 Dec 2021 15:58:31 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=33350#p33350</guid>
		</item>
		<item>
			<title><![CDATA[Re: New Chimaera install /home Problem]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=33337#p33337</link>
			<description><![CDATA[<p>Note that @Head_on_a_Stick jumped into the particular solution(s) of how to get the saved filesystem mounted at boot time onto <span class="bbu">/home</span>, under on an assumption like that users Billy and Kate had their home directories saved at top level as <span class="bbu">/billy</span> and <span class="bbu">/kate</span> on the save partition.</p><p>Since I often find myself in some different situation (with old home directories somewhere down deeper on the save partition) I need to do a little bit more and different things. </p><p>Perhaps it&#039;s useful for the OP to first conceive the distinction between</p><ul><li><p>a <span class="bbu">partition</span> which is a portion of a disk, and</p></li><li><p>the <span class="bbu">filesystem</span> a partition contains.</p></li></ul><p>On bootup, the kernel sets up one selected partition&#039;s filesystem as <span class="bbu">root</span> filesystem, and any other partition&#039;s filesystem gets <span class="bbu">mounted</span> (as declared in <span class="bbu">/etc/fstab</span>) onto some directory (to become that subdirectory tree). The pathnames of that second filesystem are then appended to the pathname prefix leading to the <span class="bbu">mount point</span>.</p><p>For example, if the saved data gets mounted on a directory named <span class="bbu">/old</span>, then it&#039;ll be accessible under the saved pathname following the prefix <span class="bbu">/old</span>. In other words, if Biily&#039;s old home directory got saved as <span class="bbu">/home/billy</span> on the save partition, then that will be found as <span class="bbu">/old/home/billy</span> when that partition is mounted onto <span class="bbu">/old</span>. Or it is found as <span class="bbu">/home/home/billy</span> if the partition is mounted onto <span class="bbu">/home</span>.</p><p>Thus, if Billy&#039;s home directory got saved as <span class="bbu">/billy</span> on the save partition, then mounting that partition onto <span class="bbu">/home</span> makes the saved directory accessible as <span class="bbu">/home/billy</span>.</p><p>The home directory for a user is registered in the file <span class="bbu">/etc/passwd</span>. This has one line for each user, with the line divided into parts separated by &quot;:&quot;, and the second last part of a line tells the home directory for the user named as first part of the line.</p><p>In some other scenarios, such as when mounting the save partition onto <span class="bbu">/old</span> because the save path is <span class="bbu">/home/billy</span> on that partition, one might edit <span class="bbu">/etc/passwd</span> to tell that <span class="bbu">billy</span> has <span class="bbu">/old/home/billy</span> as home directory.</p><p>And then, even in that scenario, it is possible to instead use an additional &quot;bind mount&quot; to make the path <span class="bbu">/old/home/billy</span> (also) accessible as path <span class="bbu">/home/billy</span>, and thereby avoid editing <span class="bbu">/etc/passwd</span>. To do this you&#039;ll need two separate entries in <span class="bbu">/etc/fstab</span>: one to mount the partition, and a second one to declare the bind mount.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Sun, 19 Dec 2021 09:57:23 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=33337#p33337</guid>
		</item>
		<item>
			<title><![CDATA[Re: New Chimaera install /home Problem]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=33336#p33336</link>
			<description><![CDATA[<p>Dirty hack (run as root, replace <span class="bbc">X</span> &amp; <span class="bbc">Y</span> with the letter &amp; partition number for the new disk):</p><div class="codebox"><pre><code>mount /dev/sdXY /home
tee -a /etc/fstab &lt;&lt;!
$(grep home /proc/self/mounts)
!
sed -i s!/dev/sdXY!$(lsblk -o mountpoint,uuid|awk &#039;/home/{print $2}&#039;)! /etc/fstab</code></pre></div><p>Alternative, slightly less hacky method (again, as root; this method over-writes /etc/fstab):</p><div class="codebox"><pre><code>apt install arch-install-scripts
mount /dev/sdXY /home
tee /etc/fstab &lt;&lt;!
$(genfstab -U /)
!</code></pre></div><p>If you want try either of those backup /etc/fstab first so it can be restored if necessary:</p><div class="codebox"><pre><code>cp /etc/fstab{,.orig}</code></pre></div><p>To do it properly read <span class="bbc">man fstab</span> and make a new entry for /home yourself.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Sun, 19 Dec 2021 08:44:49 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=33336#p33336</guid>
		</item>
		<item>
			<title><![CDATA[New Chimaera install /home Problem]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=33335#p33335</link>
			<description><![CDATA[<p>I just struggled through an Devuan Chimaera install and managed to get it running.&#160; This is on a 2 Tb hard disk.&#160; I had copied my large /home directory over to this hard disk,&#160; However the Devuan istall seems to hane it&#039;s own /home in the root directory.&#160; My fstab does not seem to show that.&#160; How do I go about setting up Devuan to use my preferred&#160; /home directory and tell it not to look to the newly installed .home directory?&#160; I installed to a 57 GB directory (which fits on a 64 GB flash drive).&#160; From the file manager under Xface I can see and mount the desired /home directory so it is good to go.</p><p>Debian - Devuan is an alien system to me.</p>]]></description>
			<author><![CDATA[dummy@example.com (Cheerful Charlie)]]></author>
			<pubDate>Sun, 19 Dec 2021 02:31:05 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=33335#p33335</guid>
		</item>
	</channel>
</rss>
