Date: Fri, 7 May 2004 01:49:47 -0700 (PDT) From: Cedric DEVILLERS <cedric.devillers@script.jussieu.fr> To: freebsd-gnats-submit@FreeBSD.org Subject: i386/66350: sysinstall create a partition of subtype=3 ( and not 165 ) in non-interactive mode Message-ID: <200405070849.i478nlmP009935@www.freebsd.org> Resent-Message-ID: <200405070850.i478oN93084151@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405070849.i478nlmP009935>