I have fedora 38 xfce installed in virtualbox and wanted to see if I could make a new home subvolume in a separate drive since I am planning to add an nvme ssd on my main machine later.
Here is what I did:
created a virtual harddrive (vhd)
formatted it to linux lvm
created a volume group and a new volume in it.
created a btrfs filesystem with mkfs.btrfs in the new volume
mounted it to /mnt
created a home subvolume which I verified with “btrfs subvolume list -a ”
moved my home directory to the new subvolume
changed default home directory with “usermod”
edited fstab to add the new volume and commented out the older one.
result of “mount” command:
So far everything works fine. Tried ssh-ing from the host machine and it lands me on the new home directory and all bashrc and profile files looks fine.
BUT login through lightdm is not working. It accepts the password, blacks out as if its actually logging me in but then returns back to the login screen. Root login works fine as before.
Any advice or suggestion is greatly appreciated.