A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.
Lost my profile and other customization after adding new harddrives
I'm a relatively newish Linux user. I'm comfortable finding my around the system and doing research to figure out how to do stuff. But I just did something today that I want to understand what went wrong.
I recently installed a Fedora so I was playing around with it, I've set my desktop to be xfce and made some customization in my desktop background image, look, and preferred terminal colors and font. etc. Just mild getting settled in stuff.
I decided to add two hard drives and I also decided I'd mount one of the hard drive at /home and the second hard drive mounted at another point in my own directory, /home/alexander/codebase, the idea being that both hard drives would store my stuff and codebase stuff respectively.
After putting ext4 on both of the hard drives, I then moved my home directory under /home and all of its subdirectories onto one of the new hard drive, added entries to the fstab file to mount the hard drives on /home and /home/alexander/codebase.
I rebooted the system, logged in and everything's changed, it seems to have reverted back to the factory defaults.
I checked the fstab file and verified that my directories are there in their usual places, the new hard drives have been mounted so I thought the system should have automatically loaded my profile and presented me with my expected look and customization.
Clearly something's gone wrong and I'd like to figure out what happened.
Can you give me an idea of what I did wrong? Thanks!