From owner-freebsd-bugs@FreeBSD.ORG Sun Aug 14 13:00:20 2011 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 AE39F106566B for ; Sun, 14 Aug 2011 13:00:20 +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 7E0958FC17 for ; Sun, 14 Aug 2011 13:00:20 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p7ED0Kxd054368 for ; Sun, 14 Aug 2011 13:00:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7ED0K1E054367; Sun, 14 Aug 2011 13:00:20 GMT (envelope-from gnats) Resent-Date: Sun, 14 Aug 2011 13:00:20 GMT Resent-Message-Id: <201108141300.p7ED0K1E054367@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, Hyogeol Lee Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 068F7106564A for ; Sun, 14 Aug 2011 12:55:06 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id C83938FC0C for ; Sun, 14 Aug 2011 12:55:06 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p7ECt6aw032993 for ; Sun, 14 Aug 2011 12:55:06 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p7ECt6AA032987; Sun, 14 Aug 2011 12:55:06 GMT (envelope-from nobody) Message-Id: <201108141255.p7ECt6AA032987@red.freebsd.org> Date: Sun, 14 Aug 2011 12:55:06 GMT From: Hyogeol Lee To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: bin/159765: fdisk(8) cannot set active partition using '-u' option X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Aug 2011 13:00:20 -0000 >Number: 159765 >Category: bin >Synopsis: fdisk(8) cannot set active partition using '-u' option >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 14 13:00:20 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Hyogeol Lee >Release: FreeBSD 9.0-current >Organization: BTS technologies >Environment: FreeBSD darkstar 9.0-BETA1 FreeBSD 9.0-BETA1 #0: Sat Aug 6 02:51:38 KST 2011 root@darkstar:/usr/obj/usr/src/sys/QUEEN amd64 >Description: I have failed to set active partition using '-u' option of fdisk(8) on 9.0-current. The error message was "Active partition number must be in range 1-4. Try again.". This is full message while fdisk: ******* Working on device /dev/da0 ******* parameters extracted from in-core disklabel are: cylinders=10443 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=10443 heads=255 sectors/track=63 (16065 blks/cyl) Do you want to change our idea of what BIOS thinks ? [n] Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 238 (0xee),(EFI GPT) start 1, size 167772159 (81919 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 255/ sector 63 Do you want to change it? [n] The data for partition 2 is: Do you want to change it? [n] The data for partition 3 is: Do you want to change it? [n] The data for partition 4 is: Do you want to change it? [n] Partition 1 is marked active Do you want to change the active partition? [n] y Supply a decimal value for "active partition" [1] 1 Active partition number must be in range 1-4. Try again. Supply a decimal value for "active partition" [1] 2 Active partition number must be in range 1-4. Try again. Supply a decimal value for "active partition" [1] 3 Active partition number must be in range 1-4. Try again. Supply a decimal value for "active partition" [1] 4 Active partition number must be in range 1-4. Try again. Supply a decimal value for "active partition" [1] >How-To-Repeat: 'fdisk -u' to your disk and try to set active partition >Fix: >Release-Note: >Audit-Trail: >Unformatted: