From owner-freebsd-questions@FreeBSD.ORG Mon Feb 8 14:31:30 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FE661065672 for ; Mon, 8 Feb 2010 14:31:30 +0000 (UTC) (envelope-from psteele@maxiscale.com) Received: from server505.appriver.com (server505b.appriver.com [98.129.35.5]) by mx1.freebsd.org (Postfix) with ESMTP id 3A4AC8FC1D for ; Mon, 8 Feb 2010 14:31:29 +0000 (UTC) X-Policy: GLOBAL - maxiscale.com X-Primary: psteele@maxiscale.com X-Note: This Email was scanned by AppRiver SecureTide X-ALLOW: psteele@maxiscale.com ALLOWED X-Virus-Scan: V- X-Note: Spam Tests Failed: X-Country-Path: UNITED STATES->UNITED STATES->UNITED STATES X-Note-Sending-IP: 98.129.23.14 X-Note-Reverse-DNS: ht01.exg5.exghost.com X-Note-WHTLIST: psteele@maxiscale.com X-Note: User Rule Hits: X-Note: Global Rule Hits: G173 G174 G175 G176 G180 G181 G192 G279 X-Note: Encrypt Rule Hits: X-Note: Mail Class: ALLOWEDSENDER X-Note: Headers Injected Received: from [98.129.23.14] (HELO ht01.exg5.exghost.com) by server505.appriver.com (CommuniGate Pro SMTP 5.3.2) with ESMTPS id 22953720 for freebsd-questions@freebsd.org; Mon, 08 Feb 2010 08:31:34 -0600 Received: from mbx03.exg5.exghost.com ([169.254.1.200]) by ht01.exg5.exghost.com ([98.129.23.14]) with mapi; Mon, 8 Feb 2010 08:31:28 -0600 From: Peter Steele To: "freebsd-questions@freebsd.org" Date: Mon, 8 Feb 2010 08:31:27 -0600 Thread-Topic: What is correct syntax in boot.config fo GPT partitions? Thread-Index: AcqogPKijk59MC6bSVODnAyCxYzyqgAR5+jg Message-ID: <7B9397B189EB6E46A5EE7B4C8A4BB7CB383B25E8@MBX03.exg5.exghost.com> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB383B2591@MBX03.exg5.exghost.com> In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB383B2591@MBX03.exg5.exghost.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: RE: What is correct syntax in boot.config fo GPT partitions? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2010 14:31:30 -0000 >I've used the syntax > >1:ad(1,a)/boot/loader > >in boot.config to specify the boot device. This doesn't work with GPT part= itions. What's the correct syntax in boot.config for GPT partitions? I looked at the source code to boot.c and there doesn't seem to be anything= specifically related to GPT partitioning. So I'm puzzled: If I have a two = drive system with BSD loaded on both drives and the drives are configured w= ith GPT partitions, how can I force the system to boot from the second driv= e using boot.config? I've done with this MBR partitioning using either 0:ad(0,a)/boot/loader 1:ad(1,a)/boot/loader to specify either the first disk or the second disk. I've tried various inc= arnations of this to select with drive to boot from in my GPT based system = but nothing works. My impression is that it isn't supported, except for MBR= partitioning. Is this true?