How would I recover data from a harddrive that accidentally had a OS image written to it?How to recover a...

What is the offset in a seaplane's hull?

DOS, create pipe for stdin/stdout of command.com(or 4dos.com) in C or Batch?

What typically incentivizes a professor to change jobs to a lower ranking university?

I probably found a bug with the sudo apt install function

How is this relation reflexive?

Is there really no realistic way for a skeleton monster to move around without magic?

How to report a triplet of septets in NMR tabulation?

How to re-create Edward Weson's Pepper No. 30?

Why don't electromagnetic waves interact with each other?

Copycat chess is back

What would the Romans have called "sorcery"?

Can I make popcorn with any corn?

N.B. ligature in Latex

If Manufacturer spice model and Datasheet give different values which should I use?

Is it tax fraud for an individual to declare non-taxable revenue as taxable income? (US tax laws)

How can bays and straits be determined in a procedurally generated map?

Is there a familial term for apples and pears?

whey we use polarized capacitor?

Continuity at a point in terms of closure

Infinite past with a beginning?

What would happen to a modern skyscraper if it rains micro blackholes?

How old can references or sources in a thesis be?

How to make payment on the internet without leaving a money trail?

Why has Russell's definition of numbers using equivalence classes been finally abandoned? ( If it has actually been abandoned).



How would I recover data from a harddrive that accidentally had a OS image written to it?


How to recover a deleted NTFS partition with dataReplaced Window7(4drives) with Ubuntu13.04(empty) Lost all data, TestDisk did not helpAccidentally partitioned media drive as ext3 during install (was ext4), how can I recover?Recover data from external disk using testdisk and photorecHow to recover data from a thrice formatted HDD?Ubuntu don`t see 1 of my hard drivesPartitions lost trying to create bootable iso diskHow to recover lost data after installing Ubuntu 16.04Unable to recongnize patition table after overwriting the first MB of HD. How can I recover the dataIs there a way to recover data from Ubuntu's file system after formatting the hard drive and installing Windows?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















While trying to write a OS image to a SD card for my single board computer via the terminal, I ended up accidentally writing the image to one of my 500gb hard drives in my computer instead of the SD card. Originally the drive was NTFS formatted, now it has the contents of the OS image (Two partitions a fat16 that is 80MiB and a ext4 that is 465.66MiB). the command I used was "sudo ./format_sd.sh /dev/sdc" I have tried TestDisk but it only recognized the partitions that were accidentally written to it.
Is there any way I can recover most or all of the files?










share|improve this question







New contributor




Kevin B is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



























    0















    While trying to write a OS image to a SD card for my single board computer via the terminal, I ended up accidentally writing the image to one of my 500gb hard drives in my computer instead of the SD card. Originally the drive was NTFS formatted, now it has the contents of the OS image (Two partitions a fat16 that is 80MiB and a ext4 that is 465.66MiB). the command I used was "sudo ./format_sd.sh /dev/sdc" I have tried TestDisk but it only recognized the partitions that were accidentally written to it.
    Is there any way I can recover most or all of the files?










    share|improve this question







    New contributor




    Kevin B is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      While trying to write a OS image to a SD card for my single board computer via the terminal, I ended up accidentally writing the image to one of my 500gb hard drives in my computer instead of the SD card. Originally the drive was NTFS formatted, now it has the contents of the OS image (Two partitions a fat16 that is 80MiB and a ext4 that is 465.66MiB). the command I used was "sudo ./format_sd.sh /dev/sdc" I have tried TestDisk but it only recognized the partitions that were accidentally written to it.
      Is there any way I can recover most or all of the files?










      share|improve this question







      New contributor




      Kevin B is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      While trying to write a OS image to a SD card for my single board computer via the terminal, I ended up accidentally writing the image to one of my 500gb hard drives in my computer instead of the SD card. Originally the drive was NTFS formatted, now it has the contents of the OS image (Two partitions a fat16 that is 80MiB and a ext4 that is 465.66MiB). the command I used was "sudo ./format_sd.sh /dev/sdc" I have tried TestDisk but it only recognized the partitions that were accidentally written to it.
      Is there any way I can recover most or all of the files?







      partitioning hard-drive data-recovery






      share|improve this question







      New contributor




      Kevin B is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      Kevin B is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      Kevin B is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 56 mins ago









      Kevin BKevin B

      11




      11




      New contributor




      Kevin B is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Kevin B is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Kevin B is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          Kevin B is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1131982%2fhow-would-i-recover-data-from-a-harddrive-that-accidentally-had-a-os-image-writt%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Kevin B is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Kevin B is a new contributor. Be nice, and check out our Code of Conduct.













          Kevin B is a new contributor. Be nice, and check out our Code of Conduct.












          Kevin B is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1131982%2fhow-would-i-recover-data-from-a-harddrive-that-accidentally-had-a-os-image-writt%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          List of shipwrecks in 1808...

          Is there a lightweight tool to crop images quickly?Cropping Images using Command Line Tools OnlyHow to crop...

          Unit packagekit.service is masked Announcing the arrival of Valued Associate #679: Cesar...