Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
05-17-2014, 04:23 PM
|
#1
|
LQ Newbie
Registered: May 2014
Posts: 3
Rep:
|
ATA password prevents reboot
I'm using a Thinkpad T440p with Samsung 840 Pro SSD. I set the hard drive password in the bios, so that everytime the laptop boots from cold, one needs to enter the password first.
Now when Windows reboots the password does not need to be re-entered, which is the expected behavior, as the password is only requested when the hard drive loses power.
When Linux reboots the laptop gets to the Thinkpad logo (which is before the password prompt screen) and then just shuts off. (Same behavior when restarting from Mac OS X)
On the other hand it works when restarting somewhere early in the boot process or from some OS installation with Ctrl-Alt-Del. That looks to me like the problem is that Linux somehow turns off the hard drive, which then forgets the password, which is why the BIOS turns off when attempting to restart, to bring up the password dialogue.
Does anyone have any experience with this or suggestions how to fix this? It would be nice to be able to switch between Linux and Windows very quickly.
|
|
|
05-17-2014, 07:02 PM
|
#2
|
Senior Member
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
|
Is the harddrive actually fully encrypted or is the password simply preventing boot?
|
|
|
05-17-2014, 07:45 PM
|
#3
|
LQ Newbie
Registered: May 2014
Posts: 3
Original Poster
Rep:
|
That depends how the Samsung drive implements ATA passwords. Samsung SSDs (or at least this model) always encrypt the memory, but simply store the key. Ideally the ATA password is implemented so that it is used to decrypt the encryption key, but who knows.
But how do you think does that make a difference?
|
|
|
05-18-2014, 02:23 AM
|
#4
|
Senior Member
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
|
Quote:
Originally Posted by ernstlenzer
But how do you think does that make a difference?
|
It would be silly to depend on a boot password that doesn't provide full disk encryption. There are plenty of Linux solutions for full disk encryption. It doesn't sound like disk encryption if you don't need to enter a key on reboot which is why I asked.
|
|
|
05-18-2014, 07:00 AM
|
#5
|
LQ Newbie
Registered: May 2014
Posts: 3
Original Poster
Rep:
|
It's hardware based, why would you need to enter the password again? The drive remembers the password until you turn it off.
But you're right this is definitely not 100% secure and my important data is additionally encrypted with dm-crypt.
However my original question wasn't about security, I just wonder how I can make the drive not power off when Linux is shut down (if that's what's causing the reboot problem). There must be a way, since it works fine in Windows.
|
|
|
All times are GMT -5. The time now is 01:41 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|