Received: from SOUTH-STATION-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA10578; Wed, 13 Dec 95 21:27:25 EST
Received: from pain.lcs.mit.edu by MIT.EDU with SMTP
	id AA03745; Wed, 13 Dec 95 21:27:13 EST
Received: (from daemon@localhost) by pain.lcs.mit.edu (8.6.12/8.6.9) id UAA24582; Wed, 13 Dec 1995 20:12:24 -0500
Received: from adinet.analog.com by pain.lcs.mit.edu (8.6.12/8.6.9) with SMTP id UAA22563 for <port-i386@NetBSD.ORG>; Wed, 13 Dec 1995 20:01:56 -0500
Received: by adinet.analog.com id AA07965
  (InterLock SMTP Gateway 3.0 for port-i386@NetBSD.ORG);
  Wed, 13 Dec 1995 20:00:51 -0500
Received: by adinet.analog.com (Internal Mail Agent-3);
  Wed, 13 Dec 1995 20:00:51 -0500
Received: by adinet.analog.com (Internal Mail Agent-2);
  Wed, 13 Dec 1995 20:00:51 -0500
Received: by adinet.analog.com (Internal Mail Agent-1);
  Wed, 13 Dec 1995 20:00:51 -0500
Date: Wed, 13 Dec 95 19:58:56 EST
Message-Id: <9512140058.AA01996@cthulhu>
From: Mike Long <mike.long@analog.com>
To: jlrobins@zappa.cs.uncc.edu
Cc: port-i386@NetBSD.ORG
In-Reply-To: <9512132243.AA01182@zappa.cs.uncc.edu>
	(jlrobins@zappa.cs.uncc.edu)
Subject: Re: Problem coexisting with DOS on IDE (1.1)
Organization: Analog Devices CPD
Reply-To: Mike Long <mike.long@analog.com>
Sender: owner-port-i386@NetBSD.ORG
Precedence: list
X-Loop: port-i386@NetBSD.ORG


>From: jlrobins@zappa.cs.uncc.edu
>Date: Wed, 13 Dec 1995 17:43:21 -0500 (EST)
>
>I'm trying to install NetBSD 1.1 on a IDE machine whose BIOS disk geometry is
>as follows: 524C / 64H / 63S. Dos lives up through cyl 100. When I try to
>install, all goes well except for the installation of the boot blocks -- after
>the kernel is copied to the disk and a reboot, all I get is read error :-(.

>Pfdisk reports the following geometry / partitioning for DOS, which I worked
>around in the NetBSD install:
>
>geometry 524 64 63
>
>#	ID	First(cyl)	Last(cyl)	start, length(sectors)
>1	4	0		100		63, 401769
>2	128	101		200		407232, 403200
>
>(I fudged the ID of 128 for the NetBSD partition (2) using pfdisk. What is 
>the proper ID for NetBSD / FreeBSD / 386BSD ?)
>
>Anyway -- What should I do to this box to get a proper partition table
>and NetBSD boot code?

Use pfdisk to set the partition ID for your NetBSD partition to 165,
which is the value the boot blocks want.  This must be done *before*
you boot the install floppy, or you'll get that warning from
disklabel.

This fact is mentioned in the INSTALL notes.
-- 
Mike Long <mike.long@analog.com>           http://www.shore.net/~mikel
VLSI Design Engineer         finger mikel@shore.net for PGP public key
Analog Devices, CPD Division          CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Norwood, MA 02062 USA       (eq (opinion 'ADI) (opinion 'mike)) -> nil
