Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Dec 2009 14:54:11 +0000
From:      RW <>
Subject:   Re: Temporarily halt boot process to enter encryption keys?
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Wed, 09 Dec 2009 01:31:47 -0600
"Corey J. Bukolt" <> wrote:

> Hello list,
> I have a FreeNAS box with a CF card for root, and 3 drives (soon to be
> 4) set up with encryption and raidz on top of them.
> A less than excellent detailed report of what I did is here:
> This setup is a bit hackish as after the system boots I need to attach
> each drive using geli, run "zpool import -f primary", and then restart
> all my services (nfs, samba, etc).
> It's become a bit of a chore (especially when doing it all from a
> N810), so I'm looking for a way to temporary halt the boot process so
> that I can ssh in, attach the drives, and then allow the system to
> continue to boot.

It's fairly trivial to write an rc.d script that pauses the boot
process and waits for devices, but sshd runs after LOGIN, and nfs runs
before, so you can't easily reorder then without maintaining modified
rc.d scripts.

I don't see the point though. Why not just write a script to do
what you are doing now? 

Want to link to this message? Use this URL: <>