<div dir="ltr"><div>found out how to do it. <br></div><div>blkid #get uuid of desired /home directory</div><div>xed admin:///etc/fstab #add<code> UUID=YOUR_UUID /home ext4 defaults 0 2</code></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 27, 2022 at 11:59 PM T. Zack Crawford via PLUG-discuss <<a href="mailto:plug-discuss@lists.phxlinux.org">plug-discuss@lists.phxlinux.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Mike,<br>
<br>
Is your home directory on a separate partition on the same disk? If so,<br>
is it mounted? I think `lsblk` would give you that information on most<br>
distros. Full disclosure, I've only done something like this on Arch<br>
Linux, so maybe there are more informed people on the subject. A less<br>
technical/easier solution would probably just be to reinstall and point<br>
to the correct partition without wiping it. And everything gets much<br>
harder if you have encrypted disks.<br>
<br>
Since you are making big alterations to your main user, you might<br>
consider logging out and then logging into root on the tty or something<br>
like that. The root user's files are usually at /root instead of in /home.<br>
<br>
I think a short term solution that might work is something along the<br>
lines of:<br>
<br>
```<br>
rm -rf /home/ #make sure you first back up the files you need<br>
# or maybe better do `mv /home /home.bkp`<br>
mount /dev/sdXY /home<br>
```<br>
<br>
And then long term you would have to add a statement in /etc/fstab that<br>
accomplishes that mount statement on boot. This is presuming your user<br>
name (and maybe UID?) are the same from your old install originating<br>
that home partition. Otherwise you might have to add some `chown`<br>
alterations afterward as well.<br>
<br>
See: <a href="https://wiki.archlinux.org/title/Fstab" rel="noreferrer" target="_blank">https://wiki.archlinux.org/title/Fstab</a><br>
<br>
Be careful because:<br>
1. Incorrect syntax in /etc/fstab will stop your machine from<br>
booting properly. I think you can edit /etc/fstab on the command<br>
line in recovery mode, but if not you'd have to edit that file<br>
booted from a live installation image.<br>
<br>
2. Running `chown -R` statements might possibly break how things<br>
were working if they needed particular permissions. This would<br>
matter much more if it were outside /home/your_user .<br>
<br>
You might do a practice run mounting the partition somewhere else, maybe<br>
in the existing home directory e.g. `/home/your_user/mnt` or something<br>
like that. Don't accidentally `rm -r` into your mounted partition. Add<br>
the partition mounting to this alternate point to fstab and make sure<br>
that process worked like how you wanted. Changing fstab is probably<br>
going to be the most difficult part. On Arch Linux there is a cli<br>
module called `genfstab` that might help you in the case it's available.<br>
<br>
I suspect you could probably get more guided help at one of the saturday<br>
install fest sessions. I've never been to one, though.<br>
<br>
<br>
Good luck! Someone interject if there is some bad advice here.<br>
<br>
Zack<br>
<br>
On 22/07/27 08:18PM, Michael via PLUG-discuss wrote:<br>
> On my new mint install home partition was preserved but was not set as<br>
> my home directory. I think home is on the root partition. I don't want<br>
> to reinstall again so would someone walk me through setting it up?<br>
> <br>
> -- <br>
> :-)~MIKE~(-:<br>
<br>
> ---------------------------------------------------<br>
> PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
> To subscribe, unsubscribe, or to change your mail settings:<br>
> <a href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
<br>
---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a></blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><span style="font-size:12.8px">:-)~MIKE~(-:</span><br></div></div></div></div></div>