Score:1

How to recover an overriten partition?

wf flag

So I thought I try something fancy today and learn how to use the terminal to install a raspberry pi image on a flash drive. The result was not as I imagined.

Apparently I've overwritten my partition containing / and all the important stuff. Which I've only realised after starting my pc up again. (I didn't noticed it for 5h)

The only folders I've left on a different partition are:

  • bin
  • include
  • lib
  • locale
  • packages
  • sbin
  • share
  • src

So I would like to know if it's possible to recover my partition containing / and family, due to me not having a backup flying around, and as so often it contains somewhat important data.

The partition was in encrypted, so idk if that makes it harder or easier to recover. (I've still got the password, so that at least should be an issue)

user535733 avatar
cn flag
I cannot imagine how encryption would make data recovery *easier*.
Flajt avatar
wf flag
@user535733 yeah I think so too, I hope it doesn't make it harder.
ChanganAuto avatar
us flag
It makes it impossible when overwritten, even if only partially. Without encryption some files could be recovered if not actually overwritten but with the encryption you'd need to recover all that just as it was and absolutely pristine. So, impossible.
Flajt avatar
wf flag
@ChanganAuto I thought so, lesson learned tripple check the path names if using dd and commiting every day on Github regardless how far I came + monthly Backups.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.