LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-12-2021, 02:55 PM   #1
UKNeil
LQ Newbie
 
Registered: Mar 2021
Posts: 5

Rep: Reputation: Disabled
Password Protect External Hard Drive


I want to store all my data on an external hard drive. How do I make it password protected (not encrypted)?
 
Old 04-12-2021, 02:58 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
If it is not encrypted then everyone with physical access to it can read it, there is nothing you can do about it.
 
1 members found this post helpful.
Old 04-12-2021, 03:08 PM   #3
UKNeil
LQ Newbie
 
Registered: Mar 2021
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
If it is not encrypted then everyone with physical access to it can read it, there is nothing you can do about it.
So if I have my external hard drive as my main drive and its encrypted will I be able to view all the files it my main drive is encrypted can i view the files as per normal in a file manager or are there differences?
 
Old 04-12-2021, 03:09 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,659

Rep: Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146
Quote:
Originally Posted by UKNeil View Post
I want to store all my data on an external hard drive. How do I make it password protected (not encrypted)?
I thought you were 'leaving Linux'?
https://www.linuxquestions.org/quest...ow-4175692972/

Probably a good question to ask about whatever OS you're going to. Otherwise, as written, your question doesn't make much sense. Either you encrypt the drive, or you need to password protect each individual file on it. And you do that by different means depending on what you use...some programs will let you password protect something when you save it. You may have to use GPG to do it. But you provide no details, so can't really say.

Quote:
So if I have my external hard drive as my main drive and its encrypted will I be able to view all the files it my main drive is encrypted can i view the files as per normal in a file manager or are there differences?
If you encrypt the drive, when you mount/use it, all the files will be 'normal'. Otherwise, all the files won't be viewable at all, until you provide the password(s).
 
Old 04-12-2021, 03:22 PM   #5
UKNeil
LQ Newbie
 
Registered: Mar 2021
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post

If you encrypt the drive, when you mount/use it, all the files will be 'normal'. Otherwise, all the files won't be viewable at all, until you provide the password(s).
How do I encrypt it when I mount it please?
 
Old 04-12-2021, 03:38 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,659

Rep: Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146
Quote:
Originally Posted by UKNeil View Post
How do I encrypt it when I mount it please?
Again: you are providing NO DETAILS that would let anyone try to help you. Read the "Question Guidelines" link in my posting signature; we don't know the version/distro of Linux, how the drive is connected, what the operating system is you're using to get to your external drive, etc. We can't guess.

Beyond that, you again said you were 'leaving Linux', and that you did not WANT to encrypt the whole drive.
 
Old 04-12-2021, 03:41 PM   #7
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
Quote:
How do I encrypt it when I mount it please?
You do not encrypt it when you mount it, this would be a big nonsense. Let me reword it. When you mount encrypted drive then you need to provide a password or passphrase to view the contents.
There is more than one way to protect your files. You can encrypt individual files, filesystems or whole drive. In case you protect it with a password at application level then it will be encrypted, too. Laptops may offer hardware encryption, in this case the encryption will be transparent.

Last edited by Emerson; 04-12-2021 at 03:45 PM.
 
1 members found this post helpful.
Old 04-12-2021, 03:45 PM   #8
UKNeil
LQ Newbie
 
Registered: Mar 2021
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
Again: you are providing NO DETAILS that would let anyone try to help you. Read the "Question Guidelines" link in my posting signature; we don't know the version/distro of Linux, how the drive is connected, what the operating system is you're using to get to your external drive, etc. We can't guess.

Beyond that, you again said you were 'leaving Linux', and that you did not WANT to encrypt the whole drive.
Okay Ubuntu 20.04
2TB WD Elements External Drive connected via USB.
I'm getting confused on the encryption thing... As long as I can view/access my files as normal in the file manager then its okay if the drive is encrypted.
Yes - i was planning on leaving LINUX but i just cant bring myself to use Apple for numerous reasons.
 
Old 04-12-2021, 04:05 PM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,659

Rep: Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146
Quote:
Originally Posted by UKNeil View Post
Okay Ubuntu 20.04
2TB WD Elements External Drive connected via USB.
Great; again, read the "Question Guidelines" link, because putting "how to encrypt external drive in ubuntu 20.04" pulls up a LOT when entered into a search engine. Along with providing details, you also need to do basic research:
https://www.hebergementwebs.com/gnu-...0-04-with-luks

You also don't say what filesystem is on that external drive.
Quote:
I'm getting confused on the encryption thing... As long as I can view/access my files as normal in the file manager then its okay if the drive is encrypted.
Which isn't what you said. There is little to be confused about....either you encrypt the DISK or the FILES. Encrypt the disk, you provide the password once, and everything on it is visible. Encrypt the files, you have to decrypt each one as you go.
Quote:
Yes - i was planning on leaving LINUX but i just cant bring myself to use Apple for numerous reasons.
Ok. So be sure you back your data up first on that external hard drive, before formatting/encrypting it.
 
Old 04-12-2021, 04:13 PM   #10
UKNeil
LQ Newbie
 
Registered: Mar 2021
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
Great; again, read the "Question Guidelines" link, because putting "how to encrypt external drive in ubuntu 20.04" pulls up a LOT when entered into a search engine. Along with providing details, you also need to do basic research:
https://www.hebergementwebs.com/gnu-...0-04-with-luks

You also don't say what filesystem is on that external drive.

Which isn't what you said. There is little to be confused about....either you encrypt the DISK or the FILES. Encrypt the disk, you provide the password once, and everything on it is visible. Encrypt the files, you have to decrypt each one as you go.

Ok. So be sure you back your data up first on that external hard drive, before formatting/encrypting it.

Unfortunately there IS alot to be confused about when you don't understand a subject. Which is why I came on here. Thank you for your help anyway - next stop Youtube.
 
Old 04-12-2021, 05:50 PM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,659

Rep: Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146
Quote:
Originally Posted by UKNeil View Post
Unfortunately there IS alot to be confused about when you don't understand a subject. Which is why I came on here.
...which is why it was explained, several times and in many threads on this very site. And after using Linux for so long, it's hard to understand the confusion.
Quote:
Thank you for your help anyway - next stop Youtube.
...which is the LAST place you should look for any decent advice. But good luck.

Again: you were handed not only a search term, but a link to a page with complete instructions (with pictures), and a step-by-step guide. Not sure what else you need.
 
Old 04-12-2021, 11:43 PM   #12
dallas_cowboys
Member
 
Registered: Apr 2021
Posts: 33

Rep: Reputation: Disabled
Quote:
Originally Posted by UKNeil View Post
I want to store all my data on an external hard drive. How do I make it password protected (not encrypted)?
connect / open DISKS format as linux file system / click password protect... you will have to back up your drive else where while it formats and changes the file system than you can drop it all back on and your drive is password protected.
 
Old 04-13-2021, 08:08 AM   #13
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,659

Rep: Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146Reputation: 8146
Quote:
Originally Posted by dallas_cowboys View Post
connect / open DISKS format as linux file system / click password protect... you will have to back up your drive else where while it formats and changes the file system than you can drop it all back on and your drive is password protected.
Yep...that's exactly what's in the instructions/link I gave to the OP, which apparently wasn't enough.
 
Old 04-14-2021, 11:41 AM   #14
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486
Quote:
Originally Posted by UKNeil View Post
Unfortunately there IS alot to be confused about when you don't understand a subject. Which is why I came on here. Thank you for your help anyway - next stop Youtube.
I find that (some) YouTube videos are spot on. More are solely focused on one item and do not put it into perspective of the whole picture. In that respect it is like searching for anything on the internet: You have to filter what you receive for quality and value.

My suggestion with YouTube: Take everything as if it were biased and look for several that show the same or similar tactics/procedures to be sure you understand the core.

Last edited by computersavvy; 04-14-2021 at 11:44 AM.
 
1 members found this post helpful.
  


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
Installing Linux Mint 19.1 cinnamon to an external hard drive & backing up to another external hard drive. bluelakecompany@yahoo.co Linux - Newbie 1 01-23-2019 06:30 PM
LXer: Embrace, extend, and protect? Microsoft joins the Open Invention Network to 'protect Linux and open source' LXer Syndicated Linux News 0 10-11-2018 12:21 AM
Password Protect ext3 partition in a USB External Drive skoda Linux - Newbie 15 02-04-2015 01:35 PM
ubuntu installed on external hard drive, can't startup without external hard drive. Vanostaajen Linux - Software 23 01-20-2009 09:59 AM
external enclosure for an internal hard drive vs external USB hard drive powah Linux - Hardware 1 03-10-2006 09:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:58 AM.

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