Subject: install/18153: sysinst says 'c' partition on i386 starts/ends at sector 0
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jlam@netbsd.org>
List: netbsd-bugs
Date: 09/03/2002 05:56:02
>Number:         18153
>Category:       install
>Synopsis:       sysinst says 'c' partition on i386 starts/ends at sector 0
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 02 22:57:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Johnny C. Lam
>Release:        NetBSD-1.6_RC2 from 20020830 sources
>Organization:
The NetBSD Project
>Environment:
	AMD 2100XP on virgin hardware, 120GB IDE disk, 2GB RAM

>Description:

	I'm having trouble setting up the disklabel using the 1.6_RC2
	sysinst on a i386 bootable CD I made from August 30 tarballs
	fetched from releng.netbsd.org.  When I edit the partitions in the
	NetBSD portion of the disk, I see that the 'd' partition spans the
	whole disk, but the 'c' partition spans 0 sectors.  If I ignore the
	fact that the 'c' partition doesn't seem to exist and add 'a' and
	'b' partitions anyway, then when sysinst tries to actually write
	the partition table and disklabel, then I get asked "Write outside
	MBR partition [n]".  If I say "y" and proceed with the installation,
	then after the installation is complete and I remove the install CD,
	the BIOS doesn't recognize wd0 as a bootable hard drive.  Also, the
	number of sectors reported in the 'd' partition doesn't match the
	number of sectors reported by "fdisk wd0".

>How-To-Repeat:
	Try to install 1.6_RC2 onto a new machine.

>Fix:
	I had to write my own disklabel and fix the mismatched partition
	sizes to get the BIOS to recognize wd0 as a boot disk.  That won't
	fly with new users.
>Release-Note:
>Audit-Trail:
>Unformatted: