All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Lord <kernel@teksavvy.com>
To: Maciej Grela <maciej.grela@gmail.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: How to perform SECURITY ERASE on a SEC4 (security enabled/locked) PATA drive ?
Date: Fri, 29 Apr 2011 09:47:54 -0400	[thread overview]
Message-ID: <4DBAC18A.20407@teksavvy.com> (raw)
In-Reply-To: <BANLkTikZt4Nr3DK3CkZXZ_ORgqjy-MGOUA@mail.gmail.com>

On 11-04-27 04:15 PM, Maciej Grela wrote:
> Hi ata gurus,
> 
> I have a 2.5'' PATA drive with security enabled and unknown password.
> I'd like to erase that disk and use it. I've been trying to apply the
> instructions at the libata wiki:
> https://ata.wiki.kernel.org/index.php/ATA_Secure_Erase but they cover
> only the scenario in which the drive doesn't have security enabled
> before we start the procedure. In my case this approach doesn't work
> because I cannot set the password (step 3a):

First, update your hdparm to hdparm-9.37 from sourceforge.
Distros seem to continue to ship old versions for some weird reason,
and there have been lots of improvements since the 2008 copy they use.

Then, try this:


hdparm --security-set-pass NULL /dev/sdx
hdparm --security-erase NULL /dev/sdx


Cheers
-ml

  reply	other threads:[~2011-04-29 13:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-27 20:15 How to perform SECURITY ERASE on a SEC4 (security enabled/locked) PATA drive ? Maciej Grela
2011-04-29 13:47 ` Mark Lord [this message]
2011-04-29 20:57   ` Maciej Grela
2011-04-30  2:26     ` Mark Lord
2011-04-30  8:10       ` Maciej Grela
2011-05-03 14:55         ` Mark Lord
2011-05-04 19:43           ` Maciej Grela

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DBAC18A.20407@teksavvy.com \
    --to=kernel@teksavvy.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=maciej.grela@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.