LinuxQuestions.org
Help answer threads with 0 replies.
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 10-13-2020, 01:26 AM   #1
fg110
LQ Newbie
 
Registered: Oct 2020
Posts: 2

Rep: Reputation: Disabled
Is there a command to see if there is any data on my hdd that won't open?


I have an encrypted hdd that will not open. I want to reformat it and partition it, but need to know if there is any data on it.

Looking online, I found the command line "df -h", but this only works if the hdd is mounted.

Is there another way, as I can't seem to find one.

Thanks.
 
Old 10-13-2020, 07:43 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 17,213

Rep: Reputation: 5825Reputation: 5825Reputation: 5825Reputation: 5825Reputation: 5825Reputation: 5825Reputation: 5825Reputation: 5825Reputation: 5825Reputation: 5825Reputation: 5825
if you could unlock it.....
Otherwise there is no way to check the content of an encrypted drive.
 
Old 10-13-2020, 11:30 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 17,927

Rep: Reputation: 2631Reputation: 2631Reputation: 2631Reputation: 2631Reputation: 2631Reputation: 2631Reputation: 2631Reputation: 2631Reputation: 2631Reputation: 2631Reputation: 2631
If you can't decrypt it, the qn is moot...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Will adding data to a hdd that already has data on it using the “dd” command overwrite the pre-existing data? hddfsck Linux - Newbie 17 09-08-2019 07:21 PM
Before encrypting a new hdd with LUKS, is there any point in first inputting random data/zeros? hddfsck Linux - Newbie 11 08-28-2019 01:02 AM
Run customised HDD driver for external HDD while generic HDD driver for bootable purpose sonia49 Linux - Newbie 1 09-28-2016 09:52 PM
Are there any distro agnostic linux distros out there? (read to see what I mean) linuxlicious Linux - Distributions 8 12-13-2011 02:54 PM
Is there any way I can test a port on a remote machine to see whether its open? neocookie Linux - Networking 3 05-09-2007 06:13 PM

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

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