🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #14595

Switching between Xenix and DOS

#14595
From: Brandon Allbery
Date: Sun, 30 Nov 1986 03:30
35 lines
2090 bytes
Quoted from <2255@sdcsvax.UCSD.EDU> ["DOS --> XENIX --> DOS"], by osbook@sdcsvax.UCSD.EDU (osbook)...
+---------------
| To build FDISK.XEN you need to know what responses FDISK expects to change the 
| active partition from #4 to #2. These responses are (check it yourself on your 
| own system):
| 
|      2 <enter>
|      2 <enter>
|      <escape> <escape>
| 
| Note that there are no <return>'s after the <escape>'s.
| Note: When you execute XENIX.BAT and FDISK works automatically, you will hear 
| two beeps.  Don't worry, it's okay.
+---------------

I use this technique to switch from DOS to Concurrent CP/M for a real-time
application we have.  The spurious beeps are caused by the fact that <enter>
is stored as <cr> <lf>, while FDISK expects only <cr>.  Create a file contai-
ning only the characters:

			2 <cr> 2 <cr> <esc> <esc>

This will *silently* cause FDISK to change the boot partition.  I created our
batch file by typing 2 ALT-013 2 ALT-013 ALT-027 ALT-027 at PC-WRITE (a great
shareware screen editor).

++Brandon
-- 
``for is he not of the Children of Luthien?  Never shall that line fail, though
the years may lengthen beyond count.''  --J. R. R. Tolkien

 /-----------//***/  Brandon S. Allbery: cbatt!cwruecmp!ncoast!tdi2!brandon
/---  ------//***/   Tridelta Industries, Inc.
  /  //---, /---/    7350 Corporate Blvd.	+1 216 255 1080
 /--//---~ /---/     Mentor, Ohio 44060		HOME: +1 216 974 9210
Technical Details
Message-ID: <118@tdi2.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!ames!ucbcad!ucbvax!decvax!bellcore!clyde!cbatt!cwruecmp!hal!ncoast!tdi2!brandon
References: <2255@sdcsvax.UCSD.EDU>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!ames!ucbcad!ucbvax!decvax!bellcore!clyde!cbatt!cwruecmp!hal!ncoast!tdi2!brandon
From: brandon@tdi2.UUCP (Brandon Allbery)
Newsgroups: comp.sys.ibm.pc
Subject: Switching between Xenix and DOS
Message-ID: <118@tdi2.UUCP>
Date: Sat, 29-Nov-86 22:30:46 EST
Article-I.D.: tdi2.118
Posted: Sat Nov 29 22:30:46 1986
Date-Received: Mon, 1-Dec-86 19:54:23 EST
References: <2255@sdcsvax.UCSD.EDU>
Reply-To: brandon@tdi2.UUCP (Brandon Allbery)
Followup-To: comp.sys.ibm.pc
Organization: Tridelta Industries, Inc., Mentor, OH
Lines: 35