Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Sep 2013 09:19:23 -0400
From:      Andre Goree <andre@drenet.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Old GPT/GELI disk issue
Message-ID:  <f2647edfcc1f3c6416e2399aa285388d@drenet.net>
In-Reply-To: <20130918124409.76fb7567@gumby.homeunix.com>
References:  <e04367f5fd2e6e207c6986ff54d9d8fa@drenet.net> <20130918124409.76fb7567@gumby.homeunix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@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
-=-=-=-=-=-



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f2647edfcc1f3c6416e2399aa285388d>