What is the best way to recover data after the hard disk is repartitioned?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
There are many recover programs out there. Some better than others. You would have a better chance with pictures and one file items than, say books that have many pages. partedmagic has some that might be useful, otherwise windoze based stuff might help like recover,not the right spelling.
You need a disk or usb, you can boot from that includes the recovery equipment/software.
but as Frankbell pointed out, it might be too late.
If it is important, check any professional recovery service in your area that is quite trusted but if you got sensitive info on your hard drive then think twice before doing it or your data might end up somewhere else.
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829
Rep:
there is neat little program i like to use for recovering files called Recuva, which is what I think Fred Caro meant. I think i'ts only available for Windows though. I've never done this in Linux, so not sure. Like others above have said data might be corrupt or gone when trying to recover.
It probably just did a quick partition (re-wrote the partition table but didn't clean off the drive), so depending on where (physically) on the disk the data was stored, it might still be in-tact. The critical part is to STOP USING THE DRIVE. Do not boot into the OS you just installed. Boot into a live distro and scan the drive for files with photorec, dumping anything it finds onto an external drive. You might get lucky, but be warned...it's going to find a LOT of files, and you won't have any file names or extensions. You'll probably need to sort through thousands of files with names like "0012078237812" until you find what you're looking for.
If only the partition table was overwritten and nothing was written into the new partitions, there are ways to recreate it. For example the standard parted program has a recovery command; run it from any LiveCD.
If only the partition table was overwritten and nothing was written into the new partitions, there are ways to recreate it. For example the standard parted program has a recovery command; run it from any LiveCD.
What is the command? If you give me the command name I will look further into the command.
First, you need to STOP using the disk. Second, you need to provide us with a lot more information before anybody here can reliably provide you with a possible data recovery plan.
What version of Windows was on the laptop? Does the laptop does into Mint or not?
First, you need to STOP using the disk. Second, you need to provide us with a lot more information before anybody here can reliably provide you with a possible data recovery plan.
What version of Windows was on the laptop? Does the laptop does into Mint or not?
It came with Windows 8.1 and then I upgraded to 10 and I put the ISO into a USB stick and the Mint installation says the installation was complete but when I tried to restart it it does not boot into Mint. Knoppix reveals that my old partition has been re-written
If it came with 8.1, it was using UEFI/GPT. Did you install Mint UEFI? Did you select the LVM option? If so, it overwrites everything. Some info on UEFI dual booting with windows at the link below. You could also download and run the boot repair software after burning it to a CD and select the "Create Bootinfo Summary" and post the link here.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.