LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help deleting old partitions (https://www.linuxquestions.org/questions/linux-newbie-8/help-deleting-old-partitions-4175647189/)

zavmat 01-30-2019 03:23 PM

1 Attachment(s)
Here's the pastebin text file.
AS you can see there are now a few more MS DATA partitions. What did we do differently this time?

Attachment 29654

rknichols 01-30-2019 07:10 PM

That looks like a pastebin of the screen display, not the testdisk.log file. I need to see the latter.

zavmat 01-30-2019 07:42 PM

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?

jefro 01-30-2019 08:06 PM

Fedora 29 live has a partition program similar to gparted.

Edited out line.

zavmat 01-30-2019 08:32 PM

WFV suggested gparted, I'm unfamiliar with it though. All I have is Linux live right now.

zavmat 01-30-2019 09:09 PM

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


rknichols 01-30-2019 09:16 PM

Quote:

Originally Posted by zavmat (Post 5955728)
Still not sure how to make the log file,

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.

zavmat 01-30-2019 09:19 PM

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.


zavmat 01-30-2019 09:27 PM

You're 100% correct, there is the testdisk.log right there in the root directory. I'll try to get it to you

zavmat 01-30-2019 09:30 PM

Quote:

Originally Posted by rknichols (Post 5955276)
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

zavmat 01-30-2019 11:04 PM

3 Attachment(s)
Alright here's the testdisk.log files:

whansard 01-31-2019 01:03 AM

wipe the drive
 
Code:

dd if=/dev/zero of=/dev/sda
will wipe the drive.

zavmat 01-31-2019 01:06 AM

I trust your judgement but for the sake of understanding may I ask why? In layman's terms if possible?

rknichols 01-31-2019 08:52 AM

Quote:

Originally Posted by whansard (Post 5955786)
Code:

dd if=/dev/zero of=/dev/sda
will wipe the drive.

Since there is at least one OS installation that the OP wishes to recover, wiping the drive would be a fatal error.

zavmat 01-31-2019 08:56 AM

It seemed unnecessary to me, I defer to your guys' experierience on this though. Have you had a chance to take a look at the log files?


All times are GMT -5. The time now is 11:55 PM.