LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 05-17-2014, 04:23 PM   #1
ernstlenzer
LQ Newbie
 
Registered: May 2014
Posts: 3

Rep: Reputation: Disabled
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.
 
Old 05-17-2014, 07:02 PM   #2
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
Is the harddrive actually fully encrypted or is the password simply preventing boot?
 
Old 05-17-2014, 07:45 PM   #3
ernstlenzer
LQ Newbie
 
Registered: May 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
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?
 
Old 05-18-2014, 02:23 AM   #4
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
Quote:
Originally Posted by ernstlenzer View Post
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.
 
Old 05-18-2014, 07:00 AM   #5
ernstlenzer
LQ Newbie
 
Registered: May 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
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.
 
  


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
kernel boot option for using enhanced mode P-ATA+S-ATA dont_stop_me Linux - Hardware 0 12-22-2006 04:39 PM
HP Omnibook 6000 Hard drive interface: ATA-100 or ATA-6? shortname Linux - Laptop and Netbook 3 05-11-2005 10:22 PM
How do I use a parallel ATA drive on a serial ATA controller? sigmaris Linux - Hardware 2 08-21-2004 08:41 PM
help. ATA/SCSI Serial-ATA error: "ATA: Abnormal Status" xin Linux - Hardware 10 09-05-2003 11:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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