From owner-freebsd-stable@freebsd.org Thu Apr 28 10:52:28 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 E4CC7B1F4D2 for ; Thu, 28 Apr 2016 10:52:28 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7DC521528 for ; Thu, 28 Apr 2016 10:52:28 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: by mail-wm0-x22f.google.com with SMTP id e201so71722141wme.0 for ; Thu, 28 Apr 2016 03:52:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=GWjnWKf5Dgln2vF4LXVyGqnAhiLjG2eR8DZ9pC1mU5M=; b=LSdR8+fHCSY4DnUXB1v1dI+dXc6J975YdY8BJz6s9j/03NXygT0IIWaxyMBdyUd8vK lH4PhMhdcsUlLJMr9EciB2KYfjCxWtcE9TyFTI7yvGPUTEptN+3IJDkZDs7hBn2B68eG oYBnRgW6ukymCRvDDZx6uKevmRswnKueGgs2EufU4PwUXKgmjW34ytYODVXVBuWwVivZ JevHTbD21YeiCtVZvaZ5sU15HVEHMgEe8YOiqcg6X95Cc8p9D6j9rRxrk9pV1Igu7mCM Kboyb2zz6LC8rnISMWJMOMY2YErcGTD93Q1OvZCSb86IwIoJerOLj/mOfJ/K0j6cMX15 Gt4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=GWjnWKf5Dgln2vF4LXVyGqnAhiLjG2eR8DZ9pC1mU5M=; b=VrBjSbpVDKA/8gXoY6cwv7IDMCCfNxO2J0jForHEJc+XOgM4X3xfWUYuvhqwHJtGvA EtuXiDhDKtcYF7cEObijHLs96SpiuXMt1iFZHXhFGvZ8Km+jNhENHX62EXzLSGixGy0v LZXxfsUfVgBM/u8H/bxq3iA54NCuJMUy8m3nJDAIqkVbXLLK5ENRaARqo2X/3NYf8ylT vUvpeirXEzZIwOtDwWH7p7e6ou3DFNbkTrc2x/tF11Bt3KnScg4uuMWkX45s9Di4UBbh 4G0ZQlOwzRzoVeOV8vP6KvYYzyG/9Cu6n72aiVj9Z9SA0HRsN00U/g9ii7egKmxUGFjf dCUw== X-Gm-Message-State: AOPr4FUX8BpFKDX3RwfVELJ25nHurowNgTowLLwNqJ92TVLizlLQFIh3UhH2j0QmcncfZccXgOzVGQM8mcmflw== MIME-Version: 1.0 X-Received: by 10.28.130.133 with SMTP id e127mr32289574wmd.48.1461840747061; Thu, 28 Apr 2016 03:52:27 -0700 (PDT) Received: by 10.28.26.17 with HTTP; Thu, 28 Apr 2016 03:52:27 -0700 (PDT) In-Reply-To: <5721BF5C.1070201@norma.perm.ru> References: <5721BF5C.1070201@norma.perm.ru> Date: Thu, 28 Apr 2016 11:52:27 +0100 Message-ID: Subject: Re: booting from separate zfs pool From: krad To: "Eugene M. Zheganin" Cc: freebsd-stable Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 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 10:52:29 -0000 I would not use the root dataset. Create a ROOT/ 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 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" >