Recover deleted partition using testdiskrecovering ext4 partition after dd'ing over start of HDHow to recover...

If the Moon were impacted by a suitably sized meteor, how long would it take to impact the Earth?

Bouncing map back into its bounds, after user dragged it out

My employer is refusing to give me the pay that was advertised after an internal job move

Applications of pure mathematics in operations research

Security measures that could plausibly last 150+ years?

What would the United Kingdom's "optimal" Brexit deal look like?

Prepare a user to perform an action before proceeding to the next step

"Valet parking " or "parking valet"

Why would an invisible personal shield be necessary?

Why are prop blades not shaped like household fan blades?

Can I attune a Circlet of Human Perfection to my animated skeletons to allow them to blend in and speak?

How would a lunar colony attack Earth?

Did Vladimir Lenin have a cat?

How to choose using Collection<Id> rather than Collection<String>, or the opposite?

What force enables us to walk? Friction or normal reaction?

Would people understand me speaking German all over Europe?

Exploiting the delay when a festival ticket is scanned

Rampant sharing of authorship among colleagues in the name of "collaboration". Is not taking part in it a death knell for a future in academia?

Patio gate not at right angle to the house

Three Dots in Center Page

How can Paypal know my card is being used in another account?

Why are we moving in circles with a tandem kayak?

Why would anyone ever invest in a cash-only etf?

What is my clock telling me to do?



Recover deleted partition using testdisk


recovering ext4 partition after dd'ing over start of HDHow to recover the partition table (Windows, Ubuntu) of an unallocated disc?Recovering windows partition in Mint (testdisk fails)Data recovery from an accidental format on ext4 partitiontestdisk partition recoveryCan I repair a HFS+ volume if the files were unreadable after “Easus Recovery Wizard” recovery? Testdisk & Diskutil info belowRecover the contents of a formatted disk?Can't boot into Windows after updating boot partition tableCan't wipe partition table after messing with ddRescueing Microsoft reserved partition






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







0















Last night I was not as awake as I thougt i was and I ended up formatting the wrong drive using GParted.....



I thought of testdisk to recover the lost partition but I don't really understand how to use it.



First of all Testdisk detect the partition table of my drive as "none" where as it should be detected as Intel (in my opinion)
Partition table



If I select an Intel partition type and then analyse --> deeper search it showing in the first second of the scan the correct (backup superblock ?) of my "Lacie1To" partition witch used to be the only Ext4 partition occupying all the disk.



enter image description here



But if I clicked on stop it doesn't show me the partition in the list.



So my question, what should I do with this info ?










share|improve this question

















bumped to the homepage by Community 22 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.























    0















    Last night I was not as awake as I thougt i was and I ended up formatting the wrong drive using GParted.....



    I thought of testdisk to recover the lost partition but I don't really understand how to use it.



    First of all Testdisk detect the partition table of my drive as "none" where as it should be detected as Intel (in my opinion)
    Partition table



    If I select an Intel partition type and then analyse --> deeper search it showing in the first second of the scan the correct (backup superblock ?) of my "Lacie1To" partition witch used to be the only Ext4 partition occupying all the disk.



    enter image description here



    But if I clicked on stop it doesn't show me the partition in the list.



    So my question, what should I do with this info ?










    share|improve this question

















    bumped to the homepage by Community 22 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.



















      0












      0








      0








      Last night I was not as awake as I thougt i was and I ended up formatting the wrong drive using GParted.....



      I thought of testdisk to recover the lost partition but I don't really understand how to use it.



      First of all Testdisk detect the partition table of my drive as "none" where as it should be detected as Intel (in my opinion)
      Partition table



      If I select an Intel partition type and then analyse --> deeper search it showing in the first second of the scan the correct (backup superblock ?) of my "Lacie1To" partition witch used to be the only Ext4 partition occupying all the disk.



      enter image description here



      But if I clicked on stop it doesn't show me the partition in the list.



      So my question, what should I do with this info ?










      share|improve this question
















      Last night I was not as awake as I thougt i was and I ended up formatting the wrong drive using GParted.....



      I thought of testdisk to recover the lost partition but I don't really understand how to use it.



      First of all Testdisk detect the partition table of my drive as "none" where as it should be detected as Intel (in my opinion)
      Partition table



      If I select an Intel partition type and then analyse --> deeper search it showing in the first second of the scan the correct (backup superblock ?) of my "Lacie1To" partition witch used to be the only Ext4 partition occupying all the disk.



      enter image description here



      But if I clicked on stop it doesn't show me the partition in the list.



      So my question, what should I do with this info ?







      partition testdisk






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 24 at 2:33









      Rui F Ribeiro

      41k16 gold badges92 silver badges152 bronze badges




      41k16 gold badges92 silver badges152 bronze badges










      asked Feb 6 '17 at 20:11









      user3127125user3127125

      11 bronze badge




      11 bronze badge






      bumped to the homepage by Community 22 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.









      bumped to the homepage by Community 22 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 22 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          You have surely deleted the MBR/GPT block of your disk (Block 0 of whole disk). You can try to copy with a hexeditor (wxHexedit) the Superblock from the locations on disk back to the original position



          BUT In your case I would ASAP




          1. Get 2 (!) another - same - sized harddisk

          2. Download a UBCD ISO and burn it to CD/put it onto USB and run it

          3. make a backup of your accidential formatted disk with ddrescue <formatted drive> <new drive #1> (put in the disk names like /dev/sda etc.). Takes upto 24 hours!

          4. Run then qphotorec on to the formatted drive with destination on new drive #2 (make this - but only this - drive usable with windows etc. format)

          5. If you don't understand anything what here written, get asap to your next Linux GURU :)


          Seriously: if you haven't backup/written the GPT/MBR/block/CHS start adresses of your partitions as you installled your disk at first time, it's really hard to create a new MBR/GPT Block (using hexdeditors, gpart etc). In your case the qphotorec (recovers almost all files) is the best and easiest way






          share|improve this answer




























          • I'm interested in using wxHexedit be didn't find any tutorial, do you have any link ? 1) Shiping of HDD2 in progress ! 2) I don't need a live cd or else, there where only data on it and no os so the computer can still boot without any problem. 3) backup on HDD1 in progress ! 4) I've tried with recuva who found the files and restored them but without the name or the path.... 5) That's the problem, i'm supposed to be the Linux Guru ;)

            – user3127125
            Feb 6 '17 at 21:27













          • Try linux "gpart" (NOT gparted!!!). It's rather an older linux shell appication, which scans the whole disk for partitions an prints them (I think, EXT3 etc. it will find, but not new stuff like BTRFS) Current wxHexEdit (Debian) has a big bug (which I - as far I have some time -I'll fix), so try using Okteta (You have to install KDesktop package). Before you try to create a new MBR/GPT, have a look how an GPT/MBR is build up (GPT is easier). In Okteta then try to open the disk, look for the blocks of disk and backup on your OS disk. Then create a new one with the data of gpart (NOT gparted)

            – aprogrammer
            Feb 17 '17 at 19:32













          • If Recuva did recover all files on an extra disk, you are on the sure site. For pictures there are some linux scripts which try to recover the picture name by the content tags (even for mp3). For Microsoft files are there programs too, which renames the files by their content. But before you get in the renaming files hell, backup all files again you've recovered

            – aprogrammer
            Feb 17 '17 at 19:41
















          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          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: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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%2funix.stackexchange.com%2fquestions%2f342978%2frecover-deleted-partition-using-testdisk%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          You have surely deleted the MBR/GPT block of your disk (Block 0 of whole disk). You can try to copy with a hexeditor (wxHexedit) the Superblock from the locations on disk back to the original position



          BUT In your case I would ASAP




          1. Get 2 (!) another - same - sized harddisk

          2. Download a UBCD ISO and burn it to CD/put it onto USB and run it

          3. make a backup of your accidential formatted disk with ddrescue <formatted drive> <new drive #1> (put in the disk names like /dev/sda etc.). Takes upto 24 hours!

          4. Run then qphotorec on to the formatted drive with destination on new drive #2 (make this - but only this - drive usable with windows etc. format)

          5. If you don't understand anything what here written, get asap to your next Linux GURU :)


          Seriously: if you haven't backup/written the GPT/MBR/block/CHS start adresses of your partitions as you installled your disk at first time, it's really hard to create a new MBR/GPT Block (using hexdeditors, gpart etc). In your case the qphotorec (recovers almost all files) is the best and easiest way






          share|improve this answer




























          • I'm interested in using wxHexedit be didn't find any tutorial, do you have any link ? 1) Shiping of HDD2 in progress ! 2) I don't need a live cd or else, there where only data on it and no os so the computer can still boot without any problem. 3) backup on HDD1 in progress ! 4) I've tried with recuva who found the files and restored them but without the name or the path.... 5) That's the problem, i'm supposed to be the Linux Guru ;)

            – user3127125
            Feb 6 '17 at 21:27













          • Try linux "gpart" (NOT gparted!!!). It's rather an older linux shell appication, which scans the whole disk for partitions an prints them (I think, EXT3 etc. it will find, but not new stuff like BTRFS) Current wxHexEdit (Debian) has a big bug (which I - as far I have some time -I'll fix), so try using Okteta (You have to install KDesktop package). Before you try to create a new MBR/GPT, have a look how an GPT/MBR is build up (GPT is easier). In Okteta then try to open the disk, look for the blocks of disk and backup on your OS disk. Then create a new one with the data of gpart (NOT gparted)

            – aprogrammer
            Feb 17 '17 at 19:32













          • If Recuva did recover all files on an extra disk, you are on the sure site. For pictures there are some linux scripts which try to recover the picture name by the content tags (even for mp3). For Microsoft files are there programs too, which renames the files by their content. But before you get in the renaming files hell, backup all files again you've recovered

            – aprogrammer
            Feb 17 '17 at 19:41


















          0














          You have surely deleted the MBR/GPT block of your disk (Block 0 of whole disk). You can try to copy with a hexeditor (wxHexedit) the Superblock from the locations on disk back to the original position



          BUT In your case I would ASAP




          1. Get 2 (!) another - same - sized harddisk

          2. Download a UBCD ISO and burn it to CD/put it onto USB and run it

          3. make a backup of your accidential formatted disk with ddrescue <formatted drive> <new drive #1> (put in the disk names like /dev/sda etc.). Takes upto 24 hours!

          4. Run then qphotorec on to the formatted drive with destination on new drive #2 (make this - but only this - drive usable with windows etc. format)

          5. If you don't understand anything what here written, get asap to your next Linux GURU :)


          Seriously: if you haven't backup/written the GPT/MBR/block/CHS start adresses of your partitions as you installled your disk at first time, it's really hard to create a new MBR/GPT Block (using hexdeditors, gpart etc). In your case the qphotorec (recovers almost all files) is the best and easiest way






          share|improve this answer




























          • I'm interested in using wxHexedit be didn't find any tutorial, do you have any link ? 1) Shiping of HDD2 in progress ! 2) I don't need a live cd or else, there where only data on it and no os so the computer can still boot without any problem. 3) backup on HDD1 in progress ! 4) I've tried with recuva who found the files and restored them but without the name or the path.... 5) That's the problem, i'm supposed to be the Linux Guru ;)

            – user3127125
            Feb 6 '17 at 21:27













          • Try linux "gpart" (NOT gparted!!!). It's rather an older linux shell appication, which scans the whole disk for partitions an prints them (I think, EXT3 etc. it will find, but not new stuff like BTRFS) Current wxHexEdit (Debian) has a big bug (which I - as far I have some time -I'll fix), so try using Okteta (You have to install KDesktop package). Before you try to create a new MBR/GPT, have a look how an GPT/MBR is build up (GPT is easier). In Okteta then try to open the disk, look for the blocks of disk and backup on your OS disk. Then create a new one with the data of gpart (NOT gparted)

            – aprogrammer
            Feb 17 '17 at 19:32













          • If Recuva did recover all files on an extra disk, you are on the sure site. For pictures there are some linux scripts which try to recover the picture name by the content tags (even for mp3). For Microsoft files are there programs too, which renames the files by their content. But before you get in the renaming files hell, backup all files again you've recovered

            – aprogrammer
            Feb 17 '17 at 19:41
















          0












          0








          0







          You have surely deleted the MBR/GPT block of your disk (Block 0 of whole disk). You can try to copy with a hexeditor (wxHexedit) the Superblock from the locations on disk back to the original position



          BUT In your case I would ASAP




          1. Get 2 (!) another - same - sized harddisk

          2. Download a UBCD ISO and burn it to CD/put it onto USB and run it

          3. make a backup of your accidential formatted disk with ddrescue <formatted drive> <new drive #1> (put in the disk names like /dev/sda etc.). Takes upto 24 hours!

          4. Run then qphotorec on to the formatted drive with destination on new drive #2 (make this - but only this - drive usable with windows etc. format)

          5. If you don't understand anything what here written, get asap to your next Linux GURU :)


          Seriously: if you haven't backup/written the GPT/MBR/block/CHS start adresses of your partitions as you installled your disk at first time, it's really hard to create a new MBR/GPT Block (using hexdeditors, gpart etc). In your case the qphotorec (recovers almost all files) is the best and easiest way






          share|improve this answer















          You have surely deleted the MBR/GPT block of your disk (Block 0 of whole disk). You can try to copy with a hexeditor (wxHexedit) the Superblock from the locations on disk back to the original position



          BUT In your case I would ASAP




          1. Get 2 (!) another - same - sized harddisk

          2. Download a UBCD ISO and burn it to CD/put it onto USB and run it

          3. make a backup of your accidential formatted disk with ddrescue <formatted drive> <new drive #1> (put in the disk names like /dev/sda etc.). Takes upto 24 hours!

          4. Run then qphotorec on to the formatted drive with destination on new drive #2 (make this - but only this - drive usable with windows etc. format)

          5. If you don't understand anything what here written, get asap to your next Linux GURU :)


          Seriously: if you haven't backup/written the GPT/MBR/block/CHS start adresses of your partitions as you installled your disk at first time, it's really hard to create a new MBR/GPT Block (using hexdeditors, gpart etc). In your case the qphotorec (recovers almost all files) is the best and easiest way







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Feb 6 '17 at 21:09

























          answered Feb 6 '17 at 20:56









          aprogrammeraprogrammer

          12 bronze badges




          12 bronze badges
















          • I'm interested in using wxHexedit be didn't find any tutorial, do you have any link ? 1) Shiping of HDD2 in progress ! 2) I don't need a live cd or else, there where only data on it and no os so the computer can still boot without any problem. 3) backup on HDD1 in progress ! 4) I've tried with recuva who found the files and restored them but without the name or the path.... 5) That's the problem, i'm supposed to be the Linux Guru ;)

            – user3127125
            Feb 6 '17 at 21:27













          • Try linux "gpart" (NOT gparted!!!). It's rather an older linux shell appication, which scans the whole disk for partitions an prints them (I think, EXT3 etc. it will find, but not new stuff like BTRFS) Current wxHexEdit (Debian) has a big bug (which I - as far I have some time -I'll fix), so try using Okteta (You have to install KDesktop package). Before you try to create a new MBR/GPT, have a look how an GPT/MBR is build up (GPT is easier). In Okteta then try to open the disk, look for the blocks of disk and backup on your OS disk. Then create a new one with the data of gpart (NOT gparted)

            – aprogrammer
            Feb 17 '17 at 19:32













          • If Recuva did recover all files on an extra disk, you are on the sure site. For pictures there are some linux scripts which try to recover the picture name by the content tags (even for mp3). For Microsoft files are there programs too, which renames the files by their content. But before you get in the renaming files hell, backup all files again you've recovered

            – aprogrammer
            Feb 17 '17 at 19:41





















          • I'm interested in using wxHexedit be didn't find any tutorial, do you have any link ? 1) Shiping of HDD2 in progress ! 2) I don't need a live cd or else, there where only data on it and no os so the computer can still boot without any problem. 3) backup on HDD1 in progress ! 4) I've tried with recuva who found the files and restored them but without the name or the path.... 5) That's the problem, i'm supposed to be the Linux Guru ;)

            – user3127125
            Feb 6 '17 at 21:27













          • Try linux "gpart" (NOT gparted!!!). It's rather an older linux shell appication, which scans the whole disk for partitions an prints them (I think, EXT3 etc. it will find, but not new stuff like BTRFS) Current wxHexEdit (Debian) has a big bug (which I - as far I have some time -I'll fix), so try using Okteta (You have to install KDesktop package). Before you try to create a new MBR/GPT, have a look how an GPT/MBR is build up (GPT is easier). In Okteta then try to open the disk, look for the blocks of disk and backup on your OS disk. Then create a new one with the data of gpart (NOT gparted)

            – aprogrammer
            Feb 17 '17 at 19:32













          • If Recuva did recover all files on an extra disk, you are on the sure site. For pictures there are some linux scripts which try to recover the picture name by the content tags (even for mp3). For Microsoft files are there programs too, which renames the files by their content. But before you get in the renaming files hell, backup all files again you've recovered

            – aprogrammer
            Feb 17 '17 at 19:41



















          I'm interested in using wxHexedit be didn't find any tutorial, do you have any link ? 1) Shiping of HDD2 in progress ! 2) I don't need a live cd or else, there where only data on it and no os so the computer can still boot without any problem. 3) backup on HDD1 in progress ! 4) I've tried with recuva who found the files and restored them but without the name or the path.... 5) That's the problem, i'm supposed to be the Linux Guru ;)

          – user3127125
          Feb 6 '17 at 21:27







          I'm interested in using wxHexedit be didn't find any tutorial, do you have any link ? 1) Shiping of HDD2 in progress ! 2) I don't need a live cd or else, there where only data on it and no os so the computer can still boot without any problem. 3) backup on HDD1 in progress ! 4) I've tried with recuva who found the files and restored them but without the name or the path.... 5) That's the problem, i'm supposed to be the Linux Guru ;)

          – user3127125
          Feb 6 '17 at 21:27















          Try linux "gpart" (NOT gparted!!!). It's rather an older linux shell appication, which scans the whole disk for partitions an prints them (I think, EXT3 etc. it will find, but not new stuff like BTRFS) Current wxHexEdit (Debian) has a big bug (which I - as far I have some time -I'll fix), so try using Okteta (You have to install KDesktop package). Before you try to create a new MBR/GPT, have a look how an GPT/MBR is build up (GPT is easier). In Okteta then try to open the disk, look for the blocks of disk and backup on your OS disk. Then create a new one with the data of gpart (NOT gparted)

          – aprogrammer
          Feb 17 '17 at 19:32







          Try linux "gpart" (NOT gparted!!!). It's rather an older linux shell appication, which scans the whole disk for partitions an prints them (I think, EXT3 etc. it will find, but not new stuff like BTRFS) Current wxHexEdit (Debian) has a big bug (which I - as far I have some time -I'll fix), so try using Okteta (You have to install KDesktop package). Before you try to create a new MBR/GPT, have a look how an GPT/MBR is build up (GPT is easier). In Okteta then try to open the disk, look for the blocks of disk and backup on your OS disk. Then create a new one with the data of gpart (NOT gparted)

          – aprogrammer
          Feb 17 '17 at 19:32















          If Recuva did recover all files on an extra disk, you are on the sure site. For pictures there are some linux scripts which try to recover the picture name by the content tags (even for mp3). For Microsoft files are there programs too, which renames the files by their content. But before you get in the renaming files hell, backup all files again you've recovered

          – aprogrammer
          Feb 17 '17 at 19:41







          If Recuva did recover all files on an extra disk, you are on the sure site. For pictures there are some linux scripts which try to recover the picture name by the content tags (even for mp3). For Microsoft files are there programs too, which renames the files by their content. But before you get in the renaming files hell, backup all files again you've recovered

          – aprogrammer
          Feb 17 '17 at 19:41




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • 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%2funix.stackexchange.com%2fquestions%2f342978%2frecover-deleted-partition-using-testdisk%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

          Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

          Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

          Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...