From owner-freebsd-i386@FreeBSD.ORG Fri May 7 01:50:24 2004 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48FE016A4CE for ; Fri, 7 May 2004 01:50:24 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF76443D60 for ; Fri, 7 May 2004 01:50:23 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i478oNIs084152 for ; Fri, 7 May 2004 01:50:23 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i478oN93084151; Fri, 7 May 2004 01:50:23 -0700 (PDT) (envelope-from gnats) Resent-Date: Fri, 7 May 2004 01:50:23 -0700 (PDT) Resent-Message-Id: <200405070850.i478oN93084151@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Cedric DEVILLERS Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E42DC16A4CE for ; Fri, 7 May 2004 01:49:47 -0700 (PDT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC12A43D72 for ; Fri, 7 May 2004 01:49:47 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i478nlAx009936 for ; Fri, 7 May 2004 01:49:47 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i478nlmP009935; Fri, 7 May 2004 01:49:47 -0700 (PDT) (envelope-from nobody) Message-Id: <200405070849.i478nlmP009935@www.freebsd.org> Date: Fri, 7 May 2004 01:49:47 -0700 (PDT) From: Cedric DEVILLERS To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: i386/66350: sysinstall create a partition of subtype=3 ( and not 165 ) in non-interactive mode X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 May 2004 08:50:24 -0000 >Number: 66350 >Category: i386 >Synopsis: sysinstall create a partition of subtype=3 ( and not 165 ) in non-interactive mode >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 07 01:50:23 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Cedric DEVILLERS >Release: 5.1 RELEASE but it seems to be present in 5.2 and 5.2.1 releases too >Organization: SCRIPT - Univ. Paris 7 >Environment: FreeBSD machin.truc.bidule 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 root@wv1u.btc.adactec.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: When sysinstall is executed in NonInteractive mode, the command "diskPartitionEditor" create a partition with a subtype equal to 3 ( and not 165 ) for a freebsd partition. So the rest of the install fails. >How-To-Repeat: install.cfg must contain the following lines : nonInteractive=YES disk=ad0 partition=free # or partition=1024M for example bootManager=none diskPartitionEditor >Fix: Correct the /usr/src/usr.sbin/sysinstall/disks.c file : in the diskPartitionNonInteractive subroutine, change the subtype=3 in the call of Create_Chunk to the SUBTYPE_FREEBSD value, in the "free" choice and in the "partition size" choice. >Release-Note: >Audit-Trail: >Unformatted: