Subject: Re: initramfs - CGD root
To: Jan Danielsson <jan.m.danielsson@gmail.com>
From: Tobias Nygren <tnn@NetBSD.org>
List: netbsd-users
Date: 06/30/2007 23:31:49
On Sat, 30 Jun 2007 22:44:10 +0200
Jan Danielsson <jan.m.danielsson@gmail.com> wrote:

>    Quick question. Is it at all possible to boot NetBSD from a USB
> memory key? If so, is it possible to do so that I can boot from it, then
> remove it once the system is running?
> 
>    As you have (probably) already gathered, I want to encrypt /, and I'd
> like to physically separate the key from the hard drive.

Theoretically it should be possible to use md(4) to create
a minimal enviroment with an /etc/rc that configures a cgd,
mounts it over / and jumpstarts the new /etc/rc.
I've been meaning to try that approach when I get around to
upgrading my laptop.

-Tobias