How to recover data from formatted swap?












5















I am using Ubuntu 12.04. I have 4 partitions of hard disk. 1st of 43 GB contains Windows 7, 2nd (43 GB) and 3rd (32 GB) contained valuable data and 4th of 42GB contains Ubuntu.



Now, while installing Ubuntu 12.04, by mistake I made whole 32GB hard disk SWAP. Now I am unable to access that data neither from Windows nor from Ubuntu. So I installed Gparted and formatted that disk to FAT32 (which was a horrible mistake from my side).



Now I used a recovery software from Windows to recover the lost data but to no avail. I thought may be the disk is in FAT that is why I am unable to recover. So I formatted it again into NTFS. But all the same I am unable to get my precious data back.










share|improve this question





























    5















    I am using Ubuntu 12.04. I have 4 partitions of hard disk. 1st of 43 GB contains Windows 7, 2nd (43 GB) and 3rd (32 GB) contained valuable data and 4th of 42GB contains Ubuntu.



    Now, while installing Ubuntu 12.04, by mistake I made whole 32GB hard disk SWAP. Now I am unable to access that data neither from Windows nor from Ubuntu. So I installed Gparted and formatted that disk to FAT32 (which was a horrible mistake from my side).



    Now I used a recovery software from Windows to recover the lost data but to no avail. I thought may be the disk is in FAT that is why I am unable to recover. So I formatted it again into NTFS. But all the same I am unable to get my precious data back.










    share|improve this question



























      5












      5








      5








      I am using Ubuntu 12.04. I have 4 partitions of hard disk. 1st of 43 GB contains Windows 7, 2nd (43 GB) and 3rd (32 GB) contained valuable data and 4th of 42GB contains Ubuntu.



      Now, while installing Ubuntu 12.04, by mistake I made whole 32GB hard disk SWAP. Now I am unable to access that data neither from Windows nor from Ubuntu. So I installed Gparted and formatted that disk to FAT32 (which was a horrible mistake from my side).



      Now I used a recovery software from Windows to recover the lost data but to no avail. I thought may be the disk is in FAT that is why I am unable to recover. So I formatted it again into NTFS. But all the same I am unable to get my precious data back.










      share|improve this question
















      I am using Ubuntu 12.04. I have 4 partitions of hard disk. 1st of 43 GB contains Windows 7, 2nd (43 GB) and 3rd (32 GB) contained valuable data and 4th of 42GB contains Ubuntu.



      Now, while installing Ubuntu 12.04, by mistake I made whole 32GB hard disk SWAP. Now I am unable to access that data neither from Windows nor from Ubuntu. So I installed Gparted and formatted that disk to FAT32 (which was a horrible mistake from my side).



      Now I used a recovery software from Windows to recover the lost data but to no avail. I thought may be the disk is in FAT that is why I am unable to recover. So I formatted it again into NTFS. But all the same I am unable to get my precious data back.







      partitioning swap data-recovery






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jul 1 '14 at 2:05









      Braiam

      52.4k20138223




      52.4k20138223










      asked May 26 '12 at 5:30









      n.arrow001n.arrow001

      12813




      12813






















          2 Answers
          2






          active

          oldest

          votes


















          2














          What was the original format of the 32 GB partition?



          You need to download and use testdisk from Ubuntu; you can do it with sudo apt-get install testdisk. DO NOT use data recovery tools from or even start Windows -- it is more likely to write to a FAT32 or NTFS drive, erasing any traces of your previous data.






          share|improve this answer
























          • The original format of 32 GB disk was NTFS

            – n.arrow001
            May 26 '12 at 14:36











          • how is testdisk used?

            – n.arrow001
            May 26 '12 at 17:20



















          0














          I have used Stellar Phoenix Linux Data Recovery, and it did wonders for me. I hope that it can help you. You can Download it Here




          Its a Linux Data Recovery software that helps you recover lost or
          inaccessible data from any file system based LINUX volumes.



          Along with powerful recovery techniques, this reliable Linux partition
          recovery software incorporates interactive graphical user interfaces,
          which help non-technical users to perform recovery operations, without
          any assistance.Stellar Phoenix




          Also you can take a look at Ubuntu DataRecovery.






          share|improve this answer


























          • Why was this down-voted?

            – Mitch
            May 26 '12 at 8:35











          • Maybe because it's paid software and Windows-only?

            – ish
            May 26 '12 at 12:42











          • it is not for Windows only. It says in my answer its for Linux. Check their website.. :) Plus if the data is important enough, I don`t think it a bad idea to buy the software..

            – Mitch
            May 26 '12 at 12:48













          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
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f142340%2fhow-to-recover-data-from-formatted-swap%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          2














          What was the original format of the 32 GB partition?



          You need to download and use testdisk from Ubuntu; you can do it with sudo apt-get install testdisk. DO NOT use data recovery tools from or even start Windows -- it is more likely to write to a FAT32 or NTFS drive, erasing any traces of your previous data.






          share|improve this answer
























          • The original format of 32 GB disk was NTFS

            – n.arrow001
            May 26 '12 at 14:36











          • how is testdisk used?

            – n.arrow001
            May 26 '12 at 17:20
















          2














          What was the original format of the 32 GB partition?



          You need to download and use testdisk from Ubuntu; you can do it with sudo apt-get install testdisk. DO NOT use data recovery tools from or even start Windows -- it is more likely to write to a FAT32 or NTFS drive, erasing any traces of your previous data.






          share|improve this answer
























          • The original format of 32 GB disk was NTFS

            – n.arrow001
            May 26 '12 at 14:36











          • how is testdisk used?

            – n.arrow001
            May 26 '12 at 17:20














          2












          2








          2







          What was the original format of the 32 GB partition?



          You need to download and use testdisk from Ubuntu; you can do it with sudo apt-get install testdisk. DO NOT use data recovery tools from or even start Windows -- it is more likely to write to a FAT32 or NTFS drive, erasing any traces of your previous data.






          share|improve this answer













          What was the original format of the 32 GB partition?



          You need to download and use testdisk from Ubuntu; you can do it with sudo apt-get install testdisk. DO NOT use data recovery tools from or even start Windows -- it is more likely to write to a FAT32 or NTFS drive, erasing any traces of your previous data.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered May 26 '12 at 7:56









          ishish

          116k32270294




          116k32270294













          • The original format of 32 GB disk was NTFS

            – n.arrow001
            May 26 '12 at 14:36











          • how is testdisk used?

            – n.arrow001
            May 26 '12 at 17:20



















          • The original format of 32 GB disk was NTFS

            – n.arrow001
            May 26 '12 at 14:36











          • how is testdisk used?

            – n.arrow001
            May 26 '12 at 17:20

















          The original format of 32 GB disk was NTFS

          – n.arrow001
          May 26 '12 at 14:36





          The original format of 32 GB disk was NTFS

          – n.arrow001
          May 26 '12 at 14:36













          how is testdisk used?

          – n.arrow001
          May 26 '12 at 17:20





          how is testdisk used?

          – n.arrow001
          May 26 '12 at 17:20













          0














          I have used Stellar Phoenix Linux Data Recovery, and it did wonders for me. I hope that it can help you. You can Download it Here




          Its a Linux Data Recovery software that helps you recover lost or
          inaccessible data from any file system based LINUX volumes.



          Along with powerful recovery techniques, this reliable Linux partition
          recovery software incorporates interactive graphical user interfaces,
          which help non-technical users to perform recovery operations, without
          any assistance.Stellar Phoenix




          Also you can take a look at Ubuntu DataRecovery.






          share|improve this answer


























          • Why was this down-voted?

            – Mitch
            May 26 '12 at 8:35











          • Maybe because it's paid software and Windows-only?

            – ish
            May 26 '12 at 12:42











          • it is not for Windows only. It says in my answer its for Linux. Check their website.. :) Plus if the data is important enough, I don`t think it a bad idea to buy the software..

            – Mitch
            May 26 '12 at 12:48


















          0














          I have used Stellar Phoenix Linux Data Recovery, and it did wonders for me. I hope that it can help you. You can Download it Here




          Its a Linux Data Recovery software that helps you recover lost or
          inaccessible data from any file system based LINUX volumes.



          Along with powerful recovery techniques, this reliable Linux partition
          recovery software incorporates interactive graphical user interfaces,
          which help non-technical users to perform recovery operations, without
          any assistance.Stellar Phoenix




          Also you can take a look at Ubuntu DataRecovery.






          share|improve this answer


























          • Why was this down-voted?

            – Mitch
            May 26 '12 at 8:35











          • Maybe because it's paid software and Windows-only?

            – ish
            May 26 '12 at 12:42











          • it is not for Windows only. It says in my answer its for Linux. Check their website.. :) Plus if the data is important enough, I don`t think it a bad idea to buy the software..

            – Mitch
            May 26 '12 at 12:48
















          0












          0








          0







          I have used Stellar Phoenix Linux Data Recovery, and it did wonders for me. I hope that it can help you. You can Download it Here




          Its a Linux Data Recovery software that helps you recover lost or
          inaccessible data from any file system based LINUX volumes.



          Along with powerful recovery techniques, this reliable Linux partition
          recovery software incorporates interactive graphical user interfaces,
          which help non-technical users to perform recovery operations, without
          any assistance.Stellar Phoenix




          Also you can take a look at Ubuntu DataRecovery.






          share|improve this answer















          I have used Stellar Phoenix Linux Data Recovery, and it did wonders for me. I hope that it can help you. You can Download it Here




          Its a Linux Data Recovery software that helps you recover lost or
          inaccessible data from any file system based LINUX volumes.



          Along with powerful recovery techniques, this reliable Linux partition
          recovery software incorporates interactive graphical user interfaces,
          which help non-technical users to perform recovery operations, without
          any assistance.Stellar Phoenix




          Also you can take a look at Ubuntu DataRecovery.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jul 1 '14 at 7:39

























          answered May 26 '12 at 5:42









          MitchMitch

          85.3k14173231




          85.3k14173231













          • Why was this down-voted?

            – Mitch
            May 26 '12 at 8:35











          • Maybe because it's paid software and Windows-only?

            – ish
            May 26 '12 at 12:42











          • it is not for Windows only. It says in my answer its for Linux. Check their website.. :) Plus if the data is important enough, I don`t think it a bad idea to buy the software..

            – Mitch
            May 26 '12 at 12:48





















          • Why was this down-voted?

            – Mitch
            May 26 '12 at 8:35











          • Maybe because it's paid software and Windows-only?

            – ish
            May 26 '12 at 12:42











          • it is not for Windows only. It says in my answer its for Linux. Check their website.. :) Plus if the data is important enough, I don`t think it a bad idea to buy the software..

            – Mitch
            May 26 '12 at 12:48



















          Why was this down-voted?

          – Mitch
          May 26 '12 at 8:35





          Why was this down-voted?

          – Mitch
          May 26 '12 at 8:35













          Maybe because it's paid software and Windows-only?

          – ish
          May 26 '12 at 12:42





          Maybe because it's paid software and Windows-only?

          – ish
          May 26 '12 at 12:42













          it is not for Windows only. It says in my answer its for Linux. Check their website.. :) Plus if the data is important enough, I don`t think it a bad idea to buy the software..

          – Mitch
          May 26 '12 at 12:48







          it is not for Windows only. It says in my answer its for Linux. Check their website.. :) Plus if the data is important enough, I don`t think it a bad idea to buy the software..

          – Mitch
          May 26 '12 at 12:48




















          draft saved

          draft discarded




















































          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%2f142340%2fhow-to-recover-data-from-formatted-swap%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

          Human spaceflight

          Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

          張江高科駅