How to recover files from a partition that was previosuly NTFS under Wndows but after Ubuntu installation had...












1















I had accidentally installed Ubuntu 13.04 on Windows 8 while trying to Dual Boot. I had a single partition(973GB) which had windows with NTFS filesystem. But by the accidental install of ubuntu the filesystem had changed to ext4.



When I tried testdisk, it showed me three partitions:




  1. P EFI System (with very less data)


  2. P MS DATA (the large disk of around 950GB. I think this partition has all the data)


  3. P Linux Swap (same size as my ram)



Now when I tried searching, it showed that the partition MS Data cannot be recovered. I dont need the partition or the windows 8 back. I only need some of my important files that got deleted. Can I recover these files? Please help.










share|improve this question
















bumped to the homepage by Community 9 hours ago


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
















  • good question.. actually it happened to me once, and that time I was unaware of any thing. I am much sure answer suggested by Luis Alvarado will work..

    – Saurav Kumar
    Sep 3 '13 at 15:54
















1















I had accidentally installed Ubuntu 13.04 on Windows 8 while trying to Dual Boot. I had a single partition(973GB) which had windows with NTFS filesystem. But by the accidental install of ubuntu the filesystem had changed to ext4.



When I tried testdisk, it showed me three partitions:




  1. P EFI System (with very less data)


  2. P MS DATA (the large disk of around 950GB. I think this partition has all the data)


  3. P Linux Swap (same size as my ram)



Now when I tried searching, it showed that the partition MS Data cannot be recovered. I dont need the partition or the windows 8 back. I only need some of my important files that got deleted. Can I recover these files? Please help.










share|improve this question
















bumped to the homepage by Community 9 hours ago


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
















  • good question.. actually it happened to me once, and that time I was unaware of any thing. I am much sure answer suggested by Luis Alvarado will work..

    – Saurav Kumar
    Sep 3 '13 at 15:54














1












1








1


1






I had accidentally installed Ubuntu 13.04 on Windows 8 while trying to Dual Boot. I had a single partition(973GB) which had windows with NTFS filesystem. But by the accidental install of ubuntu the filesystem had changed to ext4.



When I tried testdisk, it showed me three partitions:




  1. P EFI System (with very less data)


  2. P MS DATA (the large disk of around 950GB. I think this partition has all the data)


  3. P Linux Swap (same size as my ram)



Now when I tried searching, it showed that the partition MS Data cannot be recovered. I dont need the partition or the windows 8 back. I only need some of my important files that got deleted. Can I recover these files? Please help.










share|improve this question
















I had accidentally installed Ubuntu 13.04 on Windows 8 while trying to Dual Boot. I had a single partition(973GB) which had windows with NTFS filesystem. But by the accidental install of ubuntu the filesystem had changed to ext4.



When I tried testdisk, it showed me three partitions:




  1. P EFI System (with very less data)


  2. P MS DATA (the large disk of around 950GB. I think this partition has all the data)


  3. P Linux Swap (same size as my ram)



Now when I tried searching, it showed that the partition MS Data cannot be recovered. I dont need the partition or the windows 8 back. I only need some of my important files that got deleted. Can I recover these files? Please help.







ntfs ext4 testdisk






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 3 '13 at 15:50









Saurav Kumar

10.4k134665




10.4k134665










asked Sep 3 '13 at 15:36









Yasaswy KYasaswy K

612




612





bumped to the homepage by Community 9 hours 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 9 hours ago


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















  • good question.. actually it happened to me once, and that time I was unaware of any thing. I am much sure answer suggested by Luis Alvarado will work..

    – Saurav Kumar
    Sep 3 '13 at 15:54



















  • good question.. actually it happened to me once, and that time I was unaware of any thing. I am much sure answer suggested by Luis Alvarado will work..

    – Saurav Kumar
    Sep 3 '13 at 15:54

















good question.. actually it happened to me once, and that time I was unaware of any thing. I am much sure answer suggested by Luis Alvarado will work..

– Saurav Kumar
Sep 3 '13 at 15:54





good question.. actually it happened to me once, and that time I was unaware of any thing. I am much sure answer suggested by Luis Alvarado will work..

– Saurav Kumar
Sep 3 '13 at 15:54










1 Answer
1






active

oldest

votes


















0














You can still recover them by using photorec which comes with testdisk after you install it. Type in a terminal photorec and select the hard drive / partition you wish to analyze and the place where you want to store all recovered files (Should be a place not on the same hard drive you are trying to recover from).



enter image description here



Your same case has also happened to me. Trying to recover files from a previous NTFS or FAT32 partition that was formatted to Ext3 or Ext4. In the end it recovered all files we needed.






share|improve this answer
























  • Thanks for the answer. I have two more doubts. 1. Do I need to run photorec from livecd/liveusb or can I run it from ubuntu I installed on the same drive? 2. My HDD is 950GB approx. I had data of around 600GB. Can I use a usb drive of around 8/16GB to transfer my data to another computer in many trips?

    – Yasaswy K
    Sep 3 '13 at 22:24













  • You can run it from the same drive but you might recover more info than the current HDD. Let's say you have a 1TB HDD but you have formatted the HDD 2 or 3 times. On each of this times, the HDD was 90% full (900 GB). This means that photorec might recover, not only the missing files in the current formatted partition but also from previous ones, recovering 900x3 = 2700 GB of information (Worst case exaggerated scenario). So you need in most cases a larger hard drive than the one you are recovering from. For using USB drives for it, it will not work. You can not unmount while recovering to it.

    – Luis Alvarado
    Sep 4 '13 at 0:25













  • I tried using photorec. But it always gets stuck at some sector while reading and does not go further. It happened twice. Is there any other way I can do it?

    – Yasaswy K
    Sep 12 '13 at 4:42













  • Did you try doing an fsck to the hard drive. For example: sudo fsck /dev/sda1 -f

    – Luis Alvarado
    Sep 12 '13 at 5:48






  • 1





    This would be a good time to stop what you are doing. If it stops at a sector there is a good chance that the drive is damaged. Do a low-level copy with a clone tool and restore only from the copy.

    – Pascal
    Apr 10 '18 at 21:11











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%2f340910%2fhow-to-recover-files-from-a-partition-that-was-previosuly-ntfs-under-wndows-but%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 can still recover them by using photorec which comes with testdisk after you install it. Type in a terminal photorec and select the hard drive / partition you wish to analyze and the place where you want to store all recovered files (Should be a place not on the same hard drive you are trying to recover from).



enter image description here



Your same case has also happened to me. Trying to recover files from a previous NTFS or FAT32 partition that was formatted to Ext3 or Ext4. In the end it recovered all files we needed.






share|improve this answer
























  • Thanks for the answer. I have two more doubts. 1. Do I need to run photorec from livecd/liveusb or can I run it from ubuntu I installed on the same drive? 2. My HDD is 950GB approx. I had data of around 600GB. Can I use a usb drive of around 8/16GB to transfer my data to another computer in many trips?

    – Yasaswy K
    Sep 3 '13 at 22:24













  • You can run it from the same drive but you might recover more info than the current HDD. Let's say you have a 1TB HDD but you have formatted the HDD 2 or 3 times. On each of this times, the HDD was 90% full (900 GB). This means that photorec might recover, not only the missing files in the current formatted partition but also from previous ones, recovering 900x3 = 2700 GB of information (Worst case exaggerated scenario). So you need in most cases a larger hard drive than the one you are recovering from. For using USB drives for it, it will not work. You can not unmount while recovering to it.

    – Luis Alvarado
    Sep 4 '13 at 0:25













  • I tried using photorec. But it always gets stuck at some sector while reading and does not go further. It happened twice. Is there any other way I can do it?

    – Yasaswy K
    Sep 12 '13 at 4:42













  • Did you try doing an fsck to the hard drive. For example: sudo fsck /dev/sda1 -f

    – Luis Alvarado
    Sep 12 '13 at 5:48






  • 1





    This would be a good time to stop what you are doing. If it stops at a sector there is a good chance that the drive is damaged. Do a low-level copy with a clone tool and restore only from the copy.

    – Pascal
    Apr 10 '18 at 21:11
















0














You can still recover them by using photorec which comes with testdisk after you install it. Type in a terminal photorec and select the hard drive / partition you wish to analyze and the place where you want to store all recovered files (Should be a place not on the same hard drive you are trying to recover from).



enter image description here



Your same case has also happened to me. Trying to recover files from a previous NTFS or FAT32 partition that was formatted to Ext3 or Ext4. In the end it recovered all files we needed.






share|improve this answer
























  • Thanks for the answer. I have two more doubts. 1. Do I need to run photorec from livecd/liveusb or can I run it from ubuntu I installed on the same drive? 2. My HDD is 950GB approx. I had data of around 600GB. Can I use a usb drive of around 8/16GB to transfer my data to another computer in many trips?

    – Yasaswy K
    Sep 3 '13 at 22:24













  • You can run it from the same drive but you might recover more info than the current HDD. Let's say you have a 1TB HDD but you have formatted the HDD 2 or 3 times. On each of this times, the HDD was 90% full (900 GB). This means that photorec might recover, not only the missing files in the current formatted partition but also from previous ones, recovering 900x3 = 2700 GB of information (Worst case exaggerated scenario). So you need in most cases a larger hard drive than the one you are recovering from. For using USB drives for it, it will not work. You can not unmount while recovering to it.

    – Luis Alvarado
    Sep 4 '13 at 0:25













  • I tried using photorec. But it always gets stuck at some sector while reading and does not go further. It happened twice. Is there any other way I can do it?

    – Yasaswy K
    Sep 12 '13 at 4:42













  • Did you try doing an fsck to the hard drive. For example: sudo fsck /dev/sda1 -f

    – Luis Alvarado
    Sep 12 '13 at 5:48






  • 1





    This would be a good time to stop what you are doing. If it stops at a sector there is a good chance that the drive is damaged. Do a low-level copy with a clone tool and restore only from the copy.

    – Pascal
    Apr 10 '18 at 21:11














0












0








0







You can still recover them by using photorec which comes with testdisk after you install it. Type in a terminal photorec and select the hard drive / partition you wish to analyze and the place where you want to store all recovered files (Should be a place not on the same hard drive you are trying to recover from).



enter image description here



Your same case has also happened to me. Trying to recover files from a previous NTFS or FAT32 partition that was formatted to Ext3 or Ext4. In the end it recovered all files we needed.






share|improve this answer













You can still recover them by using photorec which comes with testdisk after you install it. Type in a terminal photorec and select the hard drive / partition you wish to analyze and the place where you want to store all recovered files (Should be a place not on the same hard drive you are trying to recover from).



enter image description here



Your same case has also happened to me. Trying to recover files from a previous NTFS or FAT32 partition that was formatted to Ext3 or Ext4. In the end it recovered all files we needed.







share|improve this answer












share|improve this answer



share|improve this answer










answered Sep 3 '13 at 15:45









Luis AlvaradoLuis Alvarado

145k135486653




145k135486653













  • Thanks for the answer. I have two more doubts. 1. Do I need to run photorec from livecd/liveusb or can I run it from ubuntu I installed on the same drive? 2. My HDD is 950GB approx. I had data of around 600GB. Can I use a usb drive of around 8/16GB to transfer my data to another computer in many trips?

    – Yasaswy K
    Sep 3 '13 at 22:24













  • You can run it from the same drive but you might recover more info than the current HDD. Let's say you have a 1TB HDD but you have formatted the HDD 2 or 3 times. On each of this times, the HDD was 90% full (900 GB). This means that photorec might recover, not only the missing files in the current formatted partition but also from previous ones, recovering 900x3 = 2700 GB of information (Worst case exaggerated scenario). So you need in most cases a larger hard drive than the one you are recovering from. For using USB drives for it, it will not work. You can not unmount while recovering to it.

    – Luis Alvarado
    Sep 4 '13 at 0:25













  • I tried using photorec. But it always gets stuck at some sector while reading and does not go further. It happened twice. Is there any other way I can do it?

    – Yasaswy K
    Sep 12 '13 at 4:42













  • Did you try doing an fsck to the hard drive. For example: sudo fsck /dev/sda1 -f

    – Luis Alvarado
    Sep 12 '13 at 5:48






  • 1





    This would be a good time to stop what you are doing. If it stops at a sector there is a good chance that the drive is damaged. Do a low-level copy with a clone tool and restore only from the copy.

    – Pascal
    Apr 10 '18 at 21:11



















  • Thanks for the answer. I have two more doubts. 1. Do I need to run photorec from livecd/liveusb or can I run it from ubuntu I installed on the same drive? 2. My HDD is 950GB approx. I had data of around 600GB. Can I use a usb drive of around 8/16GB to transfer my data to another computer in many trips?

    – Yasaswy K
    Sep 3 '13 at 22:24













  • You can run it from the same drive but you might recover more info than the current HDD. Let's say you have a 1TB HDD but you have formatted the HDD 2 or 3 times. On each of this times, the HDD was 90% full (900 GB). This means that photorec might recover, not only the missing files in the current formatted partition but also from previous ones, recovering 900x3 = 2700 GB of information (Worst case exaggerated scenario). So you need in most cases a larger hard drive than the one you are recovering from. For using USB drives for it, it will not work. You can not unmount while recovering to it.

    – Luis Alvarado
    Sep 4 '13 at 0:25













  • I tried using photorec. But it always gets stuck at some sector while reading and does not go further. It happened twice. Is there any other way I can do it?

    – Yasaswy K
    Sep 12 '13 at 4:42













  • Did you try doing an fsck to the hard drive. For example: sudo fsck /dev/sda1 -f

    – Luis Alvarado
    Sep 12 '13 at 5:48






  • 1





    This would be a good time to stop what you are doing. If it stops at a sector there is a good chance that the drive is damaged. Do a low-level copy with a clone tool and restore only from the copy.

    – Pascal
    Apr 10 '18 at 21:11

















Thanks for the answer. I have two more doubts. 1. Do I need to run photorec from livecd/liveusb or can I run it from ubuntu I installed on the same drive? 2. My HDD is 950GB approx. I had data of around 600GB. Can I use a usb drive of around 8/16GB to transfer my data to another computer in many trips?

– Yasaswy K
Sep 3 '13 at 22:24







Thanks for the answer. I have two more doubts. 1. Do I need to run photorec from livecd/liveusb or can I run it from ubuntu I installed on the same drive? 2. My HDD is 950GB approx. I had data of around 600GB. Can I use a usb drive of around 8/16GB to transfer my data to another computer in many trips?

– Yasaswy K
Sep 3 '13 at 22:24















You can run it from the same drive but you might recover more info than the current HDD. Let's say you have a 1TB HDD but you have formatted the HDD 2 or 3 times. On each of this times, the HDD was 90% full (900 GB). This means that photorec might recover, not only the missing files in the current formatted partition but also from previous ones, recovering 900x3 = 2700 GB of information (Worst case exaggerated scenario). So you need in most cases a larger hard drive than the one you are recovering from. For using USB drives for it, it will not work. You can not unmount while recovering to it.

– Luis Alvarado
Sep 4 '13 at 0:25







You can run it from the same drive but you might recover more info than the current HDD. Let's say you have a 1TB HDD but you have formatted the HDD 2 or 3 times. On each of this times, the HDD was 90% full (900 GB). This means that photorec might recover, not only the missing files in the current formatted partition but also from previous ones, recovering 900x3 = 2700 GB of information (Worst case exaggerated scenario). So you need in most cases a larger hard drive than the one you are recovering from. For using USB drives for it, it will not work. You can not unmount while recovering to it.

– Luis Alvarado
Sep 4 '13 at 0:25















I tried using photorec. But it always gets stuck at some sector while reading and does not go further. It happened twice. Is there any other way I can do it?

– Yasaswy K
Sep 12 '13 at 4:42







I tried using photorec. But it always gets stuck at some sector while reading and does not go further. It happened twice. Is there any other way I can do it?

– Yasaswy K
Sep 12 '13 at 4:42















Did you try doing an fsck to the hard drive. For example: sudo fsck /dev/sda1 -f

– Luis Alvarado
Sep 12 '13 at 5:48





Did you try doing an fsck to the hard drive. For example: sudo fsck /dev/sda1 -f

– Luis Alvarado
Sep 12 '13 at 5:48




1




1





This would be a good time to stop what you are doing. If it stops at a sector there is a good chance that the drive is damaged. Do a low-level copy with a clone tool and restore only from the copy.

– Pascal
Apr 10 '18 at 21:11





This would be a good time to stop what you are doing. If it stops at a sector there is a good chance that the drive is damaged. Do a low-level copy with a clone tool and restore only from the copy.

– Pascal
Apr 10 '18 at 21:11


















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%2f340910%2fhow-to-recover-files-from-a-partition-that-was-previosuly-ntfs-under-wndows-but%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

數位音樂下載

When can things happen in Etherscan, such as the picture below?

格利澤436b