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.
I did testdisk /log /dev/sda and it didn't make a log file. [Edit] sorry that wasn't meant to be the whole message I'm confined to my phone while the test disk scans the system again. Do you know how to get to get the testdisk.log file?
Still not sure how to make the log file, but I'm sitting at this menu right now showing the partitions that cannot be recovered.
Code:
TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
Disk /dev/sda - 750 GB / 698 GiB - CHS 91201 255 63
The harddisk (750 GB / 698 GiB) seems too small! (< 16495006 TB /
Check the harddisk size: HD jumpers settings, BIOS detection...
The following partitions can't be recovered:
Partition Start End Size in sectors
> MS Data 721760312 1547747383 825987072
MS Data 1000128448 1826115519 825987072
MS Data 1371546624 5225138636218422 5225137264671
MS Data 1373078136 3258639578 1885561443
MS Data 1373641178 5225138638312976 5225137264671
MS Data 1413028960 1815450712 402421753
MS Data 1465147391 1517576190 52428800
Linux Raid 35378414727820530 32216808923708550 32867
Linux Raid 35378414733958938 32216808929846958 32867
Linux Raid 35378414738464218 32216808934352238 32867
Linux Raid 35378415137389970 32216809333277990 32867
> Linux Raid 35378415140317858 32216809336205878 32867
191214851989 [~K^UM-"=^E]
[ Continue ]
md 1.x L.Endian Raid 2088978687 - Array Slot : 2285961301 (), 1682
It should create a log file right there in the directory you were in when you ran "testdisk /log /dev/sda", at least it does when I boot Fedora-Workstation-Live-x86_64-29-1.2.iso and run that testdisk command. When you quit from testdisk and run "ls", it should be right there.
when I input testdisk /log /dev/sda in the root it yields this:
Code:
TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
TestDisk is free software, and
comes with ABSOLUTELY NO WARRANTY.
Select a media (use Arrow keys, then press Enter):
>Disk /dev/sda - 750 GB / 698 GiB - ST9750420AS
>[Proceed ] [ Quit ]
Note: Disk capacity must be correctly detected for a successful re
If a disk listed above has incorrect size, check HD jumper setting
detection, and install the latest OS patches and disk drivers.
show(ing) the content of the tesstdisk.log file generated, either inline (wrapped in [CODE] ... [/CODE] tags please) or else attached as a text file.
I'm afraid I don't know how to do this [edit] directly through terminal that is...
[Edit] hang on it exceeded the limit...
[Edit 2] it exceeded the limit on pastebin too
[Edit 3] still no luck with compression, I guess I can upload it piecemeal? It's long as hell
[Edit 4] I'm trying to split the file with the split [options] command but with no luck
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.