Subject: Re: DOS partitions and install...
To: Peter Seebach <seebs@solon.com>
From: Frank van der Linden <frank@wins.uva.nl>
List: port-i386
Date: 03/02/1997 20:46:24
Quoting Peter Seebach,

> It would seem to me that I ought to be able to install by mounting my
> DOS partition under NetBSD; sure enough, there's a mount_msdos, but what
> device name refers to the non-NetBSD partitions of a disk?  This would make
> it easier for me to work around the kernel hacks... :)

You'll have to add a partition to the disklabel for the MSDOS part. For
example:

5 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:   590688   410256    4.2BSD     1024  8192    16   # (Cyl.  407 - 992)
  b:    64512  1000944      swap                        # (Cyl.  993 - 1056)
  c:   655200   410256    unused        0     0         # (Cyl.  407 - 1056)
  d:  1065456        0    unused        0     0         # (Cyl.    0 - 1056)
  e:   410193       63     MSDOS                        # (Cyl.    0*- 406*)

a = NetBSD partition
b = NetBSD swap
c = total NetBSD part
d = whole disk
e = MSDOS part.

Note that the MSDOS part starts after the first track; that's used by the
master boot record etc.

- Frank