From chris@chacal.cjkey.org.uk  Wed Apr  8 16:53:11 2009
Return-Path: <chris@chacal.cjkey.org.uk>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 975D8106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  8 Apr 2009 16:53:11 +0000 (UTC)
	(envelope-from chris@chacal.cjkey.org.uk)
Received: from chacal.cjkey.org.uk (chacal.cjkey.org.uk [88.97.163.217])
	by mx1.freebsd.org (Postfix) with ESMTP id 22B718FC0C
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  8 Apr 2009 16:53:10 +0000 (UTC)
	(envelope-from chris@chacal.cjkey.org.uk)
Received: from chacal.wzl33 (localhost [127.0.0.1])
	by chacal.cjkey.org.uk (8.14.3/8.14.3) with ESMTP id n38Gr9Wd004024
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 8 Apr 2009 17:53:09 +0100 (BST)
	(envelope-from chris@chacal.wzl33)
Received: (from chris@localhost)
	by chacal.wzl33 (8.14.3/8.14.3/Submit) id n38Gr9Il004023;
	Wed, 8 Apr 2009 17:53:09 +0100 (BST)
	(envelope-from chris)
Message-Id: <200904081653.n38Gr9Il004023@chacal.wzl33>
Date: Wed, 8 Apr 2009 17:53:09 +0100 (BST)
From: Christopher Key <chris@chacal.cjkey.org.uk>
Reply-To: Christopher Key <chris@chacal.cjkey.org.uk>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: 'gpt boot' should mark the slice in the protective mbr as active
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         133493
>Category:       bin
>Synopsis:       gpt(8): 'gpt boot' should mark the slice in the protective mbr as active
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    rnoland
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 08 17:00:09 UTC 2009
>Closed-Date:    Sun Nov 01 17:20:37 UTC 2009
>Last-Modified:  Sun Nov 01 17:20:37 UTC 2009
>Originator:     Christopher Key
>Release:        FreeBSD 7.1-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD chacal.wzl33 7.1-RELEASE-p3 FreeBSD 7.1-RELEASE-p3 #5: Mon Apr 6 23:58:47 BST 2009 root@chacal.wzl33:/usr/obj/usr/src/sys/CHACAL amd64


	
>Description:
GPT partitioned disks have a protective mbr in the first sector of the
disk, containing code to boot from the disk on non-EFI systems, along
with an entry for a single slice covering the entire disk.  Some BIOSes,
e.g. Intel DQ965GF, will refuse to attempt to boot from a disk without
an active slice.  A workaround is to mark the slice as active after
installing installing the pmbr, i.e.

gpt boot /dev/...
fdisk -a /dev/... (set slice 1 as active)

It would however be preferable for gpt to do this itself, either by
default, or by adding a suitable command line option.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:

From: Jeff Kletsky <jeff+freebsd@wagsky.com>
To: bug-followup@FreeBSD.org, chris@chacal.cjkey.org.uk
Cc:  
Subject: Re: bin/133493: gtp(8): 'gpt boot' should mark the slice in the protective
 mbr as active
Date: Fri, 10 Jul 2009 12:08:40 -0700

 Confirmed still a problem in 7.2-RELEASE-p2 with Intel D945GCLF2 and 
 current BIOS.
 
 Related problems include the PMBR starting at 0xffffff -- bin/115406
State-Changed-From-To: open->patched 
State-Changed-By: gavin 
State-Changed-When: Thu Oct 22 21:33:39 UTC 2009 
State-Changed-Why:  
This is fixed in HEAD in r198097 


Responsible-Changed-From-To: freebsd-bugs->rnoland 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Thu Oct 22 21:33:39 UTC 2009 
Responsible-Changed-Why:  
Over to rnoland as MFC reminder 

http://www.freebsd.org/cgi/query-pr.cgi?pr=133493 
State-Changed-From-To: patched->closed 
State-Changed-By: rnoland 
State-Changed-When: Sun Nov 1 17:20:36 UTC 2009 
State-Changed-Why:  
This is now in RELENG_7 and RELENG_8 

http://www.freebsd.org/cgi/query-pr.cgi?pr=133493 
>Unformatted:
