In dolphin, on the panel of the left below, the “Devices” section has three entries:
40.0 Gib Hard Drive
20.0 Gib Hard Drive
172.7 Gib Hard Drive
And for each I can see its content. The first two entries have directories you mentioned, and the third one contains my user directory. I suppose this directory should contain my directories and files from the previous installation, but it only holds the normal directories (bin, Desktop, Documents, etc.). Nothing about my own directories and files.
Additionally, in the “Places” section on the panel on the left, there are two home directories. The second one has the normal directories (bin,documents, downloads, etc.)
But, clicking on the first home rises an error message
The file or folder /home/gustavo does not exist.
gustavo is my original user name.
However, as I said before, after booting Leap 15.0 at the first time, and observing /home/gustavo was empty, I renamed this directory to newgustavo, and then I’ve trying to generate a new gustavo user by using Yast.
Ok, IMHO this confirms my idea that you installed 15.0 alongside 43.2 and that you now have a multi boot situation with the two.
But, while I was sleeping others have started on different pathes. That is fine, but I can not follow my own path when complete different ways are followed in the mean time. Possibly changing things on the way. I am not blaming you or everyone else here, but I am unable to follow on on this and I also thinks that you as OP are able to still follow what you are doing and who to answer to. It is a negative side of forums like this.
newgustavo@linux-wavh:~> su -
Password:
linux-wavh:~ # du -dl /home/
du: invalid maximum depth ‘l’
Try 'du --help' for more information.
linux-wavh:~ #
Depends on which home partition is mounted and if you changed names then there will be a new empty user directory in /home under the new name the old should be there or perhaps on a different partition.
Please first explain what you mean with “the home folder”. That is imprecise. There is the /home directory and inside it are the home directories of the different users you have configured (maybe only one) like /home/<username1>, /home/<username2>, etc…
Please do not tell stories alone, but post:
ls -l /home
Will show you and us if /home is there and what is inside.
That is possible, but I have still hope that the OP did not recreate the /home file system and this is his old /home with old /home/gustavo. The descriptions of what he did are very vague.
Why could the Leap 15.0 installation process do such thing? I have not changed nothing on the suggested configuration of partitions.
Also, during installation, I’ve marked
As we never saw that proposal we have no comment on it.
Please do not repeat what you have told us already a few times, but show what the commands do. Else we can not do much for you except advising to reload your data from your backup.
This happens if you tick (by mistake?) the “Format partition” box, but should not happen if you “change nothing” as you wrote.
Also, during installation, I’ve marked
Import User Data from a Previous Installation
and then, I’ve selected the gustavo user.
This is to copy the login data of the user (password, username etc.) not the actual data the user might have saved in his /home/ folder, which can be overwritten if the /home partition is re-formatted.
This shows that some folders and data should be visible under /home/newgustavo, since the numbers for a newly created user are in the 4-figure to low 5-figure range. We cannot guess if those are the files you are looking for, but:
ls -l /home
or
ls -l /home/newgustavo
should show them, as hcvv already suggested (use a superuser account if you face permission problems).
And, confirm that all your old files are in that newgustavo directory. You can do that as root, look in there and confirm that your files are there, or are not there.
Also, confirm exactly where/what partition and path, that newgustavo directory is, if it still contains your old data.
Apologies for the silence, but I was trying to understand better this problem. In my searching, I found in an old thread, a comment by john_hudson which can explain my problem.
https://forums.opensuse.org/images/icons/icon1.png Re: Re : fresh install keeping home folder Ever since I got a separate /home partition, I have always done fresh installs and, though I have always made a backup beforehand, I have never needed to use it. **The only issue is that, if you have more than one user you can avoid problems by adding them in the same order each time**.
I didn’t follow John’s advice: In my case, in the original 42.3 version I had two users, but when I installed Leap 15.0, I selected the second one and omitted the first one. I think, this selection is generating problems to Leap 15.0 in order to restore my original user content. I didn’t mentioned I had omitted a user throughout the Leap 15.0 installation because it seemed irrelevant. But according to the John’s comment it is not.
I did not use the 15.0 installer (I upgraded over the net), but I did fresh installations over old ones (keeping /home) most of the time and in all cases the installer detected that there was already a system on the disk. It then had a check box: Read User Data from Previous Installation. On checking it, you then get a list of users presented where you can choose from. For me the choice All and the OK imported all those users and groups with their correct UID/GID, etc. Ni further adding of them needed at all.