Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 966  / 2 Years ago, tue, march 1, 2022, 4:55:25

I just installed ubuntu as my first linux experience. I've did some research beforehand, and read about swap memory increasing performance. I have data parition (D:/) where I keep all my data, and that one also had the most free space. so I selected that one. I did NOT select the format option.



I'm currently on windows 7, and I can only see my C:/ partition, which has windows stored on it.



Did I just erased all the data on my D:/ paritition? :(



I can't check on ubuntu if the data is there because Ubuntu is missing from the boot options. I actually have no idea how to get in there.


More From » dual-boot

 Answers
5

After about 40 hours of googeling and experimenting I found that the solution was a simple as this:




  • start testdisk from ubuntu


  • select your drive (usually the default - intel)


  • select "Advanced"







In case you do not get the "List" option:




  • select the swap partition, and at the bottom menu select "Type"


  • press enter and enter " 7" when it asks for the type (original should be 82)


  • DO NOT REBOOT, even if it tells you to (messed up alot of stuff for me)








  • repeat step 1 tot 2, but now select "List"


  • search for the files you want to backup, press C and select the directory that you want to copy to (has to be on a different partition)




Unfortunately after all the previous messing with partitions I have lost literally every file that I was hoping to get back. But it still seems I have about 60% left of everything else.
I still have an image from ddrescue that might be my final hope.


[#36518] Thursday, March 3, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ttarum

Total Points: 417
Total Questions: 101
Total Answers: 115

Location: Maldives
Member since Wed, Nov 4, 2020
4 Years ago
ttarum questions
Sat, Aug 20, 22, 12:42, 2 Years ago
Wed, Sep 28, 22, 18:07, 2 Years ago
Mon, Feb 7, 22, 20:23, 2 Years ago
;