From nobody@FreeBSD.org  Wed Aug  1 17:09:51 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 6702537B401
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  1 Aug 2001 17:09:51 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f7209pR99306;
	Wed, 1 Aug 2001 17:09:51 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200108020009.f7209pR99306@freefall.freebsd.org>
Date: Wed, 1 Aug 2001 17:09:51 -0700 (PDT)
From: "Antonio D'souza" <quik@quikbox.ca>
To: freebsd-gnats-submit@FreeBSD.org
Subject: the disk editor used by /stand/sysinstall gets confused by slices that are not labelled in order and writes the partition table incorrectly.
X-Send-Pr-Version: www-1.0

>Number:         29375
>Category:       bin
>Synopsis:       sysinstall(8): disk editor gets confused by slices that are not labeled in order and writes the partition table incorrectly.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-sysinstall
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 01 17:10:22 PDT 2001
>Closed-Date:    
>Last-Modified:  Sun Jan 23 22:05:10 UTC 2011
>Originator:     Antonio D'souza
>Release:        4.3-stable
>Organization:
University of Waterloo
>Environment:
FreeBSD quikbox.ca 4.3-STABLE 
FreeBSD 4.3-STABLE #1: Wed May  i386 unknown

>Description:
I need to make a useable partition out of some previously allocated but unused partitions so I fired up /stand/sysinstall (which had been upgraded when I built the world some weeks ago) and ran the disk editor.
After deleting 2 exiting partitions and creating a new partition out of the free space, I tried to write the partition table.
However, in the process of deleting one of those partition (ad0s2), I caused the partitions to be out of order.
Unfortunately, when I tried to write the ptable, it tried to write the part info in the wrong order and failed.
After rebooting, the machine would not boot, saying "invalid partition table".
I had to use the sysinstall on my installation CD-ROM to fix the problem.
This keeps happening every time I try to use the /stand/sysinstall on my machine now.
>How-To-Repeat:
see desc.
>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-qa 
Responsible-Changed-By: murray 
Responsible-Changed-When: Sun Sep 23 23:24:00 PDT 2001 
Responsible-Changed-Why:  
The fine folks on freebsd-qa love to fix sysinstall bugs. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29375 
Responsible-Changed-From-To: freebsd-qa->qa 
Responsible-Changed-By: johan 
Responsible-Changed-When: Sat Aug 24 19:48:09 PDT 2002 
Responsible-Changed-Why:  
Use short names for mailing list to make searches    
using the web query form work with the shown responsible. 

This also makes open PRs show up in the summery mail. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=29375 
Responsible-Changed-From-To: qa->freebsd-qa 
Responsible-Changed-By: jhb 
Responsible-Changed-When: Mon Aug 2 18:39:29 GMT 2004 
Responsible-Changed-Why:  
Canonicalize responsible. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=29375 
Responsible-Changed-From-To: freebsd-bugs->brucec  
Responsible-Changed-By: brucec 
Responsible-Changed-When: Sat Mar 13 00:13:24 UTC 2010 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=29375 
Responsible-Changed-From-To: brucec->freebsd-bugs 
Responsible-Changed-By: brucec 
Responsible-Changed-When: Sun Jan 23 20:54:00 UTC 2011 
Responsible-Changed-Why:  
Back to the pool. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=29375 
Responsible-Changed-From-To: freebsd-bugs->freebsd-sysinstall 
Responsible-Changed-By: brucec 
Responsible-Changed-When: Sun Jan 23 22:04:55 UTC 2011 
Responsible-Changed-Why:  
sysinstall PR. 

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