Re: help install new kernel on root-on-ZFS on 11-STABLE

2016-10-16 Thread Shane Ambler

On 17/10/2016 09:01, Ben Woods wrote:

On Monday, 17 October 2016, Brandon J. Wandersee <
brandon.wander...@gmail.com> wrote:


Last I checked, the automated installer created a separate pool called
"bootpool," with a symlink from /boot to /bootpool.



I believe this is the case if the option for full disk encryption is
selected in the installer. This is required until the boot loader is
capable of recognising and accessing a geli encrypted disk.


For a "plain" install, /boot is nothing more than a directory created in
the root filesystem that will get created during installation. This is
the same for UFS and ZFS. I haven't checked during a build but I don't
think anything gets installed into /boot before installkernel so you
shouldn't expect it to exist before installkernel.

As mentioned you can create a separate pool for /boot so you can load
the kernel from a non-encrypted filesystem that can then mount the
remaining encrypted filesystems.

Another alternative setup is using boot environments that would create
filesystems as /sys/ROOT/ that are then mounted as the
root filesystem. Like a plain system the /boot folder would still be
created at the installkernel stage.


--
FreeBSD - the place to B...Storing Data

Shane Ambler

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: help install new kernel on root-on-ZFS on 11-STABLE

2016-10-16 Thread Aryeh Friedman
The bug report pointed to says the same thing but the new issue is it is
not documented in the Handbook and/or not mounted by default (for someone
who is brand new to ZFS it is very counter intutive to see a symlink
pointing off into space)

On Sun, Oct 16, 2016 at 6:21 PM, Brandon J. Wandersee <
brandon.wander...@gmail.com> wrote:

>
> Aryeh Friedman writes:
>
> > I just installed 11-STABLE on a brand new system and can't find a valid
> > /boot in which to do "make installkernel" to.  I am used to how to do
> make
> > world on UFS.   How do I do it on root-on-ZFS?
>
> Last I checked, the automated installer created a separate pool called
> "bootpool," with a symlink from /boot to /bootpool. Check to see
> "bootpool" exists; if so, it's not mounted, which is another problem
> that needs addressing. If it doesn't exist, then something has changed
> and I have no idea what to do.
>
> --
> ::  Brandon J. Wandersee
> ::  brandon.wander...@gmail.com
> ::  --
> ::  'The best design is as little design as possible.'
> ::  --- Dieter Rams --
>



-- 
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: help install new kernel on root-on-ZFS on 11-STABLE

2016-10-16 Thread Ben Woods
On Monday, 17 October 2016, Brandon J. Wandersee <
brandon.wander...@gmail.com> wrote:
>
> Last I checked, the automated installer created a separate pool called
> "bootpool," with a symlink from /boot to /bootpool.
>

I believe this is the case if the option for full disk encryption is
selected in the installer. This is required until the boot loader is
capable of recognising and accessing a geli encrypted disk.

Regards,
Ben


-- 

--
From: Benjamin Woods
woods...@gmail.com
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: help install new kernel on root-on-ZFS on 11-STABLE

2016-10-16 Thread Brandon J . Wandersee

Aryeh Friedman writes:

> I just installed 11-STABLE on a brand new system and can't find a valid
> /boot in which to do "make installkernel" to.  I am used to how to do make
> world on UFS.   How do I do it on root-on-ZFS?

Last I checked, the automated installer created a separate pool called
"bootpool," with a symlink from /boot to /bootpool. Check to see
"bootpool" exists; if so, it's not mounted, which is another problem
that needs addressing. If it doesn't exist, then something has changed
and I have no idea what to do.

-- 
::  Brandon J. Wandersee
::  brandon.wander...@gmail.com
::  --
::  'The best design is as little design as possible.'
::  --- Dieter Rams --
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


help install new kernel on root-on-ZFS on 11-STABLE

2016-10-16 Thread Aryeh Friedman
I just installed 11-STABLE on a brand new system and can't find a valid
/boot in which to do "make installkernel" to.  I am used to how to do make
world on UFS.   How do I do it on root-on-ZFS?

-- 
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"