From owner-freebsd-bugs@FreeBSD.ORG Wed Apr 8 17:00:10 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 782B01065673 for ; Wed, 8 Apr 2009 17:00:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2149F8FC17 for ; Wed, 8 Apr 2009 17:00:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n38H099n017031 for ; Wed, 8 Apr 2009 17:00:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n38H09ds017030; Wed, 8 Apr 2009 17:00:09 GMT (envelope-from gnats) Resent-Date: Wed, 8 Apr 2009 17:00:09 GMT Resent-Message-Id: <200904081700.n38H09ds017030@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Christopher Key Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 975D8106564A for ; 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 ; 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 ; 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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: misc/133493: 'gpt boot' should mark the slice in the protective mbr as active X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Christopher Key List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Apr 2009 17:00:10 -0000 >Number: 133493 >Category: misc >Synopsis: 'gpt boot' should mark the slice in the protective mbr as active >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Apr 08 17:00:09 UTC 2009 >Closed-Date: >Last-Modified: >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: >Unformatted: