How to disable GELI selectively?

thor thor at irk.ru
Tue Jun 19 03:39:25 UTC 2018


The other partitions are NOT in fstab. They are mounted manually with 
explicit mount and geli attach commands. Moreover, it occurs during a 
boot well before init gets control and spawns the mount process.


On 06/19/18 09:50, Erich Dollansky wrote:
> Hi,
>
> On Tue, 19 Jun 2018 00:19:01 +0800
> thor <thor at irk.ru> wrote:
>
>> Hello!
>>
>> Here I have a computer with 2 HDDs partitioned identically with GELI
>> encrypted root as in
>> https://forums.freebsd.org/threads/howto-full-disk-encryption-fast-way.19082/
>>
>> When I boot the computer it properly asks the passphrase
>> for /dev/ada0p3 and mounts /dev/ada0p3.eli as a root.
>>
>> Then, it asks "Enter passphrase for gptid...." which I don't want
>> since the second HDD should be attached manually when needed ONLY and
>> all other time it should be unmounted. I am to press enter enough
>> times to make me mad.
>>
>> What should I do?
>>
> just take all other partitions / slices out of /etc/fstab.
>
> Erich
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>



More information about the freebsd-questions mailing list