Subject: Need help with partitioning an HDD
To: None <port-i386@netbsd.org>
From: Peter G. Osenev <osenev@sitek.net>
List: port-i386
Date: 05/02/2000 20:53:23
This is a multi-part message in MIME format.

------=_NextPart_000_000A_01BFB478.74E36CC0
Content-Type: text/plain;
	charset="koi8-r"
Content-Transfer-Encoding: quoted-printable

Hi everyone!=20

This is my first installation of NetBSD (1-4-2).I try to partition my =
6.4GB IDE drive while installing NetBSD from a boot floppy.=20

There are two partitions on the drive: PRIMARY DOS, FAT 16 > 32MB ( =
2047MB) and EXTENDED (4102MB).

On my PRIMARY partition I've got MS Windows 98SE with all my stuff =
(including a NetBDS ditstibutive).On the EXTENDED I want to install =
NetBSD-1.4.2.=20

I make four BSD partitions in the EXTENDED.They are:



/ (64MB)=20

/usr (~3800MB)

/tmp (400MB)

/var (128MB)



So, the disklabel is ready to rewrite an MBR of the HDD (it makes a =
DISKTAB file in /etc with partition tables).

The content of my /etc/disktab is shown below:

# $NetBSD: disktab.preinstall,v 1.1 1997/06/14 18:56:07 perry Exp $
#
# Disk geometry and partition layout tables.=20
# Key:
# dt     controller type
# ty     type of disk (fixed, removeable, simulated)
# d[    0-4] drive-type-dependent parameters
# ns     #sectors/track
# nt     #tracks/cylinder
# nc    #cylinders/disk
# sc    sectors/cylinder, nc*nt default
# su    #sectors/unit, sc*nc default
# se    sector size, DEV_BSIZE default
# rm    rpm, 3600 default
# sf     supports bad144-style bad sector forwarding
# sk    sector skew per track, default 0
# cs    sector skew per cylinder, default 0
# hs    headswitch time, default 0
# ts    one-cylinder seek time, default 0
# il     sector interleave (n:1), 1 default
# bs   boot block size, default BBSIZE
# sb   superblock size, default SBSIZE
# o[a-h]   partition offsets in sectors
# p[a-h]   partition sizes in sectors
# b[a-h]   partition block sizes in bytes
# f[a-h]    partition fragment sizes in bytes
# t[a-h]   partition types (filesystem, swap, etc)
#
# All partition sizes reserve space for bad sector tables.
# (5 cylinders needed for maintenance + replacement sectors)
#
SEAL|NetBSD installation generated:\
 :dt=3D(null):ty=3Dwinchester:\
 :nc#13328:nt#15:ns#63:\
 :sc#945:su#12594960:\
 :se#512:\
 :pa#130410:oa#4192965:ta=3D4.2BSD:ba#8192:fa#1024\
 :pb#264600:ob#4323375:tb=3Dswap:\
 :pc#8401995:oc#4192965:tc=3Dunused:\
 :pd#12594960:od#0:td=3Dunused:\
 :pe#261765:oe#4587975:te=3D4.2BSD:be#8192:fe#1024\
 :pf#819315:of#4849740:tf=3D4.2BSD:bf#8192:ff#1024\
 :pg#6925905:og#5669055:tg=3D4.2BSD:bg#8192:fg#1024\
 :ph#0:oh#0:th=3Dunused:



Where's my 2,047GB of the msdos FAT 16 partition ?

It looks like the entry must be in the line.. :ph#.... but it doesn't

I know that the disktab can be edited manually.

How can I add my lost msdos partition to the disktab? (I mean how the =
line with :ph#... for the 2047MB FAT 16 partition will look like?)

Also, I see in the thread that there's an issue with  dual booting of

Windows 98/NetBSD

Thanks to all!





Peter G. Osenev

Technical support engineer,

Sitek ISP , Moscow

P.S. Sorry for my poor english.


------=_NextPart_000_000A_01BFB478.74E36CC0
Content-Type: text/html;
	charset="koi8-r"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dkoi8-r" http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>
<P>Hi everyone! </P>
<P>This is my first installation of NetBSD (1-4-2).I try to partition my =
6.4GB=20
IDE drive while installing NetBSD from a boot floppy. </P>
<P>There are two partitions on the drive: PRIMARY DOS, FAT 16 &gt; 32MB =
(=20
2047MB) and EXTENDED (4102MB).</P>
<P>On my PRIMARY partition I've got MS Windows 98SE with all my stuff =
(including=20
a NetBDS ditstibutive).On the EXTENDED I want to =
install&nbsp;NetBSD-1.4.2. </P>
<P>I make four BSD partitions in the EXTENDED.They are:</P>
<P>&nbsp;</P>
<P>/ (64MB) </P>
<P>/usr (~3800MB)</P>
<P>/tmp (400MB)</P>
<P>/var (128MB)</P>
<P>&nbsp;</P>
<P>So, the disklabel is ready to rewrite an MBR of the HDD (it makes a =
DISKTAB=20
file in /etc with partition tables).</P>
<P>The content of my /etc/disktab is shown below:</P>
<P>#&nbsp;$NetBSD: disktab.preinstall,v 1.1 1997/06/14 18:56:07 perry =
Exp=20
$<BR>#<BR># Disk geometry and partition layout tables. <BR>#=20
Key:<BR>#&nbsp;dt&nbsp;&nbsp;&nbsp;&nbsp; controller=20
type<BR>#&nbsp;ty&nbsp;&nbsp;&nbsp;  type of disk (fixed, removeable,=20
simulated)<BR>#&nbsp;d[&nbsp;&nbsp;&nbsp;&nbsp;0-4]&nbsp;drive-type-depen=
dent=20
parameters<BR>#&nbsp;ns&nbsp;&nbsp;&nbsp;&nbsp;=20
#sectors/track<BR>#&nbsp;nt&nbsp;&nbsp;&nbsp;&nbsp;=20
#tracks/cylinder<BR>#&nbsp;nc&nbsp;&nbsp;&nbsp;=20
#cylinders/disk<BR>#&nbsp;sc&nbsp;&nbsp;&nbsp; sectors/cylinder, nc*nt=20
default<BR>#&nbsp;su &nbsp;&nbsp; #sectors/unit, sc*nc=20
default<BR>#&nbsp;se&nbsp;&nbsp;&nbsp; sector size, DEV_BSIZE=20
default<BR>#&nbsp;rm&nbsp;&nbsp;&nbsp; rpm, 3600=20
default<BR>#&nbsp;sf&nbsp;&nbsp;&nbsp;&nbsp; supports bad144-style bad =
sector=20
forwarding<BR>#&nbsp;sk&nbsp;&nbsp;&nbsp; sector skew per track, default =

0<BR>#&nbsp;cs&nbsp;&nbsp;&nbsp; sector skew per cylinder, default=20
0<BR>#&nbsp;hs&nbsp;&nbsp;&nbsp; headswitch time, default=20
0<BR>#&nbsp;ts&nbsp;&nbsp;&nbsp; one-cylinder seek time, default=20
0<BR>#&nbsp;il&nbsp;&nbsp;&nbsp;&nbsp; sector interleave (n:1), 1=20
default<BR>#&nbsp;bs&nbsp;&nbsp; boot block size, default=20
BBSIZE<BR>#&nbsp;sb&nbsp;&nbsp; superblock size, default=20
SBSIZE<BR>#&nbsp;o[a-h]&nbsp;&nbsp; partition offsets in=20
sectors<BR>#&nbsp;p[a-h]&nbsp;&nbsp; partition sizes in=20
sectors<BR>#&nbsp;b[a-h]&nbsp;&nbsp; partition block sizes in=20
bytes<BR>#&nbsp;f[a-h]&nbsp;&nbsp;&nbsp; partition fragment sizes in=20
bytes<BR>#&nbsp;t[a-h]&nbsp;&nbsp; partition types (filesystem, swap,=20
etc)<BR>#<BR># All partition sizes reserve space for bad sector =
tables.<BR># (5=20
cylinders needed for maintenance + replacement =
sectors)<BR>#<BR>SEAL|NetBSD=20
installation=20
generated:\<BR>&nbsp;:dt=3D(null):ty=3Dwinchester:\<BR>&nbsp;:nc#13328:nt=
#15:ns#63:\<BR>&nbsp;:sc#945:su#12594960:\<BR>&nbsp;:se#512:\<BR>&nbsp;:p=
a#130410:oa#4192965:ta=3D4.2BSD:ba#8192:fa#1024\<BR>&nbsp;:pb#264600:ob#4=
323375:tb=3Dswap:\<BR>&nbsp;:pc#8401995:oc#4192965:tc=3Dunused:\<BR>&nbsp=
;:pd#12594960:od#0:td=3Dunused:\<BR>&nbsp;:pe#261765:oe#4587975:te=3D4.2B=
SD:be#8192:fe#1024\<BR>&nbsp;:pf#819315:of#4849740:tf=3D4.2BSD:bf#8192:ff=
#1024\<BR>&nbsp;:pg#6925905:og#5669055:tg=3D4.2BSD:bg#8192:fg#1024\<BR>&n=
bsp;:ph#0:oh#0:th=3Dunused:</P>
<P>&nbsp;</P>
<P>Where's my 2,047GB of the msdos FAT 16 partition ?</P>
<P>It looks like the entry must be in the line.. :ph#.... but it =
doesn't</P>
<P>I know that the disktab can be edited manually.</P>
<P>How can I add my lost msdos partition to the disktab? (I mean how the =
line=20
with :ph#... for the 2047MB FAT 16 partition will look like?)</P>
<P>Also, I see in the thread that there's an issue with&nbsp; dual =
booting=20
of</P>
<P><FONT face=3D"Arial Cyr" size=3D2>Windows 98/NetBSD</FONT></P>
<P>Thanks to all!</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>Peter G. Osenev</P>
<P>Technical support engineer,</P>
<P>Sitek ISP , Moscow</P>
<P><FONT face=3D"Arial Cyr" size=3D2>P.S. Sorry for my poor=20
english.</P></FONT></DIV></BODY></HTML>

------=_NextPart_000_000A_01BFB478.74E36CC0--