You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Home partition not formatted when upgrade - how to retreive old settings?

Author (Read 4911 times)

0 Members and 1 Guest are viewing this topic.

Home partition not formatted when upgrade - how to retreive old settings?
« Reply #1 on: December 11, 2018, 11:21:44 AM »
 

Sprintrdriver

  • Forum Regular
  • ***
  • 110
    Posts
  • Reputation: 6
  • Linux Lite on Dell Lattude D620
    • View Profile

  • CPU: Intel Core2 T5500

  • MEMORY: 3Gb

  • VIDEO CARD: Intel Mobile 945GM/GMS 943/940GML Express
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: [Select]
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:
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 
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).
« Last Edit: December 11, 2018, 01:53:18 PM by Sprintrdriver »
I won't let an old, but fully functional computer die just because some company tell me that they won't make no more security updates to their OS. Thanks Linux :)
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section