From test2root@schmalzbauer.de  Tue Oct 19 19:57:38 2004
Return-Path: <test2root@schmalzbauer.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1D68316A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 19 Oct 2004 19:57:38 +0000 (GMT)
Received: from flb.schmalzbauer.de (flb.schmalzbauer.de [62.245.232.135])
	by mx1.FreeBSD.org (Postfix) with ESMTP id CE75243D53
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 19 Oct 2004 19:57:36 +0000 (GMT)
	(envelope-from test2root@schmalzbauer.de)
Received: from korso.flintsbach.schmalzbauer.de ([172.21.2.3])
	by flb.schmalzbauer.de (8.12.11/8.12.11) with ESMTP id i9JJvUNP092105
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 19 Oct 2004 21:57:30 +0200 (CEST)
	(envelope-from test2root@test2.flintsbach.schmalzbauer.de)
Received: from test2.flintsbach.schmalzbauer.de (test2.flintsbach.schmalzbauer.de [172.21.3.2])
	by korso.flintsbach.schmalzbauer.de (Postfix) with ESMTP id 92CCE16C
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 19 Oct 2004 21:57:30 +0200 (CEST)
Received: from test2.flintsbach.schmalzbauer.de (localhost.flintsbach.schmalzbauer.de [127.0.0.1])
	by test2.flintsbach.schmalzbauer.de (8.13.1/8.13.1) with ESMTP id i9JJvUSZ002327
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 19 Oct 2004 21:57:30 +0200 (CEST)
	(envelope-from test2root@test2.flintsbach.schmalzbauer.de)
Received: (from test2root@localhost)
	by test2.flintsbach.schmalzbauer.de (8.13.1/8.13.1/Submit) id i9JJvT80002326;
	Tue, 19 Oct 2004 21:57:29 +0200 (CEST)
	(envelope-from test2root)
Message-Id: <200410191957.i9JJvT80002326@test2.flintsbach.schmalzbauer.de>
Date: Tue, 19 Oct 2004 21:57:29 +0200 (CEST)
From: Harald Schmalzbauer <test2root@schmalzbauer.de>
Reply-To: Harald Schmalzbauer <test2root@schmalzbauer.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Sysinstall generates invalid partition table
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         72895
>Category:       bin
>Synopsis:       sysinstall(8): Sysinstall generates invalid partition table
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-sysinstall
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 19 20:00:22 GMT 2004
>Closed-Date:    
>Last-Modified:  Mon Nov 08 11:14:45 UTC 2010
>Originator:     Harald Schmalzbauer
>Release:        FreeBSD 5.3-RC1 i386
>Organization:
>Environment:
System: FreeBSD test2.flintsbach.schmalzbauer.de 5.3-RC1 FreeBSD 5.3-RC1 #0: Sun Oct 17 01:25:37 UTC 2004 root@wv1u.samsco.home:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	Sysinstall marks any FreeBSD slice (partition) as active.
	So if you create two partitions with ID 165, the partition
	table in the MBR is invalid since there are two active
	partitions.
	This is only with partitions of type 165, it's possible to create
	any other partition and only the FreeBSD (165) one will become
	active!
	I have only checked i386 systems, no clue about other platforms.
>How-To-Repeat:
	Call sysinstall on a multi-drive system or boot from CD and create
	two partitions (slices) with ID 165 and after the final reboot
	the system (i386) wont come up and complain about wrong pratition
	table.
>Fix:

	Make sysinstall check if there's more than one 165 slice instead of
	marking any 165 with flag 80. I'm no coder, so I can't do it, sorry!

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-qa 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Oct 23 23:56:46 GMT 2004 
Responsible-Changed-Why:  
Over to sysinstall maintainers. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72895 

From: Tim Middleton <x@vex.net>
To: bug-followup@freebsd.org, test2root@schmalzbauer.de
Cc:  
Subject: Re: bin/72895: sysinstall(8): Sysinstall generates invalid partition table
Date: Sun, 7 May 2006 14:22:46 -0400

 I just hit apparently this same bug... intsalling 6.1-RC2

From: Tim Middleton <x@vex.net>
To: bug-followup@freebsd.org, test2root@schmalzbauer.de
Cc:  
Subject: Re: bin/72895: sysinstall(8): Sysinstall generates invalid partition table
Date: Sun, 7 May 2006 22:48:10 -0400

 In case anyone else hitting this bug needs some help... the MBR can be easily 
 fixed  by booting from the FreeBSD install disk and running the "fixit" 
 shell. From the shell run:  fdisk -i /dev/yourdrive (yourdrive being 
 something like da0, ad0, amr0, etc)
 
 Accept all of the defaults (ie. don't make any changes) until it prompts you 
 to set the "active" slice. Say yes to that. It will show you all of your 
 FreeBSD partitions (165) as active. And you probably want the default it 
 offers (slice 1). 
 
 When fdisk finishes, reboot.
 
 (The MBR can be fixed a bunch of other ways, with other software, as well, but 
 the above method was what I found simplest and quickest.)
 
 
Responsible-Changed-From-To: freebsd-bugs->rink 
Responsible-Changed-By: rink 
Responsible-Changed-When: Sat Feb 23 19:44:07 UTC 2008 
Responsible-Changed-Why:  
I'll have a look. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72895 
Responsible-Changed-From-To: rink->sysinstall 
Responsible-Changed-By: rink 
Responsible-Changed-When: Thu Oct 28 06:52:53 UTC 2010 
Responsible-Changed-Why:  
Hand back to the pool; I don't have time to work on this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72895 
Responsible-Changed-From-To: sysinstall->freebsd-sysinstall 
Responsible-Changed-By: brucec 
Responsible-Changed-When: Mon Nov 8 11:14:06 UTC 2010 
Responsible-Changed-Why:  
Assign to freebsd-sysinstall. 

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