From owner-freebsd-current@FreeBSD.ORG Sat Jul 9 10:20:14 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06C3D1065675 for ; Sat, 9 Jul 2011 10:20:14 +0000 (UTC) (envelope-from eirnym@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id C88198FC15 for ; Sat, 9 Jul 2011 10:20:13 +0000 (UTC) Received: by iwr19 with SMTP id 19so3131209iwr.13 for ; Sat, 09 Jul 2011 03:20:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=ZLk8ONwFuQeIgINSj9BOHIgd6VQZfr/spNXc050oRgE=; b=szVwpFYEdvs/SQOC2VwN1NWdVDlDmcxBEmK+7CfWZqwk0qrHKNod8EuB9SWM/vTwys zH9ESr5MHLe61e/NKRDTEnD9KkO6QkH2XCRCfA2o9wIKGyL2xVRevANIo5aS0JQcaKJe c/lZvlePYPPf8whRqzJzMitx83CIcGd7KGO9Y= Received: by 10.231.116.215 with SMTP id n23mr11399ibq.143.1310206813147; Sat, 09 Jul 2011 03:20:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.38.5 with HTTP; Sat, 9 Jul 2011 03:19:53 -0700 (PDT) In-Reply-To: References: <12DA9EAC-8677-49AD-BA6C-5A155D2A6122@berczi.be> <4E14C0D9.9040503@gmail.com> <2040FCF6-2CA2-4CF3-BB78-F5A3069297FF@berczi.be> <4E158846.4040807@gmail.com> From: Eir Nym Date: Sat, 9 Jul 2011 14:19:53 +0400 Message-ID: To: Berczi Gabor Content-Type: text/plain; charset=UTF-8 Cc: Volodymyr Kostyrko , freebsd-current@freebsd.org Subject: Re: ZFS boot fails with two pools X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2011 10:20:14 -0000 On 8 July 2011 09:28, Berczi Gabor wrote: > > On Jul 7, 2011, at 12:19 PM, Volodymyr Kostyrko wrote: > >>>> 2. Try to convince bios to boot from the disk of pool2. >>> >>> There is no disk with a singular ZFS pool. >> >> Any disk from bootable pool. > > Every disk contains two pools. And the BIOS sees only two (maybe three) of them. > >>>> 3. You can possibly try deploying /boot/boot0 MBR selector code over disks of data pool. Supplied boot0 code can be used to choose another disk to jump to it during boot process and will remember the last choice. >>> >>> I'm not really sure how to do this with GPT. Should I use boot0 instead of pmbr? >> >> boot0cfg is your old friend > > Cool, how do we get acquinted? > >> Actuall I think that code on that stages just tries to boot from the pool on the current disk. > > There are two pools on it... > gpart(8) can set 'bootme' flag for GPT partition, so there no problem to specify from which partition to boot. -- Eir Nym > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >