From owner-freebsd-questions@FreeBSD.ORG Sat Feb 15 16:18:52 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 774A3FDB for ; Sat, 15 Feb 2014 16:18:52 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 26BAC13D1 for ; Sat, 15 Feb 2014 16:18:51 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.8/8.14.8) with ESMTP id s1FGIj0M044156 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 15 Feb 2014 09:18:45 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.8/8.14.8/Submit) with ESMTP id s1FGIju2044153; Sat, 15 Feb 2014 09:18:45 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sat, 15 Feb 2014 09:18:45 -0700 (MST) From: Warren Block To: Polytropon Subject: Re: Installing without blowing away GRUB/MBR In-Reply-To: <20140215100854.5f429b0c.freebsd@edvax.de> Message-ID: References: <20140215025211.GC4472@blisses.org> <20140215100854.5f429b0c.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Sat, 15 Feb 2014 09:18:45 -0700 (MST) Cc: Mason Loring Bliss , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Feb 2014 16:18:52 -0000 On Sat, 15 Feb 2014, Polytropon wrote: > On Fri, 14 Feb 2014 21:52:11 -0500, Mason Loring Bliss wrote: > >> What I'm imagining is that I'll end up with a freebsd-boot partition with >> stage1 and stage2 in it, and then a ZFS partition with everything else. (To >> throw a curve, I want to set up mirroring, and I assume I want either >> manually or automatically to end up with an equivalent freebsd-boot partition >> on the second disk.) > > That should be easy to prepare with gpart and gmorror. > Warren Block wrote an article about that topic which > you'll find helpful: > > http://www.wonkity.com/~wblock/docs/html/gmirror.html That article probably does not apply to this situation (or maybe any... I added a warning to it last week). A ZFS mirror is probably a better solution than ZFS on top of a gmirror. Looking back on this thread, I'm confused. The subject says MBR, but then the text talks about GPT. If possible, avoid MBR and the "partitions inside a partition" mess of EBR or MBR slice/FreeBSD partitions and just use GPT. Grub2 is supposed to handle it.