3

I wanted to format my USB stick in GParted and didn't see that my Computer drive was selected, so I ended up with this:

Screenshot of disk

I'm still logged in and everything is working right now.

So... Is this my last log in (& I can say farewell to the system) or is there a way to get things back?

(P.S.: I have a backup of important stuff.)

terdon
  • 104,119

1 Answers1

4

You can try to recover lost partitions if no more actions have been done to the disk (format, write...).

Boot from a Ubuntu LiveCD/USB on that machine, open a terminal and install testdisk with sudo apt install testdisk.

Then run sudo testdisk and follow the on screen menu-like instructions to try to recover with this tool.

If you still can't recover or want more options, check this link about data recovery from Ubuntu wiki.

Hope it helps.

dgonzalez
  • 7,310