From nobody@FreeBSD.org  Fri Feb 10 11:39:48 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1AE99106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 10 Feb 2012 11:39:48 +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 044588FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 10 Feb 2012 11:39:48 +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 q1ABdlKw054189
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 10 Feb 2012 11:39:47 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q1ABdlYZ054188;
	Fri, 10 Feb 2012 11:39:47 GMT
	(envelope-from nobody)
Message-Id: <201202101139.q1ABdlYZ054188@red.freebsd.org>
Date: Fri, 10 Feb 2012 11:39:47 GMT
From: Alexander Kirillov <benamrun@yandex.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: new bsd installer, pc-style partitions: no way to set 'bootable' ('active') flag
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         164950
>Category:       bin
>Synopsis:       bsdinstall(8): pc-style partitions: no way to set 'bootable' ('active') flag
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    nwhitehorn
>State:          analyzed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 10 11:40:07 UTC 2012
>Closed-Date:    
>Last-Modified:  Sun Feb 19 22:26:05 UTC 2012
>Originator:     Alexander Kirillov
>Release:        9.0
>Organization:
private person
>Environment:
After-install boot problem, so no 'uname -a' available.
>Description:
New installer allows create more than one slices, but not allows to set 'active' or 'bootable' flag to any slice (see old sysinstall -> configure -> fdisk -> "(S)et bootable" option).

In case of single slice, probably, this bit is not needed. But multiple slices sometimes is also usable.

In case of multiple slices, if no slice with 'bootable' bit, "standard" mbr boot code will not be able to boot the system ("/boot/kernel/kernel not found"). "Boot manager" mbr code, i thing, will be stopped at the same point with message like "Press F1 to boot FreeBSD\nPress F2 to boot FreeBSD" (not good for server systems).

Please add ability to set this bit in new bsd installer.
>How-To-Repeat:
In process of standard installation:
-- created 2 slices in master boot record of FreeBSD (type 165),
-- created bsd partitions: /, swap, /var, /tmp and /usr in 1st slice; /etc/nfsshare in 2nd slice with "standard" mbr boot code;
-- proceed installation process;
-- reboot.

After reboot got the message "/boot/kernel/kernel not found" and can't go into installed system.

>Fix:
Run FreeBSD in LiveCD mode, run sysinstall and set "active partition" bit on the 1st slice.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-sysinstall 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Feb 19 22:22:01 UTC 2012 
Responsible-Changed-Why:  
reclassify. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=164950 
State-Changed-From-To: open->analyzed 
State-Changed-By: nwhitehorn 
State-Changed-When: Sun Feb 19 22:25:15 UTC 2012 
State-Changed-Why:  
Fix in progress, should be in within 2 weeks. Thanks for the report! 


Responsible-Changed-From-To: freebsd-sysinstall->nwhitehorn 
Responsible-Changed-By: nwhitehorn 
Responsible-Changed-When: Sun Feb 19 22:25:15 UTC 2012 
Responsible-Changed-Why:  
Fix in progress, should be in within 2 weeks. Thanks for the report! 

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