Recover deleted partition using testdiskrecovering ext4 partition after dd'ing over start of HDPartition table is corrupted after using TestDiskHow 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 recoveryRecover Mac partitionCan't boot into Windows after updating boot partition tableCan't wipe partition table after messing with dd

What's the point of deactivating Num Lock on login screens?

Did Shadowfax go to Valinor?

What is the most common color to indicate the input-field is disabled?

I'm flying to France today and my passport expires in less than 2 months

Does a druid starting with a bow start with no arrows?

Arrow those variables!

Should I tell management that I intend to leave due to bad software development practices?

What is the word for reserving something for yourself before others do?

What killed these X2 caps?

Were any external disk drives stacked vertically?

In a Spin are Both Wings Stalled?

Why is Collection not simply treated as Collection<?>

Assassin's bullet with mercury

Neighboring nodes in the network

Memorizing the Keyboard

What do you call someone who asks many questions?

Brothers & sisters

Is it inappropriate for a student to attend their mentor's dissertation defense?

Anagram holiday

Where does SFDX store details about scratch orgs?

Can I ask the recruiters in my resume to put the reason why I am rejected?

What does it mean to describe someone as a butt steak?

How can I tell someone that I want to be his or her friend?

I would say: "You are another teacher", but she is a woman and I am a man



Recover deleted partition using testdisk


recovering ext4 partition after dd'ing over start of HDPartition table is corrupted after using TestDiskHow 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 recoveryRecover Mac partitionCan't boot into Windows after updating boot partition tableCan't wipe partition table after messing with dd






.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 2 days 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 2 days 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

      41.9k1483142




      41.9k1483142










      asked Feb 6 '17 at 20:11









      user3127125user3127125

      11




      11





      bumped to the homepage by Community 2 days 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 2 days 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




          12












          • 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

          getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

          Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

          Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.