Old GPT/GELI disk issue

Andre Goree andre at drenet.net
Wed Sep 18 13:19:28 UTC 2013


On 09/18/2013 7:44 am, RW wrote:
> On Tue, 17 Sep 2013 19:22:30 -0400
> Andre Goree wrote:
> 
>> Hey list,
>> 
>> I have a disk that was at one time part of a GPT/GELI configuration
>> and thus, had a passphrase attached to it.
>> 
>> I've since reformatted that disk and am using it for another purpose,
>> but the system still appears to think the disk should be unlocked via
>> passphrase.  I always have to enter some arbitrary passphrase to get
>> past the prompt, after which the system continues to boot as normal.
>> I thought all I would need to do is comment the corresponding parts
>> in /boot/loader.conf, but that doesn't appear to be the case.  Anyone
>> have any insight?
> 
> 
> geli metadata is stored in the last sector of the provider which wont
> get overwritten by newfs or similar.
> 
> I guess you need to run geli clear on it.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"


Thanks, I knew this was probably some simple command I was missing to 
erase the metadata...Googling didn't turn up much but I probably wasn't 
searching for the write thing.

I'll give this a shot, I'm sure this will resolve it.  Thanks again.

-- 
Andre Goree
-=-=-=-=-=-
Email     - andre at drenet.net
Website   - http://www.drenet.net
PGP key   - http://www.drenet.net/0x83ADAAAB.asc
-=-=-=-=-=-


More information about the freebsd-questions mailing list