Good day!
I have faced a certain issue with my Ubuntu system, so I decided to reinstall. The idea was to also keep the home directory as it is.
I might have done something wrong during the installation, my /home folder has changed.
When I open /home now, I can see all the regular folders (Documents, Downloads, Pictures, etc) BUT THEY ARE EMPTY. I can also seee hidden files (.bashrc, .profile) ....
I thought alright.. my previous home directory is gone. I somehow formatted it during the fresh install.
I tried to reinstall Ubuntu again, and then I saw that my sdb drive (1TB drive that was mounted with /home before) has 200gb of its space used. Thought aha! My files are not deleted, I just can not see them.
I installed Ubuntu once more, trying to assign /home to that 1TB drive, hoping it would link to the original home directory.
But by doing that I simply just created a new "user?" or a new "home directory?".
Because when I "cd /home" now, I see:
dir1 - my current directory
dir2 - the one all my files are in
dir3 - new dir created after second install
dir4 - new dir created after third install
What I would like to do is to REMOVE dir1, dir3, dir4, because they are empty and unnecessary
and MAKE my CURRENT directory with the contents of the "dir2".
Thank you
Arvydas
I have faced a certain issue with my Ubuntu system, so I decided to reinstall. The idea was to also keep the home directory as it is.
I might have done something wrong during the installation, my /home folder has changed.
When I open /home now, I can see all the regular folders (Documents, Downloads, Pictures, etc) BUT THEY ARE EMPTY. I can also seee hidden files (.bashrc, .profile) ....
I thought alright.. my previous home directory is gone. I somehow formatted it during the fresh install.
I tried to reinstall Ubuntu again, and then I saw that my sdb drive (1TB drive that was mounted with /home before) has 200gb of its space used. Thought aha! My files are not deleted, I just can not see them.
I installed Ubuntu once more, trying to assign /home to that 1TB drive, hoping it would link to the original home directory.
But by doing that I simply just created a new "user?" or a new "home directory?".
Because when I "cd /home" now, I see:
dir1 - my current directory
dir2 - the one all my files are in
dir3 - new dir created after second install
dir4 - new dir created after third install
What I would like to do is to REMOVE dir1, dir3, dir4, because they are empty and unnecessary
and MAKE my CURRENT directory with the contents of the "dir2".
Thank you
Arvydas