From owner-freebsd-current@FreeBSD.ORG Thu Oct 22 01:15:52 2009 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 9DECE106566C for ; Thu, 22 Oct 2009 01:15:52 +0000 (UTC) (envelope-from ari@ish.com.au) Received: from fish.ish.com.au (eth5921.nsw.adsl.internode.on.net [59.167.240.32]) by mx1.freebsd.org (Postfix) with ESMTP id 58B9F8FC19 for ; Thu, 22 Oct 2009 01:15:52 +0000 (UTC) Received: from ip-149.ish.com.au ([203.29.62.149]:63631) by fish.ish.com.au with esmtpa (Exim 4.69) (envelope-from ) id 1N0mLv-0004rL-0C; Thu, 22 Oct 2009 12:20:31 +1100 Message-ID: <4ADFB244.6060109@ish.com.au> Date: Thu, 22 Oct 2009 12:15:48 +1100 From: Aristedes Maniatis User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.5pre) Gecko/20091019 Shredder/3.0pre MIME-Version: 1.0 To: Robert Noland References: <4ADE995A.8080009@ish.com.au> <5208B24B-0ED9-493F-81E4-04BF33FA9062@mac.com> <4ADFABE1.2080001@ish.com.au> <1256172767.2309.1.camel@balrog.2hip.net> In-Reply-To: <1256172767.2309.1.camel@balrog.2hip.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Marcel Moolenaar , freebsd-current@freebsd.org Subject: Re: gpart, bsdlabel and fdisk 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: Thu, 22 Oct 2009 01:15:52 -0000 On 22/10/09 11:52 AM, Robert Noland wrote: > On Thu, 2009-10-22 at 11:48 +1100, Aristedes Maniatis wrote: >> > Hmmm... I was hoping for something more useful than that response. >> > Where is it documented that I have to do "echo 'a 1' | fdisk -f >> > - /dev/ad4" to make a disk bootable? > I committed a patch the other day that will set the active flag for a > GPT partitioned disk when you install bootcode on it. Great. Will that make it to RC2? Until then, is this the correct procedure to make a disk capable of booting ZFS: gpart bootcode -b /boot/boot0 ad4 echo 'a 1' | fdisk -f - /dev/ad4 Sean mentions that 16 blocks have to be reserved at the start of the disk (to allow for the bootloader?). Will that also go away with your new patch so that the appropriate space is preserved? Will 16 blocks be enough forever? Thanks Ari -- --------------------------> ish http://www.ish.com.au Level 1, 30 Wilson Street Newtown 2042 Australia phone +61 2 9550 5001 fax +61 2 9550 4001 GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A