Linux MintThis forum is for the discussion of Linux Mint.
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.
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821
Rep:
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
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?
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.
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.
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
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.
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.
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821
Original Poster
Rep:
Quote:
Originally Posted by syg00
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.