i386/66350: sysinstall create a partition of subtype=3 ( and not
165 ) in non-interactive mode
Cedric DEVILLERS
cedric.devillers at script.jussieu.fr
Fri May 7 01:50:24 PDT 2004
>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 at 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:
More information about the freebsd-i386
mailing list