NetBSD Problem Report #28842

From  Sun Jan  2 19:06:00 2005
Return-Path: <>
Received: from fuchsia.home (unknown [])
	by (Postfix) with ESMTP id F19B063B844
	for <>; Sun,  2 Jan 2005 19:05:45 +0000 (UTC)
Message-Id: <200501021904.j02J4GdB003550@fuchsia.home>
Date: Mon, 3 Jan 2005 02:04:16 +0700 (ICT)
From: kre@munnari.OZ.AU
Subject: sysinst left hand doesn't know what its right hand is doing
X-Send-Pr-Version: 3.95

>Number:         28842
>Category:       install
>Synopsis:       sysinst left hand doesn't know what its right hand is doing
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 02 19:09:00 +0000 2005
>Originator:     Robert Elz
>Release:        NetBSD 1.6U (-- irrelevant info from send-pr client system)
	Prince of Songkla University
System: NetBSD 1.6U NetBSD 1.6U (FUCHSIA) #51: Wed Jul 23 16:06:08 ICT 2003 i386
	That's all irrelevant.   System where the problem was noticed
	is an i386 running current as of Dec 22, 2004  (that is, just
	before the anoncvs shutdown)
Architecture: i386
Machine: i386
	When building a default disklabel, sysinst fails to notice that
	the fdisk label has been changed (by sysinst) from what the
	drive had when it was detected.   It constructs a NetBSD
	label wth a bad partition sie (and perhaps a bad offset as well,
	I didn't get to test that one).
	Have a drive with a Wintrash partition on it.   The drive in question
	was the drive from my immediately previous PR.   The bad extended
	partition and the NetBSD partition had been deleted, leaving a
	wintrash partition that occupied about 7% of the drive space (< 1GB).
	Start sysinst.   Go through the normal install process, along the
	way, using sysinst' MBR editor to increase the size of the Wintrash
	partition (I was making it ~50% of the drive - 6.5GB approx).

	Then label the drive the normal creating patitions as
	appropriate.   Install NetBSD.   After NetBSD is running,
	use disklabel to examine the label that's been installed.
	Notice that partition 'e' has been set aside to map the
	Windows MBR partition - but that the size allocated to it is
	the size that the windows partition had before it was altered
	(inside sysinst).
	No idea, haven't looked.   Not difficult to repair once aware
	of the problem.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.