I had garuda linux installed since I was facing lot of stability issues with it. I decided to go with linux mint cinnamon edition. While installation I chose manual partitioning. Following are the changes I made while installation
- For root partitioon, I ticked on format partition and selected mount point as root and file system as btrfs earlier also it was btrfs.
- I did not select format partition for my old home partition and selected mount point as home with btrfs
- Eventualy I selected my efi partition for bootloader installtion
- After going through selecting timezone and maybe installation screen I was asked what to name the user directory. I switched OS after a long time so I forgot that to reuse the same old home directory we have to name it same while switching a distro and I renamed it with something else. After I booted, I saw that my old home data was not there and realized that I made a mistake while naming.
Now, If I check through gparted it shows me that out of 142 Gb of home partition 75 GB is already used. Out of which 72 GB is probably of old user directory and 3 GB is from new user directory I have. I tried to look at hidden files in my home directory and it doesn't show old user directory there. I also tried testdisk but it also doesn't show old user directory in it's analysis so I am assuming it's not deleted and it's there but I don't know how can I access it since I can't see it anywhere.
Your help is greatly appreciated if I can somehow access my old user directory
ls -al /homeand can't see the old user directory. Try again as root. The new distribution may use a differed GID for a common group that provides read-access to the old user directory. The key right now is to mount/homeas READ ONLY to avoid the possibility of further compromise of the data.mount -o remount,ro /home(you can't have open files on/homewhen you remount) You may need to shutdown and boot from the install disk andchrootthe new system or just mount the old/homeat a temporary mount point under/mntdirectly from the installer.ls -al /homeas root and I only get current user directory and not the old one. Regarding mounting home as read only, I am not sure how to do that. Would it be okay to follow this guide