From owner-freebsd-stable@freebsd.org Thu Apr 28 07:44:33 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2181FB1FB9B for ; Thu, 28 Apr 2016 07:44:33 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from elf.hq.norma.perm.ru (unknown [IPv6:2a00:7540:1::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.norma.perm.ru", Issuer "Vivat-Trade UNIX Root CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9739A18ED for ; Thu, 28 Apr 2016 07:44:32 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from bsdrookie.norma.com. (pc029351.norma.com [IPv6:fd00::71d] (may be forged)) by elf.hq.norma.perm.ru (8.15.2/8.15.2) with ESMTPS id u3S7iSXq048564 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 28 Apr 2016 12:44:29 +0500 (YEKT) (envelope-from emz@norma.perm.ru) From: "Eugene M. Zheganin" Subject: booting from separate zfs pool To: freebsd-stable@FreeBSD.org Message-ID: <5721BF5C.1070201@norma.perm.ru> Date: Thu, 28 Apr 2016 12:44:28 +0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2016 07:44:33 -0000 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.