Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Apr 2016 11:52:27 +0100
From:      krad <kraduk@gmail.com>
To:        "Eugene M. Zheganin" <emz@norma.perm.ru>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: booting from separate zfs pool
Message-ID:  <CALfReycWBB71YLfspd4LJ7CwarSq5hMkSu=W3-inQJQV=nRMMg@mail.gmail.com>
In-Reply-To: <5721BF5C.1070201@norma.perm.ru>
References:  <5721BF5C.1070201@norma.perm.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
I would not use the root dataset. Create a ROOT/<name> one so it looks for
the kernel in "zboot:/ROOT/fist/boot/kernel/kernel" or similar. This way
you are compatible with beadm.



On 28 April 2016 at 08:44, Eugene M. Zheganin <emz@norma.perm.ru> wrote:

> Hi.
>
> So, I'm still struggling with my problem when I cannot boot from a big
> zfs 2T pool (I have written some messages about a year ago, the whole
> story is too long and irrelevant to retell it, I'll only notice that I
> took the path where I'm about to boot from a separate zfs pool closer to
> the beginning of the disk).
>
> I've created such a smaller pool, called it zboot. I've read pjd@ letter
> explaining that when FreeBSD sees several bootable pools, it chooses the
> first one - that's fine with me, since the new pool partition's number
> is smaller than the big one. So, I created zboot, set the mountpoint to
> legacy, wrote the content to it's /boot directory (and yes, I did call
> the 'make installkernel DESTDIR=/zboot') and rebooted. Strage thing
> happened next - I got
>
>
> Can't find /boot/zfsloader
>
> FreeBSD/x86 boot
> Default: zboot:/boot/kernel/kernel
> boot:
> |
> Can't find /boot/kernel/kernel
>
>
> I booted back from USB stick (that I'm using to boot my machine) and
> rechecked these files - everything mentioned here is in it's place.
>
> Does someone have the idea what I'm doing wrong ? May be this has
> something to do with the fact that zboot does contain only the /boot
> directory, and not the full rootfs ?
>
> Thanks.
> Eugene.
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALfReycWBB71YLfspd4LJ7CwarSq5hMkSu=W3-inQJQV=nRMMg>