SO I accidently zeroed out my main drive. Meant to put sdb and put sda by mistake. :(

Computer is still on, anyway I can recover? I know if I restart I'm screwed.

marked as duplicate by psusi, Pilot6, David Foerster, Eric Carvalho, Ravan Nov 18 '15 at 13:17

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Backup. Now. If you can. I think that the fact that it's still working is a lucky accident, as soon as the filesystem need to check the superblock it will break. – Rmano Nov 17 '15 at 21:56
  • go ahead and re-install. You can pull your data from the live usb. – Panther Nov 17 '15 at 22:02
  • 6
    In case you interrupted dd while running there may be remnants of some of your files that were not yet overwritten. Only those files can be recovered (e.g. with TestDisk/PhotoRec). All other files will be lost. See askubuntu.com/questions/94421/… – Takkat Nov 17 '15 at 22:02
  • According to this answer it is impossible to recover data from that drive once it is gone. – Alex Lowe Nov 17 '15 at 22:09
  • 1
    @JeanLuis The rest of the disk should be unaffected then :) – Alex Lowe Nov 17 '15 at 22:28

Browse other questions tagged or ask your own question.