I needed to reinstall ubuntu on my hard drive because I think I corrupted some files and it wasn't booting up (I know, it was very stupid). I tried to reinstall from a LiveCD by checking the "keep the files" option. Unfortunately, I did this kind of carelessly, where when it asked me for the username and password for the reinstallation, I chose something different than what was already there, which I realize was very stupid. Now I have a new user directory
/home/newusername along with
.Private. I think
.Private has all the original data encrypted and I am trying to recover it.
oldusername does not actually exist as a user, by the way.
I've been reading a whole bunch of answers about how to recover my encrypted files with people that seem to have very similar problems as me, but none of the solutions provided to them seem to work for me and I don't really understand why.
I tried this: https://help.ubuntu.com/community/EncryptedPrivateDirectory#Recovering_Your_Data_Manually And it seems like my data is still encrypted after I am done. I think one thing that I am doing differently is that I am not using a LiveCD here. I'm just running the commands on the disk.
I feel so stupid for getting to this stage, because I did so many dumb things to get to this point and it feels very hopeless. Please help if you possibly can.