Hi. I have a hard drive that i erased another distro from, keeping the separate /home directory on it. I installed artix on this drive as the 1st partition. but... artix put the home inside the 1st partition, and there is still the /home on partition 2. So I want to switch from the /home on the root partition to the /home on the 2nd partition.
I tried using a uuid /home ext4 defaults 0 2 in fstab but this did not work. I would appreciate any expert help.
How's your fstab now? What exactly does not work, it's still mounting the old home, or not mounting anything at all?
Anything about your home partition on the output of sudo dmesg?
Can you mount it manually? sudo mount /dev/$YOUR_PARTITION /home
Could you post:
The partition home is on in /dev/sdX format if possible.
sudo blkid
and
cat /etc/fstab
first mount it and copy you current home to it with the mount command
sudo mount /dev/sdwhatever /mnt
sudo rsync -av /home /mnt
now as root you can mount over it and then check it out to make sure it works as you expect. Log out and log in as root
mount /dev/whatever /home
ctl alt F3
in the new term just log in and make sure things work
if everything is working, you can now edit /etc/fstab
flatbush:[ruben]:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=E1D2-8031 /boot/efi vfat umask=0077 0 2
add a home entry using blkid to id the partition
You might already have a home entry. Comment it out and rewrite the new one with the new uuid and filesystem type
in theory you can reboot and log in to your new home partition