LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 12-16-2015, 07:52 PM   #1
puppymagic
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 63

Rep: Reputation: 4
Unhappy What is the best way to recover data after the hard disk is repartitioned?


My laptop came with Windows and I stored some important data,

and then yesterday I tried to install Mint 17.3 Cinnamon with USB stick

But it looks like the Mint installation erased all the partitions re-wrote it

What is the best way to recover data for a Linux rookie?

Thanks

EDIT - I can think of the following Live Linux on USB - Ubuntu, Mint and Knoppix

Last edited by puppymagic; 12-16-2015 at 07:55 PM.
 
Old 12-16-2015, 08:05 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 15,439
Blog Entries: 25

Rep: Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441
You can try Photorec, but, frankly, the probability is that it's too late.
 
Old 12-16-2015, 08:44 PM   #3
Fred Caro
Senior Member
 
Registered: May 2007
Posts: 1,006

Rep: Reputation: 166Reputation: 166
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.

Fred.
 
Old 12-16-2015, 10:16 PM   #4
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 17
Posts: 5,845
Blog Entries: 21

Rep: Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923Reputation: 2923
Might help or not

http://www.howtogeek.com/howto/15761...buntu-live-cd/

If using Puppy live cd (going by your user name)

http://murga-linux.com/puppy/viewtopic.php?t=98717

Last edited by rokytnji; 12-16-2015 at 10:18 PM.
 
Old 12-16-2015, 10:17 PM   #5
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,642

Rep: Reputation: 277Reputation: 277Reputation: 277
check this link: https://www.linux.com/learn/tutorial...recovery-tools

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.
 
Old 12-17-2015, 09:38 AM   #6
erik2282
Member
 
Registered: May 2011
Location: TX
Distribution: Debian
Posts: 762

Rep: Reputation: 220Reputation: 220Reputation: 220
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.
 
Old 12-17-2015, 10:06 AM   #7
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134
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.
 
1 members found this post helpful.
Old 12-17-2015, 10:17 AM   #8
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: Redhat/Centos, Ubuntu, Raspbian, Fedora, Alpine, Cirros, OpenSuse/SLES
Posts: 3,461

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912
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.
 
Old 12-17-2015, 11:11 AM   #9
puppymagic
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 63

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by berndbausch View Post
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.
 
Old 12-17-2015, 12:58 PM   #10
camorri
LQ Veteran
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2, current, slackware-arm-currnet
Posts: 5,419

Rep: Reputation: 617Reputation: 617Reputation: 617Reputation: 617Reputation: 617Reputation: 617
I believe the command is 'parted rescue'. See the man page for parted.
 
Old 12-17-2015, 05:34 PM   #11
fpmurphy
Member
 
Registered: Jan 2009
Location: /dev/ph
Distribution: Fedora, Ubuntu, Redhat, Centos
Posts: 299

Rep: Reputation: 62
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?
 
Old 12-19-2015, 02:51 PM   #12
puppymagic
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 63

Original Poster
Rep: Reputation: 4
Unhappy

Quote:
Originally Posted by fpmurphy View Post
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
 
Old 12-19-2015, 05:39 PM   #13
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,604

Rep: Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772
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.

https://help.ubuntu.com/community/UEFI

https://help.ubuntu.com/community/Boot-Repair
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Recover Data from Hard Disk vikas027 General 5 12-22-2011 01:59 PM
Copy of IBM Server hard disk data to Another USB External Hard disk mazharcdn Linux - Server 2 09-02-2009 12:41 AM
How to recover files from a repartitioned drive lexthoonen Linux - General 10 05-14-2009 05:11 AM
need help to recover data from ext3 hard disk parv Linux - Software 2 04-06-2007 11:35 PM
How to recover data from hard disk dongyan_liu Linux - Newbie 1 12-01-2005 05:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration