Linux Lite Forums
Home partition not formatted when upgrade - how to retreive old settings? - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5)
+--- Forum: Installing Linux Lite (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=17)
+--- Thread: Home partition not formatted when upgrade - how to retreive old settings? (/showthread.php?tid=5854)



Home partition not formatted when upgrade - how to retreive old settings? - Sprintrdriver - 12-11-2018

Hi forum.
At last - I have done a install of Linux Lite 4.2 (had 3.6 before). Before I flood the text post with details about what I want and all that, I'll just say that I made a usb stick with like eight distros that I ran each for a while in live-cd mode to see how this old computer reacted and so (I was determined to update to something newer anyway). Yet - I choosed Linux Lite, this is what I want to run on my old Latitude. And the bonus thing is - this is one of the very few distros that actually supports the wifi-card in this computer, and save me for some work (to drag the cat5 cable all around the flor and open doors while installing is a hurdle - I'm a little lazy yes).

Ok here is what I want some help and guidelines forMy /home was a separate partition that was not formatted due to the install of LL 4.2. All the other partitions was formatted ( /boot / /var /tmp ) but otherwise the same partition scheme as before.
On the previous installation (when LL 3.6 was installed), I had two users that I want to transfer all settings for (all content in their home folder):user1 and user2Both user had their home folder encrypted when first created.
I had tried this - no successOpened the Linux Lite User Manager, and simply tried to Add new user with the name user1.
But no - I get this error:
Code:
It was not possible to add  user 'user1'. System message:
useradd: user 'user1' already exists
Incorrect password or command failed. Try again? (y/N)
Is it possible to re-create the old users in a fairly easy way ?

NB : Thi is not a distress situation in any way as I do have backup of all the important stuff that existed in those profiles to an external hdd, so I can always just create new users, log in and copy back old data. But I want to learn if there is other (and smarter) ways to achieve this.


Thanks



[edit]
Currently trying this solution:
https://www.howtogeek.com/116297/how-to-recover-an-encrypted-home-directory-on-ubuntu/
with the exeption - running installed OS.Result : Not successfully - this is the terminal result+output:[table] [tr] [td] gjest  /  home  sudo ecryptfs-recover-private[sudo] password for gjest:
INFO: Searching for encrypted private directories (this might take a while)...
find: ‘/run/user/1000/gvfs’: Permission denied
gjest  /  home  [/td] [/tr] [/table]New minor issue : copy text from terminal also includes non-ascii characters? How to prevent that?
Also reading on that web page (from 2012) saying I should have a pass-phrase from when I created those user profiles. Of course I haven't any pass phrase avaiable, so I assume this is a lost case (ie I have to resort to the backup copy on the external drive).