LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 06-17-2019, 04:29 AM   #1
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821

Rep: Reputation: 28
Data recovery for Windows on Linux


Is there a program for Data recovery for Windows on Linux?

Have installed dual boot with Linux Mint I had first Windows 7 but could not dual boot ran Gparted to find out if I could make space this failed as I had a dark screen. Then found the Windows 7 would not load and wanted the installation disc which I did not have. So I installed Windows 10 and Linux Mint 19.1

I then found Windows had to little space even though I had used disk management and thought it had allotted 110 Gb to Windows and 110 Gb to linux. Guess I have that wrong as Windows has only 20GB space

I am having difficulty recovering the files from the Windows 7 and using Recuva but not having any success. Can't seem to copy the files onto a USB
 
Old 06-17-2019, 07:02 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,492

Rep: Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488
Did you install windows 10 to a separate partition? Or did you install it over windows7? What happens when you try to copy files to the usb? Any error or warning messages?
 
Old 06-17-2019, 09:50 AM   #3
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
Photorec (https://www.cgsecurity.org/wiki/PhotoRec) works very well - i have used it several times to recover both data and photos.
 
Old 06-17-2019, 01:19 PM   #4
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by sevendogsbsd View Post
Photorec (https://www.cgsecurity.org/wiki/PhotoRec) works very well - i have used it several times to recover both data and photos.
I'm not quite sure it will work on Windows (FAT or especially NTFS) partitions.
 
Old 06-17-2019, 02:09 PM   #5
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
I have used it on a windows laptop hard drive but it has been some time - can't remember the FS type. Just checked docs, it works on quite a few FS types, including FAT and NTFS.
 
Old 06-17-2019, 11:08 PM   #6
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by sevendogsbsd View Post
Photorec (https://www.cgsecurity.org/wiki/PhotoRec) works very well - i have used it several times to recover both data and photos.
Thanks for that worked but I am not sure it actually got the missing files certainly got loads of files. Unfortunately all the .doc files had just garbage.

I have now using gparted quick formatted as NTFS loaded Windows 10 and Linux Mint 19.1 without changing the suggested partitioning added Office 2019 to the Windows.

I will then do another photorec and see if I can get better results. Always hopeful and good practice.

By the way last Sunday someone asked me if I could un-encrypt his Windows files. He had a ransomware attack asking for loads of Bitcoins to get his files back. Poor chap had not made backups for 3 months.

Told him to install Linux Mint 19.1 as dual boot then he could wait for Interpols un-encryption key.
 
Old 06-18-2019, 12:47 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
So really the question is about data recovery form Windows filesystems.

I believe Linux has sketchy support for NTFS data recovery.

Quote:
Originally Posted by ehartman View Post
I'm not quite sure it will work on Windows (FAT or especially NTFS) partitions.
It most definitely will.
Problem is, it's very low level and should be a last resort.

There's just a few general rules for data recovery regardless of filesystem:
Stop using the disk immediately!!! everything you do from now on should happen from an operating system that does NOT operate on the same disk.
Preferably make a full clone of the disk (with dd) and work on that only.
Trust me, last time I had to do data recovery - in retrospect I wish I'd done it that way.
 
1 members found this post helpful.
Old 06-18-2019, 02:00 AM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally Posted by bscho View Post
Unfortunately all the .doc files had just garbage.
Photorec certainly works on NTFS - it only looks for file "signatures", so the filesystem is largely irrelevant. As for your doc files, they will be compressed - hence the "garbage" unless you use a program that knows the formatting. Libreoffice should I would think, but I rarely bother to recover anything other than photos and maybe the odd txt. If the files are (very) large they may be segmented and thus much harder to recover.
 
Old 06-18-2019, 05:10 AM   #9
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by syg00 View Post
Photorec certainly works on NTFS - it only looks for file "signatures", so the filesystem is largely irrelevant. As for your doc files, they will be compressed - hence the "garbage" unless you use a program that knows the formatting. Libreoffice should I would think, but I rarely bother to recover anything other than photos and maybe the odd txt. If the files are (very) large they may be segmented and thus much harder to recover.
Oh thanks for that so the docs are compressed they appear as garbage in Libreoffice also in Office 2019.

Any ideas how to uncompress them?
 
Old 06-18-2019, 05:55 AM   #10
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
The compression is done by office - if it can't read them, the files are likely trashed. Re-installs are about the worst thing to do during recovery -see the comments in post #7.
 
  


Reply



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
LXer: 5 Best Linux Distributions To Recover Dead Computers Data (Linux Data Recovery) LXer Syndicated Linux News 1 08-05-2016 11:10 PM
Linux rescue disk for data recovery of data on windows laptop with corrupt os Jonjo-k Linux - Newbie 10 01-04-2014 06:00 PM
[SOLVED] Combining anti-virus + data recovery + image recovery? littlebigman Linux - Software 8 08-12-2010 02:39 AM
Linux recovery of Windows workstations - using baremetal recovery Reefcrazed Linux - Software 20 01-06-2009 05:15 AM
LXer: Linux Data Recovery on Windows - Is possible through Disk Doctors Linux Recovery Software LXer Syndicated Linux News 0 10-22-2006 12:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 03:19 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
Open Source Consulting | Domain Registration