yordy wrote:
Any idea why is this? Or how can I restore all the data pre existing in that
partition?
in addition to link jd posted, from a terminal, run 'man e2fsck'.
press '/' and type in '-y', press <enter>, press 'n' key twice to see
what you did.
after, read entire man for e2fsck to have a better understanding of how
it works.
before you run any command that you are not sure of, use 'man' to read
up on operation.
it has been said many times, 'man is your friend', and it can save you
a lot of problems by knowing how commands work.