[ale] Reformat LUKS drive

Edward Holcroft eholcroft at mkainc.com
Tue Aug 9 15:14:40 EDT 2016


Hah!

Thank you! dd worked.

On Tue, Aug 9, 2016 at 2:23 PM, Jim Kinney <jkinney at jimkinney.us> wrote:

> dd if=/dev/zero of=/dev/<drive in dock no partition number> bs=512
> count=1024
>
> Or,
>
> cryptsetup erase /dev/<drive in dock>
>
> On Tue, 2016-08-09 at 13:54 -0400, Edward Holcroft wrote:
>
> Hi,
>
> I have a 2TB LUKS encrypted drive that I want to reuse. However, it seems
> I am unable to remove the LUKS partition. When I connect it to my computer
> (using a USB dock) it requests the password, which I no longer have. But
> that's OK, since I don't want to mount it or access the data, I just want
> to blow everything away.
>
> Fdisk appears to allow me to remove all the partitions and create a new
> Linux partition. However, as soon as I reconnect it to my computer, it
> shows up as a LUKS encrypted partition again, and wants a password.
>
> Is there some special thing I'm supposed to do to get rid of the encrypted
> partition. In addition to fdisk I tried luksFormat to see if I could create
> a fresh encrypted partition and go from there, but that did not work either.
>
> ​ed​
>
>
> MADSEN, KNEPPERS & ASSOCIATES USA, MKA Canada Inc. WARNING/CONFIDENTIALITY
> NOTICE: This message may be confidential and/or privileged. If you are not
> the intended recipient, please notify the sender immediately then delete it
> - you should not copy or use it for any purpose or disclose its content to
> any other person. Internet communications are not secure. You should scan
> this message and any attachments for viruses. Any unauthorized use or
> interception of this e-mail is illegal.
>
> _______________________________________________
> Ale mailing listAle at ale.orghttp://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists athttp://mail.ale.org/mailman/listinfo
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
>


-- 

_________________________________________

*Edward O. Holcroft*
IT Operations Manager

*Madsen, Kneppers & Associates, Inc.*
Construction Consultants & Engineers
11695 Johns Creek Parkway, Suite 250
Johns Creek, GA 30097

*O*  770.446.9606  |  *F*  770.446.9612  |  *C*  770.630.0949  |
eholcroft at mkainc.com

www.mkainc.com

-- 
MADSEN, KNEPPERS & ASSOCIATES USA, MKA Canada Inc. WARNING/CONFIDENTIALITY 
NOTICE: This message may be confidential and/or privileged. If you are not 
the intended recipient, please notify the sender immediately then delete it 
- you should not copy or use it for any purpose or disclose its content to 
any other person. Internet communications are not secure. You should scan 
this message and any attachments for viruses. Any unauthorized use or 
interception of this e-mail is illegal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20160809/8084f373/attachment.html>


More information about the Ale mailing list