LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 03-27-2021, 11:48 PM   #16
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484

Testdisk can be run interactively, and can test every sector of the disk.
Simply issuing the command as "testdisk" with no arguments will start the interactive mode, then you can select the device to test, etc.

I don't know what you have done so far, nor what results you have seen, but I thought you said testdisk was running. At least that was your statement in post 4.

I would recommend you start it in interactive mode. By default it creates a log, and you can let it run overnight, or until it finishes, then you will have the log to look at and hopefully get good info about the partitions.
 
Old 04-02-2021, 12:49 AM   #17
brjoon1021
Member
 
Registered: Dec 2003
Posts: 173

Original Poster
Rep: Reputation: 16
attached is deep testdisk can results. see screenshotClick image for larger version

Name:	testdisk.jpg
Views:	17
Size:	40.6 KB
ID:	36005

This disk is inaccessible by both windows and Linux. I was able to get help to get the data from it. All of it was recovered without issue.

I would like to get this disk to be seen again. It won't mount I believe would be the accurate term.

Can you help ?

Last edited by brjoon1021; 04-02-2021 at 12:55 AM.
 
Old 04-02-2021, 06:43 AM   #18
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,539

Rep: Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496
If you have successfully recovered your data from the drive and simply want to use it again, the first step would be to use GParted since you are familiar with it and create a partition table by clicking the Device tab and selecting the type partition table then create partitions of the type and size you want. The link below is to the GParted online manual which explains everything in detail.

https://gparted.org/display-doc.php%...%3Dhelp-manual
 
Old 04-02-2021, 10:55 AM   #19
brjoon1021
Member
 
Registered: Dec 2003
Posts: 173

Original Poster
Rep: Reputation: 16
If I am understanding the gparted manual this is a destructive process ?

I want this disk back in working order with the data intact. I know the data is there as it has been recovered and saved elsewhere.

Do I enter the information from that screenshot as a new partition table ? If so would that rescue the disk as is ?
 
Old 04-02-2021, 12:12 PM   #20
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
If the data was recovered as you said above and is stored someplace else then go ahead and use gparted to create the new partition. If it was only one partition then the new partition should be aligned as the original was and the format may give you back the data since it does not overwrite everything. Even if the data is not still accessible the recovered data can be restored.

There will be a difference if it was originally ntfs and you switch it to ext4 or vice versa, but as long as the new partition is done in the same format as the original you should be OK.

One thing to consider is that windows cannot use a drive that is ext4 so if you used it on windows previously then it had to be ntfs. That means you should use the windows disk manager to configure the unallocated space and you should be good to go. If you did not use it in windows then it likely was ext4 and should be partitioned in linux.

There is never a guarantee the data will be there when you are recovering a partition, but it usually is.

Testdisk can also be used to recover data, but will not necessarily give you back the original file names.
 
  


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
leafpad note can't save to usb drive, even thou it is mounted as seen on nautilus andrewysk Linux - Newbie 7 03-15-2020 04:06 AM
Monitoring data passing on USB bus & copying data (dumping) to hard drive (forking an identical data stream) cilbuper Programming 4 12-11-2017 01:58 PM
[SOLVED] WLAN card not seen by network managers khinch Linux - Wireless Networking 4 05-26-2011 04:44 PM
I want to copy my hard drive to a larger hard drive and boot from the new drive. lpmorgan1 Ubuntu 8 09-07-2009 11:26 PM
Madwifi flub in Suse 10.1 litlmary Linux - Wireless Networking 4 10-13-2006 09:56 PM

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

All times are GMT -5. The time now is 12:32 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