[comp.sys.ibm.pc] Booting xenix/microport unix from drives other than C:

spf@bonnie.ATT.COM (11/11/86)

I also use a DOS boot floppy. But its AUTOEXEC.BAT should point
to drive C:, not D:, since DOS will look at what YOU call drive C:,
decide there's no DOS partition, then look at the next drive (which
YOU call drive D:), and call it C:.  Got it?  The bottom line is that
DOS doesn't acknowledge (or assign letters to) drives which lack
DOS partitions.  So it ignores the drive with XENIX on it, and
labels the NEXT one C:.

Steve
***
My songs are merely dreams visiting my mind.
		-- Donovan

howardl@tekline.UUCP (Howard D. Leadmon) (11/11/86)

   Hello,
 What you say about creating a small partition on the C: drive with one
exception. What happens when you turn on the machine ?? It certainly
can't boot both OS's at the same time (can it). If you look at it logically
it makes sense that only one OS can have the boot tracks (track 0) on the
drive. Also IBM-XENIX (I believe this goes for the others as well) must 
have control of the boot blocks on drive C:, there for you can not install
the DOS boot tracks as well. I have set up several systems in which both
DOS and XENIX reside on drive C:, and there is no problem with that, all
you have to do is boot from a floppy when you want to use the dos partition
of the drive.

  Example:
 
c:
c:\
autoexec.bat


 If you put this in your autoexec on the DOS floppy, this will automatically
change to the DOS partition on the C: drive, and run the autoexec.bat file
that is on that drive. Be sure to install where you are keeping to OS 
commands on the C: drive in the autoexec.bat file (ie: C:\DOS). I hope this
helps clear up this issue...



-- 
					Sincearley,
					Howard D. Leadmon
					Fast Computer Services
					PATH: ..cp1!tekline!howardl

ben@catnip.UUCP (Bennett Broder) (11/13/86)

In article <134@tekline.UUCP> howardl@tekline.UUCP (Howard D. Leadmon) writes:
>In article <69@reality1.UUCP>, james@reality1.UUCP (james) writes:
>> Is it possible to boot Xenix or Microport's unix from a second hard disk? 
>> Is there a way of doing this by running a boot program under DOS, or
>> booting the computer from a floppy disk (which then boots xenix/unix from D:)?
>> -- 
>> James R. Van Artsdalen    ...!ut-ngp!utastro!osi3b2!james  
>
>  There may be a way to do this with XENIX, but I don't think so (I wouldn't
>bet any money on it). What I have done for my customers that want to run both
>(MS)PC/DOS is to set the machine up so that it boots XENIX as the default, then
>I make a floppy that they can put in drive A: when they want to boot DOS. Below
>is an example of what I would do.
>
>	1.  First load XENIX (UNIX) on drive C:
>	2.  Format and load DOS on drive D:
>	3.  Format a floppy disk with system and install the following 
>  	    AUTOEXEC.BAT file on the floppy disk (ie: DOS commands will be
>            located in D:\DOS)


Another solution, if you don't care for floppies, is to put a tiny little
DOS partition on drive 0 (C:)(The Xenix drive).  Make Xenix the active
partition.  Then, to boot Xenix, just power up as usual.  To run Dos, type
'dos' at the Xenix boot prompt. (A feature of 2.1.3 Xenix from SCO, I am
not sure whether IBM Xenix has it).  The little partition should have an
autoexec that switches to the main Dos drive (D:).


-- 

Ben Broder
{ihnp4,decvax} !hjuxa!catnip!ben
{houxm,topaz}/

dan@prairie.UUCP (Daniel M. Frank) (11/15/86)

   The info-ibmpc archive has a program which, run from DOS, installs
a new boot block on your hard disk that selects which operating system
you want to boot based on your typing D for DOS, or X for Xenix.  Very
useful.

-- 
    Dan Frank
    uucp: ... uwvax!prairie!dan
    arpa: dan%caseus@spool.wisc.edu

tmangan@infinet.UUCP (Tim Mangan) (11/18/86)

In article <136@tekline.UUCP> howardl@tekline.UUCP (Howard D. Leadmon) writes:
>exception. What happens when you turn on the machine ?? It certainly
>can't boot both OS's at the same time (can it). If you look at it logically
>it makes sense that only one OS can have the boot tracks (track 0) on the
>drive. Also IBM-XENIX (I believe this goes for the others as well) must 
>have control of the boot blocks on drive C:, there for you can not install
>the DOS boot tracks as well. I have set up several systems in which both
>DOS and XENIX reside on drive C:, and there is no problem with that, all
>you have to do is boot from a floppy when you want to use the dos partition
>of the drive.

Yes, you can do that.  However, perhaps you can do something without the
floppy.  We have put QNX on one C: partition and DOS on another C: partition.
Then we use the 'fdisk' utility (which fortunetly lives on both OS's) to select
the partition to use for booting.  

Granted, I know nothing of XENIX, or why this works for that matter...
-- 
--------------------------------------------------------------------------------
FROM:    Timothy R. Mangan                     Warning: Bugs are multiplying!
PHONE:   1-617-681-0600                                 Bugs are multiplying!
UUCP:    decvax!wanginst!infinet!tmangan                Call a cop!
--------------------------------------------------------------------------------