9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Castor Fu castor@tkg.com
Subject: dual boot Plan9/Win95
Date: Sun, 28 Apr 1996 21:06:36 -0400	[thread overview]
Message-ID: <19960429010636.zT-UTZxk-jx__xlJKONj0Db5k895w4ckgZtW4m71Lyk@z> (raw)

I installed Microsoft Windows 95 on my laptop  which already
had Plan9 9 happily running.  With a little work, I've gotten
Plan 9 and Win95 to coexist in a dual boot situation, and 
no longer  have to boot into MS-DOS.  Hopefully
these notes will help others that want to do the same.

MS Win95 has three main configuration files in the boot phase.
I found documentation on these in the "Windows 95 Resource Kit"
which was located in the "ADMIN" directory of the distribution
CD-ROM.  These files are:

msdos.sys:
	controls the initial boot menu, dos/win95 dual boot, etc.
	When screwing around with config files, it's good to
	set "BootMenu=1" here to allow safe exit.

config.sys:
	used to load real mode drivers, i.e. dos/windows holdovers
autoexec.bat:
	Used to set environment variables, and has some
	ability to run programs.

In config.sys, it's possible to set up multiple boot configurations,
but the execution rules do not seem to be the same as in MS-DOS.  For
Plan9 I set up a boot configuration which immediately installs B.COM.
Win95 versions of drivers like "setver" and "emm386" and the I/O
Redirector still seem to get loaded.  Luckily they don't seem to
conflict with b.com.

Things seem to work pretty well.  The most noticeable problem
is that rebooting with "^T^Tr" does not work going back into
Win95, probably because the Plug and Play BIOS does not get 
re-executed.

I used the following in my config.sys file:
	[menu]
	menucolor=10
	menuitem=win95
	menuitem=plan9
	[win95]

	rem These two lines processed by io.sys in win95
	DEVICE=C:\WINDOWS\SETVER.EXE
	DEVICE=C:\WINDOWS\HIMEM.SYS/M:2 /testmem:off

	rem handled by io.sys in win95
	DOS=HIGH,UMB
	FILES=40
	LASTDRIVE=Z

	rem leave space for cardsoft
	rem emm386.exe processed by config.sys in w95
	device=C:\WINDOWS\emm386.exe on X=D000-DFFF
	break=on
	
	SHELL=C:\COMMAND.COM C:\ /P /E:1024

	[plan9]
	install=c:\plan9\b.com

My MSDOS.SYS looks like:
	[Paths]
	UninstallDir=C:\
	WinDir=C:\WINDOWS
	WinBootDir=C:\WINDOWS
	HostWinBootDrv=C

	[Options]
	BootGUI=1
	Network=1
	; Setting this to one forces the boot menu
	BootMenu=0
	BootMulti=1

	; following lines are required for other programs.
	; Do not remove them (MSDOS.SYS needs to be >1024 bytes).
[  dos fodder elided ]

--------------------- Castor Fu              +1.512.433.3329 <castor@tkg.com> 
         The Kernel Group, Inc.                           http://www.tkg.com/







                 reply	other threads:[~1996-04-29  1:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19960429010636.zT-UTZxk-jx__xlJKONj0Db5k895w4ckgZtW4m71Lyk@z \
    --to=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).