View | Details | Raw Unified | Return to bug 20183 | Differences between
and this patch

Collapse All | Expand All

(-)article.sgml (-30 / +30 lines)
Lines 144-154 Link Here
144
144
145
    <itemizedlist>
145
    <itemizedlist>
146
      <listitem>
146
      <listitem>
147
	<para><filename>/dev/wd0</> (first physical hard disk)</para>
147
	<para><filename>/dev/wd0</filename> (first physical hard disk)</para>
148
      </listitem>
148
      </listitem>
149
149
150
      <listitem>
150
      <listitem>
151
	<para><filename>/dev/wd1</> (second hard disk)</para>
151
	<para><filename>/dev/wd1</filename> (second hard disk)</para>
152
      </listitem>
152
      </listitem>
153
    </itemizedlist>
153
    </itemizedlist>
154
154
Lines 157-163 Link Here
157
    <procedure>
157
    <procedure>
158
      <step>
158
      <step>
159
	<para>I boot from a MS-DOS or Windows 95 boot disk that
159
	<para>I boot from a MS-DOS or Windows 95 boot disk that
160
	  contains the <filename>FDISK.EXE</> utility and make a small
160
	  contains the <filename>FDISK.EXE</filename> utility and make a small
161
	  50 meg primary partition (35-40 for Windows 95, plus a
161
	  50 meg primary partition (35-40 for Windows 95, plus a
162
	  little breathing room) on the first disk.  Also create a
162
	  little breathing room) on the first disk.  Also create a
163
	  larger partition on the second hard disk for my Windows
163
	  larger partition on the second hard disk for my Windows
Lines 166-172 Link Here
166
166
167
      <step>
167
      <step>
168
	<para>I reboot and install Windows 95 (easier said than done)
168
	<para>I reboot and install Windows 95 (easier said than done)
169
	  on the <filename>C:</> partition.</para>
169
	  on the <filename>C:</filename> partition.</para>
170
      </step>
170
      </step>
171
171
172
      <step>
172
      <step>
Lines 191-205 Link Here
191
	  1024th cylinder.  (The 1024th cylinder is 528 megs into the
191
	  1024th cylinder.  (The 1024th cylinder is 528 megs into the
192
	  disk with our hypothetical 720MB disks).  I will use the
192
	  disk with our hypothetical 720MB disks).  I will use the
193
	  rest of the hard drive (about 270 megs) for the
193
	  rest of the hard drive (about 270 megs) for the
194
	  <filename>/usr</> and <filename>/</> slices if I wish.  The
194
	  <filename>/usr</filename> and <filename>/</filename> slices if I wish.  The
195
	  rest of the second hard disk (size depends on the amount of
195
	  rest of the second hard disk (size depends on the amount of
196
	  my Windows application/data partition that I created in step
196
	  my Windows application/data partition that I created in step
197
	  1 can go to the <filename>/usr/src</> slice and swap
197
	  1 can go to the <filename>/usr/src</filename> slice and swap
198
	  space.</para>
198
	  space.</para>
199
      </step>
199
      </step>
200
200
201
      <step>
201
      <step>
202
	<para>When viewed with the Windows 95 <command>fdisk</>
202
	<para>When viewed with the Windows 95 <command>fdisk</command>
203
	  utility, my hard drives should now look something like this:
203
	  utility, my hard drives should now look something like this:
204
204
205
	  <screen>
205
	  <screen>
Lines 238-251 Link Here
238
238
239
      <step>
239
      <step>
240
	<para>Install FreeBSD.  I make sure to boot with my first hard
240
	<para>Install FreeBSD.  I make sure to boot with my first hard
241
	  disk set at <quote>NORMAL</> in the BIOS.  If it is not,
241
	  disk set at <quote>NORMAL</quote> in the BIOS.  If it is not,
242
	  I'll have the enter my true disk geometry at boot time (to
242
	  I'll have the enter my true disk geometry at boot time (to
243
	  get this, boot Windows 95 and consult Microsoft Diagnostics
243
	  get this, boot Windows 95 and consult Microsoft Diagnostics
244
	  (<filename>MSD.EXE</>), or check your BIOS) with the
244
	  (<filename>MSD.EXE</filename>), or check your BIOS) with the
245
	  parameter <literal>hd0=1416,16,63</> where
245
	  parameter <literal>hd0=1416,16,63</literal> where
246
	  <replaceable>1416</> is the number of cylinders on my hard
246
	  <replaceable>1416</replaceable> is the number of cylinders on my hard
247
	  disk, <replaceable>16</> is the number of heads per track,
247
	  disk, <replaceable>16</replaceable> is the number of heads per track,
248
	  and <replaceable>63</> is the number of sectors per track on
248
	  and <replaceable>63</replaceable> is the number of sectors per track on
249
	  the drive.</para>
249
	  the drive.</para>
250
      </step>
250
      </step>
251
251
Lines 275-281 Link Here
275
      cylinder.</para>
275
      cylinder.</para>
276
276
277
    <para>If you install Windows 95 on an existing BSD system, it will
277
    <para>If you install Windows 95 on an existing BSD system, it will
278
      <quote>destroy</> the MBR, and you will have to reinstall your
278
      <quote>destroy</quote> the MBR, and you will have to reinstall your
279
      previous boot manager.  Boot Easy can be reinstalled by using
279
      previous boot manager.  Boot Easy can be reinstalled by using
280
      the BOOTINST.EXE utility included in the \TOOLS directory on the
280
      the BOOTINST.EXE utility included in the \TOOLS directory on the
281
      CD-ROM, and via <ulink
281
      CD-ROM, and via <ulink
Lines 305-323 Link Here
305
	<email>jayrich@sysc.com</email>)</emphasis>.</para>
305
	<email>jayrich@sysc.com</email>)</emphasis>.</para>
306
306
307
    <para>FreeBSD+Win95:  If you installed FreeBSD after Windows 95,
307
    <para>FreeBSD+Win95:  If you installed FreeBSD after Windows 95,
308
      you should see <literal>DOS</> on the Boot Easy menu.  This is
308
      you should see <literal>DOS</literal> on the Boot Easy menu.  This is
309
      Windows 95.  If you installed Windows 95 after FreeBSD, read
309
      Windows 95.  If you installed Windows 95 after FreeBSD, read
310
      <xref linkend="ch4"> above.  As long as your hard disk does not
310
      <xref linkend="ch4"> above.  As long as your hard disk does not
311
      have 1024 cylinders you should not have a problem booting.  If
311
      have 1024 cylinders you should not have a problem booting.  If
312
      one of your partitions goes beyond the 1024th cylinder however,
312
      one of your partitions goes beyond the 1024th cylinder however,
313
      and you get messages like <errorname>invalid system disk</>
313
      and you get messages like <errorname>invalid system disk</errorname>
314
      under DOS (Windows 95) and FreeBSD will not boot, try looking
314
      under DOS (Windows 95) and FreeBSD will not boot, try looking
315
      for a setting in your BIOS called <quote>&gt; 1024 cylinder
315
      for a setting in your BIOS called <quote>&gt; 1024 cylinder
316
	support</> or <quote>NORMAL/LBA</> mode.  DOS may need LBA
316
	support</quote> or <quote>NORMAL/LBA</quote> mode.  DOS may need LBA
317
      (Logical Block Addressing) in order to boot correctly.  If the
317
      (Logical Block Addressing) in order to boot correctly.  If the
318
      idea of switching BIOS settings every time you boot up doesn't
318
      idea of switching BIOS settings every time you boot up doesn't
319
      appeal to you, you can boot FreeBSD through DOS via the
319
      appeal to you, you can boot FreeBSD through DOS via the
320
      <filename>FBSDBOOT.EXE</> utility on the CD (It should find your
320
      <filename>FBSDBOOT.EXE</filename> utility on the CD (It should find your
321
      FreeBSD partition and boot it.)</para>
321
      FreeBSD partition and boot it.)</para>
322
322
323
    <para>FreeBSD+OS/2+Win95:  Nothing new here.  OS/2's boot manger
323
    <para>FreeBSD+OS/2+Win95:  Nothing new here.  OS/2's boot manger
Lines 399-405 Link Here
399
399
400
	<informalexample>
400
	<informalexample>
401
	  <para>(# of cylinders) &times; (# heads) &times; (63
401
	  <para>(# of cylinders) &times; (# heads) &times; (63
402
	    sectors/track) &times; (512 bytes/sect)</>
402
	    sectors/track) &times; (512 bytes/sect)</para>
403
	</informalexample>
403
	</informalexample>
404
404
405
      <para>For example, on my 1.6 Gig Western Digital AC31600 EIDE hard
405
      <para>For example, on my 1.6 Gig Western Digital AC31600 EIDE hard
Lines 419-427 Link Here
419
	though: if you're using BIOS LBA (see <xref
419
	though: if you're using BIOS LBA (see <xref
420
	  linkend="limits">), you can't use just any program to get
420
	  linkend="limits">), you can't use just any program to get
421
	the physical geometry.  This is because many programs (e.g.
421
	the physical geometry.  This is because many programs (e.g.
422
	<filename>MSD.EXE</> or FreeBSD fdisk) don't identify the
422
	<filename>MSD.EXE</filename> or FreeBSD fdisk) don't identify the
423
	physical disk geometry; they instead report the
423
	physical disk geometry; they instead report the
424
	<firstterm>translated geometry</> (virtual numbers from using
424
	<firstterm>translated geometry</firstterm> (virtual numbers from using
425
	LBA).  Stay tuned for what that means.</para>
425
	LBA).  Stay tuned for what that means.</para>
426
426
427
      <para>One other useful thing about these terms.  Given 3
427
      <para>One other useful thing about these terms.  Given 3
Lines 434-442 Link Here
434
      <para>For those that are interested in more technical details,
434
      <para>For those that are interested in more technical details,
435
	information on disk geometry, boot sectors, BIOSes, etc. can
435
	information on disk geometry, boot sectors, BIOSes, etc. can
436
	be found all over the net.  Query Lycos, Yahoo, etc. for
436
	be found all over the net.  Query Lycos, Yahoo, etc. for
437
	<literal>boot sector</> or <literal>master boot record</>.
437
	<literal>boot sector</literal> or <literal>master boot record</literal>.
438
	Among the useful info you'll find are Hale Landis's
438
	Among the useful info you'll find are Hale Landis's
439
	<citetitle>How It Works</> document pack.  See the <xref
439
	<citetitle>How It Works</citetitle> document pack.  See the <xref
440
	  linkend="sources"> section for a few pointers to this
440
	  linkend="sources"> section for a few pointers to this
441
	pack.</para>
441
	pack.</para>
442
442
Lines 449-469 Link Here
449
449
450
      <para>On the first sector of your disk (Cyl 0, Head 0, Sector 1)
450
      <para>On the first sector of your disk (Cyl 0, Head 0, Sector 1)
451
	lives the Master Boot Record (MBR).  It contains a map of your
451
	lives the Master Boot Record (MBR).  It contains a map of your
452
	disk.  It identifies up to 4 <firstterm>partitions</>, each of
452
	disk.  It identifies up to 4 <firstterm>partitions</firstterm>, each of
453
	which is a contiguous chunk of that disk.  FreeBSD calls
453
	which is a contiguous chunk of that disk.  FreeBSD calls
454
	partitions <firstterm>slices</> to avoid confusion with it's
454
	partitions <firstterm>slices</firstterm> to avoid confusion with it's
455
	own partitions, but we won't do that here.  Each partition can
455
	own partitions, but we won't do that here.  Each partition can
456
	contain its own operating system.</para>
456
	contain its own operating system.</para>
457
457
458
      <para>Each partition entry in the MBR has a <firstterm>Partition
458
      <para>Each partition entry in the MBR has a <firstterm>Partition
459
	  ID</>, a <firstterm>Start Cylinder/Head/Sector</>, and an
459
	  ID</firstterm>, a <firstterm>Start Cylinder/Head/Sector</firstterm>, and an
460
	<firstterm>End Cylinder/Head/Sector</>.  The Partition ID
460
	<firstterm>End Cylinder/Head/Sector</firstterm>.  The Partition ID
461
	tells what type of partition it is (what OS) and the Start/End
461
	tells what type of partition it is (what OS) and the Start/End
462
	tells where it is.  <xref linkend="tbl-pid"> lists a
462
	tells where it is.  <xref linkend="tbl-pid"> lists a
463
	smattering of some common Partition IDs.</para>
463
	smattering of some common Partition IDs.</para>
464
464
465
      <table id="tbl-pid">
465
      <table id="tbl-pid">
466
	<title>Partition IDs</>
466
	<title>Partition IDs</title>
467
467
468
	<tgroup cols="2">
468
	<tgroup cols="2">
469
	  <thead>
469
	  <thead>
Lines 515-521 Link Here
515
      <para>Note that not all partitions are bootable (e.g. Extended
515
      <para>Note that not all partitions are bootable (e.g. Extended
516
	DOS).  Some are&mdash;some aren't.  What makes a partition
516
	DOS).  Some are&mdash;some aren't.  What makes a partition
517
	bootable is the configuration of the <firstterm>Partition Boot
517
	bootable is the configuration of the <firstterm>Partition Boot
518
	  Sector</> that exists at the beginning of each
518
	  Sector</firstterm> that exists at the beginning of each
519
	partition.</para>
519
	partition.</para>
520
520
521
      <para>When you configure your favorite boot manager, it looks up
521
      <para>When you configure your favorite boot manager, it looks up
Lines 577-583 Link Here
577
	</listitem>
577
	</listitem>
578
578
579
	<listitem>
579
	<listitem>
580
	  <para>64 sectors/track, max (actually 63, <literal>0</>
580
	  <para>64 sectors/track, max (actually 63, <literal>0</literal>
581
	    isn't available)</para>
581
	    isn't available)</para>
582
	</listitem>
582
	</listitem>
583
      </itemizedlist>
583
      </itemizedlist>

Return to bug 20183