I made a separate partition for /home
, but during installation process I forgot to mount it and hence no entry was made in fstab.
I had everything in partition under the root ( well not the swap and efi system partition). I realised what I did, very late and by that time I had already installed packages and wrote data in the home directory.
Now what I want to know is “is there any way possible to move my home directory to a separate partition with out losing any data?”
I was thinking of doing something like mounting the root directory in /mnt
and than mount a new partition(for home) in /mnt/home
from a liveUSB and than generate the fstab.
But I am like 79% sure that this will wipe out my home directory.
SPEC: Arch Linux x86_64 latest kernel (5.0.4)